forked from tensorflow/tfjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cloudbuild.yml
41 lines (35 loc) · 937 Bytes
/
cloudbuild.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
steps:
# Install common dependencies.
- name: 'gcr.io/learnjs-174218/release'
entrypoint: 'yarn'
id: 'yarn-common'
args: ['install']
# Install tfjs-converter dependencies.
- name: 'gcr.io/learnjs-174218/release'
dir: 'tfjs-converter'
entrypoint: 'yarn'
id: 'yarn'
args: ['install']
waitFor: ['yarn-common']
# Create python pips
- name: 'gcr.io/learnjs-174218/release'
id: 'create-pips'
entrypoint: 'bash'
args:
- './tfjs-converter/scripts/create_python_pips.sh'
waitFor: ['yarn-common']
# Run python tests.
- name: 'gcr.io/learnjs-174218/release'
dir: 'tfjs-converter/python'
entrypoint: 'bash'
id: 'test-python-pip'
args: ['./build-pip-package.sh', '--test', '/tmp/tfjs-pips']
waitFor: ['create-pips']
timeout: 1800s
logsBucket: 'gs://tfjs-build-logs'
substitutions:
_NIGHTLY: ''
options:
logStreamingOption: 'STREAM_ON'
substitution_option: 'ALLOW_LOOSE'
machineType: 'N1_HIGHCPU_8'