Add missing quotes in GCB triggers (#11607)

This commit is contained in:
Edoardo Spadolini
2022-03-31 15:39:44 +00:00
committed by GitHub
parent 373c609b27
commit 809e60c318
2 changed files with 15 additions and 14 deletions
+6 -5
View File
@@ -1,7 +1,8 @@
timeout: 25m
options:
machineType: E2_HIGHCPU_32
# This build needs to run in environments where the _GITHUB_DEPLOY_KEY_SRC
# substitution is defined, but also environments where it isn't. The
# ALLOW_LOOSE option disables GCBs strict checking of substitution usage,
@@ -9,19 +10,19 @@ options:
substitution_option: ALLOW_LOOSE
steps:
# Run the integration tests. Actual content of this job depends on the changes
# Run the integration tests. Actual content of this job depends on the changes
# detected in the PR
- name: quay.io/gravitational/teleport-buildbox:teleport10
id: run-tests
dir: /workspace/.cloudbuild/scripts
entrypoint: bash
args:
args:
- -c
- |
go run ./cmd/integration-tests \
-target "$_BASE_BRANCH" \
-bucket test-logs \
-build $BUILD_ID \
-build "$BUILD_ID" \
-key-secret "$_GITHUB_DEPLOY_KEY_SRC" \
-a "test-logs/*.json"
-a "test-logs/*.json"
timeout: 25m
+9 -9
View File
@@ -1,28 +1,28 @@
timeout: 25m
options:
machineType: 'E2_HIGHCPU_32'
# This build needs to run in environments where the _GITHUB_DEPLOY_KEY_SRC
machineType: E2_HIGHCPU_32
# This build needs to run in environments where the _GITHUB_DEPLOY_KEY_SRC
# substitution is defined, but also environments where it isn't. The
# ALLOW_LOOSE option disables GCBs strict checking of substitution usage,
# so that the build will still run if _GITHUB_DEPLOY_KEY_SRC is not defined.
substitution_option: ALLOW_LOOSE
steps:
# Run the unit tests. Actual content of this job depends on the changes
# Run the unit tests. Actual content of this job depends on the changes
# detected in the PR
- name: quay.io/gravitational/teleport-buildbox:teleport10
id: run-tests
dir: /workspace/.cloudbuild/scripts
entrypoint: bash
args:
entrypoint: bash
args:
- -c
- |
go run ./cmd/unit-tests \
-target $_BASE_BRANCH \
-target "$_BASE_BRANCH" \
-bucket test-logs \
-build $BUILD_ID \
-build "$BUILD_ID" \
-key-secret "$_GITHUB_DEPLOY_KEY_SRC" \
-a "test-logs/*.json"
timeout: 25m