From afc8a1a5250bc7fd028ef12f1c3b04eaf97194a2 Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Wed, 5 Oct 2022 13:30:01 -0400 Subject: [PATCH 1/2] Fix indent on cloudbuild to consider input as a single argument --- integrations/cloudbuild/smoke-test.yaml | 98 ++++++++++++------------- 1 file changed, 49 insertions(+), 49 deletions(-) diff --git a/integrations/cloudbuild/smoke-test.yaml b/integrations/cloudbuild/smoke-test.yaml index dd35d911e03997..871219bef32548 100644 --- a/integrations/cloudbuild/smoke-test.yaml +++ b/integrations/cloudbuild/smoke-test.yaml @@ -1,11 +1,11 @@ steps: - name: "connectedhomeip/chip-build-vscode:0.6.02" - entrypoint: 'bash' + entrypoint: "bash" args: - - '-c' + - "-c" - | - git config --global --add safe.directory "*" - git submodule update --init --recursive + git config --global --add safe.directory "*" + git submodule update --init --recursive id: Submodules - name: "connectedhomeip/chip-build-vscode:0.6.02" env: @@ -29,13 +29,13 @@ steps: args: - >- ./scripts/build/build_examples.py - --enable-flashbundle - --target esp32-m5stack-all-clusters-ipv6only - --target esp32-m5stack-all-clusters-minimal-rpc-ipv6only - --target esp32-m5stack-all-clusters-rpc - --target esp32-m5stack-ota-requestor - build - --create-archives /workspace/artifacts/ + --enable-flashbundle + --target esp32-m5stack-all-clusters-ipv6only + --target esp32-m5stack-all-clusters-minimal-rpc-ipv6only + --target esp32-m5stack-all-clusters-rpc + --target esp32-m5stack-ota-requestor + build + --create-archives /workspace/artifacts/ waitFor: - Bootstrap entrypoint: ./scripts/run_in_build_env.sh @@ -84,44 +84,44 @@ steps: args: - >- ./scripts/build/build_examples.py - --enable-flashbundle - --target linux-arm64-clang-all-clusters - --target linux-arm64-clang-all-clusters-app-nodeps-ipv6only - --target linux-arm64-clang-all-clusters-minimal-ipv6only - --target linux-arm64-clang-bridge-ipv6only - --target linux-arm64-clang-chip-tool-ipv6only - --target linux-arm64-clang-chip-tool-nodeps-ipv6only - --target linux-arm64-clang-dynamic-bridge-ipv6only - --target linux-arm64-clang-light-rpc-ipv6only - --target linux-arm64-clang-lock-ipv6only - --target linux-arm64-clang-minmdns - --target linux-arm64-clang-ota-provider-nodeps-ipv6only - --target linux-arm64-clang-ota-requestor-nodeps-ipv6only - --target linux-arm64-clang-python-bindings - --target linux-arm64-clang-shell-ipv6only - --target linux-arm64-clang-thermostat-ipv6only - --target linux-arm64-clang-tv-app-ipv6only - --target linux-arm64-clang-tv-casting-app-ipv6only - --target linux-x64-address-resolve-tool - --target linux-x64-all-clusters-app-nodeps-ipv6only - --target linux-x64-all-clusters-coverage - --target linux-x64-bridge-ipv6only - --target linux-x64-chip-cert - --target linux-x64-chip-tool-ipv6only - --target linux-x64-dynamic-bridge-ipv6only - --target linux-x64-light-rpc-ipv6only - --target linux-x64-lock-ipv6only - --target linux-x64-minmdns-ipv6only - --target linux-x64-ota-provider-ipv6only - --target linux-x64-ota-requestor-ipv6only - --target linux-x64-python-bindings - --target linux-x64-rpc-console - --target linux-x64-shell-ipv6only - --target linux-x64-thermostat-ipv6only - --target linux-x64-tv-app-ipv6only - --target linux-x64-tv-casting-app-ipv6only - build - --create-archives /workspace/artifacts/ + --enable-flashbundle + --target linux-arm64-clang-all-clusters + --target linux-arm64-clang-all-clusters-app-nodeps-ipv6only + --target linux-arm64-clang-all-clusters-minimal-ipv6only + --target linux-arm64-clang-bridge-ipv6only + --target linux-arm64-clang-chip-tool-ipv6only + --target linux-arm64-clang-chip-tool-nodeps-ipv6only + --target linux-arm64-clang-dynamic-bridge-ipv6only + --target linux-arm64-clang-light-rpc-ipv6only + --target linux-arm64-clang-lock-ipv6only + --target linux-arm64-clang-minmdns + --target linux-arm64-clang-ota-provider-nodeps-ipv6only + --target linux-arm64-clang-ota-requestor-nodeps-ipv6only + --target linux-arm64-clang-python-bindings + --target linux-arm64-clang-shell-ipv6only + --target linux-arm64-clang-thermostat-ipv6only + --target linux-arm64-clang-tv-app-ipv6only + --target linux-arm64-clang-tv-casting-app-ipv6only + --target linux-x64-address-resolve-tool + --target linux-x64-all-clusters-app-nodeps-ipv6only + --target linux-x64-all-clusters-coverage + --target linux-x64-bridge-ipv6only + --target linux-x64-chip-cert + --target linux-x64-chip-tool-ipv6only + --target linux-x64-dynamic-bridge-ipv6only + --target linux-x64-light-rpc-ipv6only + --target linux-x64-lock-ipv6only + --target linux-x64-minmdns-ipv6only + --target linux-x64-ota-provider-ipv6only + --target linux-x64-ota-requestor-ipv6only + --target linux-x64-python-bindings + --target linux-x64-rpc-console + --target linux-x64-shell-ipv6only + --target linux-x64-thermostat-ipv6only + --target linux-x64-tv-app-ipv6only + --target linux-x64-tv-casting-app-ipv6only + build + --create-archives /workspace/artifacts/ waitFor: - Bootstrap - EFR32 From 70bc700bdb703a72c25234b21e8b2eb214bde070 Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Wed, 5 Oct 2022 13:31:33 -0400 Subject: [PATCH 2/2] Restyle --- integrations/cloudbuild/smoke-test.yaml | 84 +++++++++++-------------- 1 file changed, 37 insertions(+), 47 deletions(-) diff --git a/integrations/cloudbuild/smoke-test.yaml b/integrations/cloudbuild/smoke-test.yaml index 871219bef32548..b6e1d7497387da 100644 --- a/integrations/cloudbuild/smoke-test.yaml +++ b/integrations/cloudbuild/smoke-test.yaml @@ -28,14 +28,12 @@ steps: - PW_ENVIRONMENT_ROOT=/pwenv args: - >- - ./scripts/build/build_examples.py - --enable-flashbundle - --target esp32-m5stack-all-clusters-ipv6only - --target esp32-m5stack-all-clusters-minimal-rpc-ipv6only - --target esp32-m5stack-all-clusters-rpc - --target esp32-m5stack-ota-requestor - build - --create-archives /workspace/artifacts/ + ./scripts/build/build_examples.py --enable-flashbundle --target + esp32-m5stack-all-clusters-ipv6only --target + esp32-m5stack-all-clusters-minimal-rpc-ipv6only --target + esp32-m5stack-all-clusters-rpc --target + esp32-m5stack-ota-requestor build --create-archives + /workspace/artifacts/ waitFor: - Bootstrap entrypoint: ./scripts/run_in_build_env.sh @@ -83,45 +81,37 @@ steps: - PW_ENVIRONMENT_ROOT=/pwenv args: - >- - ./scripts/build/build_examples.py - --enable-flashbundle - --target linux-arm64-clang-all-clusters - --target linux-arm64-clang-all-clusters-app-nodeps-ipv6only - --target linux-arm64-clang-all-clusters-minimal-ipv6only - --target linux-arm64-clang-bridge-ipv6only - --target linux-arm64-clang-chip-tool-ipv6only - --target linux-arm64-clang-chip-tool-nodeps-ipv6only - --target linux-arm64-clang-dynamic-bridge-ipv6only - --target linux-arm64-clang-light-rpc-ipv6only - --target linux-arm64-clang-lock-ipv6only - --target linux-arm64-clang-minmdns - --target linux-arm64-clang-ota-provider-nodeps-ipv6only - --target linux-arm64-clang-ota-requestor-nodeps-ipv6only - --target linux-arm64-clang-python-bindings - --target linux-arm64-clang-shell-ipv6only - --target linux-arm64-clang-thermostat-ipv6only - --target linux-arm64-clang-tv-app-ipv6only - --target linux-arm64-clang-tv-casting-app-ipv6only - --target linux-x64-address-resolve-tool - --target linux-x64-all-clusters-app-nodeps-ipv6only - --target linux-x64-all-clusters-coverage - --target linux-x64-bridge-ipv6only - --target linux-x64-chip-cert - --target linux-x64-chip-tool-ipv6only - --target linux-x64-dynamic-bridge-ipv6only - --target linux-x64-light-rpc-ipv6only - --target linux-x64-lock-ipv6only - --target linux-x64-minmdns-ipv6only - --target linux-x64-ota-provider-ipv6only - --target linux-x64-ota-requestor-ipv6only - --target linux-x64-python-bindings - --target linux-x64-rpc-console - --target linux-x64-shell-ipv6only - --target linux-x64-thermostat-ipv6only - --target linux-x64-tv-app-ipv6only - --target linux-x64-tv-casting-app-ipv6only - build - --create-archives /workspace/artifacts/ + ./scripts/build/build_examples.py --enable-flashbundle --target + linux-arm64-clang-all-clusters --target + linux-arm64-clang-all-clusters-app-nodeps-ipv6only --target + linux-arm64-clang-all-clusters-minimal-ipv6only --target + linux-arm64-clang-bridge-ipv6only --target + linux-arm64-clang-chip-tool-ipv6only --target + linux-arm64-clang-chip-tool-nodeps-ipv6only --target + linux-arm64-clang-dynamic-bridge-ipv6only --target + linux-arm64-clang-light-rpc-ipv6only --target + linux-arm64-clang-lock-ipv6only --target linux-arm64-clang-minmdns + --target linux-arm64-clang-ota-provider-nodeps-ipv6only --target + linux-arm64-clang-ota-requestor-nodeps-ipv6only --target + linux-arm64-clang-python-bindings --target + linux-arm64-clang-shell-ipv6only --target + linux-arm64-clang-thermostat-ipv6only --target + linux-arm64-clang-tv-app-ipv6only --target + linux-arm64-clang-tv-casting-app-ipv6only --target + linux-x64-address-resolve-tool --target + linux-x64-all-clusters-app-nodeps-ipv6only --target + linux-x64-all-clusters-coverage --target linux-x64-bridge-ipv6only + --target linux-x64-chip-cert --target linux-x64-chip-tool-ipv6only + --target linux-x64-dynamic-bridge-ipv6only --target + linux-x64-light-rpc-ipv6only --target linux-x64-lock-ipv6only + --target linux-x64-minmdns-ipv6only --target + linux-x64-ota-provider-ipv6only --target + linux-x64-ota-requestor-ipv6only --target + linux-x64-python-bindings --target linux-x64-rpc-console --target + linux-x64-shell-ipv6only --target linux-x64-thermostat-ipv6only + --target linux-x64-tv-app-ipv6only --target + linux-x64-tv-casting-app-ipv6only build --create-archives + /workspace/artifacts/ waitFor: - Bootstrap - EFR32