mirror of
https://github.com/gravitational/teleport.git
synced 2026-09-24 16:17:11 +08:00
Add missing quotes in GCB triggers (#11607)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user