forked from project-chip/connectedhomeip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchef.yaml
67 lines (61 loc) · 1.9 KB
/
chef.yaml
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
steps:
- name: "connectedhomeip/chip-build-vscode:0.6.51"
env:
- PW_ENVIRONMENT_ROOT=/pwenv
args:
- "-c"
- source ./scripts/bootstrap.sh
id: Bootstrap
entrypoint: /usr/bin/bash
volumes:
- name: pwenv
path: /pwenv
timeout: 2700s
- name: "connectedhomeip/chip-build-vscode:0.6.51"
env:
- PW_ENVIRONMENT_ROOT=/pwenv
args:
- ./examples/chef/chef.py --build_all --keep_going --build_exclude
noip
id: CompileAll
waitFor:
- Bootstrap
entrypoint: ./scripts/run_in_build_env.sh
volumes:
- name: pwenv
path: /pwenv
- name: "connectedhomeip/chip-build-vscode:0.6.51"
env:
- PW_ENVIRONMENT_ROOT=/pwenv
args:
- ./examples/chef/chef.py --build_all --keep_going --build_include
linux_arm64_ipv6only.*noip
id: CompileNoip
waitFor:
- CompileAll
entrypoint: ./scripts/run_in_build_env.sh
volumes:
- name: pwenv
path: /pwenv
- name: "gcr.io/cloud-builders/docker"
args:
['/workspace/examples/chef/create_docker.py', '--commit_sha', '$COMMIT_SHA' ,'--short_sha', '$SHORT_SHA',
'--revision_id', '$REVISION_ID', '--build_id', '$BUILD_ID', '--image_name', '$_DOCKER_IMAGE_NAME',
'--tar_path', '/workspace/artifacts']
id: DockerAll
entrypoint: python3
waitFor:
- CompileNoip
logsBucket: matter-build-automation-build-logs
# Global timeout for all steps
timeout: 18000s
queueTtl: 21600s
artifacts:
objects:
location: "gs://matter-build-automation-artifacts/$PROJECT_ID/$COMMIT_SHA/"
paths: ["/workspace/artifacts/*.tar.gz"]
# Using higher CPU machines generally speeds up builds, except bootstrap is always
# slow.
options:
machineType: "E2_HIGHCPU_32"
diskSizeGb: 500