Skip to content

Commit f005ae5

Browse files
committed
Make chef cloudbuild checkout submodules before building
1 parent 931e280 commit f005ae5

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

integrations/cloudbuild/chef.yaml

+14-3
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,28 @@
11
steps:
22
- name: "ghcr.io/project-chip/chip-build-vscode:41"
3+
entrypoint: "bash"
4+
args:
5+
- "-c"
6+
- |
7+
git config --global --add safe.directory "*"
8+
python scripts/checkout_submodules.py --shallow --recursive --platform esp32 nrfconnect silabs linux android
9+
id: Submodules
10+
- name: "ghcr.io/project-chip/chip-build-vscode:41"
11+
# NOTE: silabs boostrap is NOT done with the rest as it requests a conflicting
12+
# jinja2 version (asks for 3.1.3 when constraints.txt asks for 3.0.3)
313
env:
414
- PW_ENVIRONMENT_ROOT=/pwenv
515
args:
616
- "-c"
7-
- source ./scripts/bootstrap.sh
17+
- source ./scripts/bootstrap.sh -p all,esp32,nrfconnect,linux,android
818
id: Bootstrap
19+
waitFor:
20+
- Submodules
921
entrypoint: /usr/bin/bash
1022
volumes:
1123
- name: pwenv
1224
path: /pwenv
13-
timeout: 2700s
14-
25+
timeout: 900s
1526
- name: "ghcr.io/project-chip/chip-build-vscode:41"
1627
env:
1728
- PW_ENVIRONMENT_ROOT=/pwenv

0 commit comments

Comments
 (0)