From 8c5fb2820c4129e6aa35276efa02ab87c2054dad Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Thu, 18 Aug 2022 14:37:38 -0400 Subject: [PATCH 1/2] Add a recursive submodule checkout for cloudbuild builds --- integrations/cloudbuild/build-all.yaml | 9 +++++++++ integrations/cloudbuild/smoke-test.yaml | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/integrations/cloudbuild/build-all.yaml b/integrations/cloudbuild/build-all.yaml index 3326bb4ac1ce16..ea0268ade7a0d9 100644 --- a/integrations/cloudbuild/build-all.yaml +++ b/integrations/cloudbuild/build-all.yaml @@ -1,4 +1,11 @@ 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 @@ -6,6 +13,8 @@ steps: - "-c" - source ./scripts/bootstrap.sh id: Bootstrap + waitFor: + - Submodules entrypoint: /usr/bin/bash volumes: - name: pwenv diff --git a/integrations/cloudbuild/smoke-test.yaml b/integrations/cloudbuild/smoke-test.yaml index 72dc9aa5678706..fda08b5c3b1f39 100644 --- a/integrations/cloudbuild/smoke-test.yaml +++ b/integrations/cloudbuild/smoke-test.yaml @@ -1,4 +1,11 @@ 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 @@ -6,6 +13,8 @@ steps: - "-c" - source ./scripts/bootstrap.sh id: Bootstrap + waitFor: + - Submodules entrypoint: /usr/bin/bash volumes: - name: pwenv From e26321452d102b2f5688ef9ee223f6739dff119a Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Thu, 18 Aug 2022 14:42:33 -0400 Subject: [PATCH 2/2] Restyle --- integrations/cloudbuild/build-all.yaml | 8 ++++---- integrations/cloudbuild/smoke-test.yaml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/integrations/cloudbuild/build-all.yaml b/integrations/cloudbuild/build-all.yaml index ea0268ade7a0d9..c8c09ad722319f 100644 --- a/integrations/cloudbuild/build-all.yaml +++ b/integrations/cloudbuild/build-all.yaml @@ -1,10 +1,10 @@ steps: - name: gcr.io/cloud-builders/git args: - - submodule - - update - - '--init' - - '--recursive' + - submodule + - update + - "--init" + - "--recursive" id: Submodules - name: "connectedhomeip/chip-build-vscode:0.5.91" env: diff --git a/integrations/cloudbuild/smoke-test.yaml b/integrations/cloudbuild/smoke-test.yaml index fda08b5c3b1f39..b0333fab36f327 100644 --- a/integrations/cloudbuild/smoke-test.yaml +++ b/integrations/cloudbuild/smoke-test.yaml @@ -1,10 +1,10 @@ steps: - name: gcr.io/cloud-builders/git args: - - submodule - - update - - '--init' - - '--recursive' + - submodule + - update + - "--init" + - "--recursive" id: Submodules - name: "connectedhomeip/chip-build-vscode:0.5.91" env: