Skip to content

Commit 2b3484c

Browse files
authored
Add pose-detection to CI test. (#633)
PROCESS
1 parent f238bd8 commit 2b3484c

File tree

2 files changed

+56
-0
lines changed

2 files changed

+56
-0
lines changed

cloudbuild.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,13 @@ steps:
6363
args: ['./scripts/run-build.sh', 'posenet']
6464
waitFor: ['diff']
6565

66+
# Pose Detection.
67+
- name: 'gcr.io/cloud-builders/gcloud'
68+
entrypoint: 'bash'
69+
id: 'pose-detection'
70+
args: ['./scripts/run-build.sh', 'pose-detection']
71+
waitFor: ['diff']
72+
6673
# Speech commands.
6774
- name: 'gcr.io/cloud-builders/gcloud'
6875
entrypoint: 'bash'

pose-detection/cloudbuild.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
2+
steps:
3+
4+
# Install common dependencies.
5+
- name: 'node:10'
6+
id: 'yarn-common'
7+
entrypoint: 'yarn'
8+
args: ['install']
9+
10+
# Install pose-detection dependencies.
11+
- name: 'node:10'
12+
dir: 'pose-detection'
13+
entrypoint: 'yarn'
14+
id: 'yarn'
15+
args: ['install']
16+
waitFor: ['yarn-common']
17+
18+
# Lint.
19+
- name: 'node:10'
20+
dir: 'pose-detection'
21+
entrypoint: 'yarn'
22+
id: 'lint'
23+
args: ['lint']
24+
waitFor: ['yarn']
25+
26+
# Build.
27+
- name: 'node:10'
28+
dir: 'pose-detection'
29+
entrypoint: 'yarn'
30+
id: 'build'
31+
args: ['build']
32+
waitFor: ['yarn']
33+
34+
# Run tests.
35+
- name: 'node:10'
36+
dir: 'pose-detection'
37+
entrypoint: 'yarn'
38+
id: 'test'
39+
args: ['test']
40+
waitFor: ['yarn']
41+
42+
# General configuration
43+
timeout: 1800s
44+
logsBucket: 'gs://tfjs-build-logs'
45+
substitutions:
46+
_NIGHTLY: ''
47+
options:
48+
logStreamingOption: 'STREAM_ON'
49+
substitution_option: 'ALLOW_LOOSE'

0 commit comments

Comments
 (0)