DeepSpeech/taskcluster/node-package.yml
Alexandre Lissy b4591cd6f5 Switch URLs to commit-based
sed \
  -ri 's/pip\.master\./pip.master.1390dc180e25b5821be80b407ddc5fad73d4ef6a./g' \
  taskcluster/*.yml

Fixes #1177
2018-01-17 16:49:38 +01:00

26 lines
1.3 KiB
YAML

build:
template_file: linux-opt-base.tyml
dependencies:
- "darwin-amd64-cpu-opt"
- "linux-amd64-cpu-opt"
- "linux-rpi3-cpu-opt"
routes:
- "notify.irc-channel.${notifications.irc}.on-exception"
- "notify.irc-channel.${notifications.irc}.on-failed"
system_setup:
>
${nodejs.packages.prep_6} && apt-get -qq update && apt-get -qq -y install nodejs python-yaml &&
apt-get -qq -y install ${python.packages.apt} && ${swig.packages.install_script}
system_config:
>
${swig.patch_nodejs.linux}
tensorflow: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.master.1390dc180e25b5821be80b407ddc5fad73d4ef6a.cpu/artifacts/public/home.tar.xz"
summarize_graph: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.master.1390dc180e25b5821be80b407ddc5fad73d4ef6a.cpu/artifacts/public/summarize_graph"
libtensorflow_framework: "https://index.taskcluster.net/v1/task/project.deepspeech.tensorflow.pip.master.1390dc180e25b5821be80b407ddc5fad73d4ef6a.cpu/artifacts/public/libtensorflow_framework.so"
scripts:
build: "taskcluster/node-build.sh"
package: "taskcluster/node-package.sh"
metadata:
name: "DeepSpeech NodeJS package"
description: "Packaging DeepSpeech for registry"