Skip to content

Commit

Permalink
Add a recursive submodule checkout for cloudbuild builds (#22015)
Browse files Browse the repository at this point in the history
* Add a recursive submodule checkout for cloudbuild builds

* Restyle
  • Loading branch information
andy31415 authored Aug 19, 2022
1 parent 3f69587 commit 67d6821
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 67d6821

Please sign in to comment.