Skip to content

Commit

Permalink
Add a recursive submodule checkout for cloudbuild builds
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed Aug 18, 2022
1 parent 3acafb1 commit 8c5fb28
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions integrations/cloudbuild/build-all.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
steps:
- name: gcr.io/cloud-builders/git
args:
- submodule
- update
- '--init'
- '--recursive'
id: Submodules
- name: "connectedhomeip/chip-build-vscode:0.5.91"
env:
- PW_ENVIRONMENT_ROOT=/pwenv
args:
- "-c"
- source ./scripts/bootstrap.sh
id: Bootstrap
waitFor:
- Submodules
entrypoint: /usr/bin/bash
volumes:
- name: pwenv
Expand Down
9 changes: 9 additions & 0 deletions integrations/cloudbuild/smoke-test.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
steps:
- name: gcr.io/cloud-builders/git
args:
- submodule
- update
- '--init'
- '--recursive'
id: Submodules
- name: "connectedhomeip/chip-build-vscode:0.5.91"
env:
- PW_ENVIRONMENT_ROOT=/pwenv
args:
- "-c"
- source ./scripts/bootstrap.sh
id: Bootstrap
waitFor:
- Submodules
entrypoint: /usr/bin/bash
volumes:
- name: pwenv
Expand Down

0 comments on commit 8c5fb28

Please sign in to comment.