Skip to content

Commit

Permalink
Add a recursive submodule checkout for cloudbuild builds (project-chi…
Browse files Browse the repository at this point in the history
…p#22015)

* Add a recursive submodule checkout for cloudbuild builds

* Restyle
  • Loading branch information
andy31415 authored and isiu-apple committed Sep 16, 2022
1 parent cea27e1 commit e6fb881
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 e6fb881

Please sign in to comment.