Skip to content

Commit 68f0434

Browse files
authored
ci(gcb): fix missing trigger type in some builds (#6275)
Also fix the `trigger.sh` script that was generating these files w/o the `_TRIGGER_TYPE` set correctly.
1 parent 001b996 commit 68f0434

15 files changed

+16
-0
lines changed

ci/cloudbuild/trigger.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ name: ${name}-ci
5555
substitutions:
5656
_BUILD_NAME: ${name}
5757
_DISTRO: fedora
58+
_TRIGGER_TYPE: ci
5859
tags:
5960
- ci
6061
EOF
@@ -74,6 +75,7 @@ name: ${name}-pr
7475
substitutions:
7576
_BUILD_NAME: ${name}
7677
_DISTRO: fedora
78+
_TRIGGER_TYPE: pr
7779
tags:
7880
- pr
7981
EOF

ci/cloudbuild/triggers/coverage-ci.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ name: coverage-ci
88
substitutions:
99
_BUILD_NAME: coverage
1010
_DISTRO: fedora
11+
_TRIGGER_TYPE: ci
1112
tags:
1213
- ci

ci/cloudbuild/triggers/coverage-pr.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ name: coverage-pr
99
substitutions:
1010
_BUILD_NAME: coverage
1111
_DISTRO: fedora
12+
_TRIGGER_TYPE: pr
1213
tags:
1314
- pr

ci/cloudbuild/triggers/cxx17-ci.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ name: cxx17-ci
88
substitutions:
99
_BUILD_NAME: cxx17
1010
_DISTRO: fedora
11+
_TRIGGER_TYPE: ci
1112
tags:
1213
- ci

ci/cloudbuild/triggers/cxx17-pr.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ name: cxx17-pr
99
substitutions:
1010
_BUILD_NAME: cxx17
1111
_DISTRO: fedora
12+
_TRIGGER_TYPE: pr
1213
tags:
1314
- pr

ci/cloudbuild/triggers/gcs-grpc-ci.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ name: gcs-grpc-ci
88
substitutions:
99
_BUILD_NAME: gcs-grpc
1010
_DISTRO: fedora
11+
_TRIGGER_TYPE: ci
1112
tags:
1213
- ci

ci/cloudbuild/triggers/gcs-grpc-pr.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ name: gcs-grpc-pr
99
substitutions:
1010
_BUILD_NAME: gcs-grpc
1111
_DISTRO: fedora
12+
_TRIGGER_TYPE: pr
1213
tags:
1314
- pr

ci/cloudbuild/triggers/libcxx-ci.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ name: libcxx-ci
88
substitutions:
99
_BUILD_NAME: libcxx
1010
_DISTRO: fedora
11+
_TRIGGER_TYPE: ci
1112
tags:
1213
- ci

ci/cloudbuild/triggers/libcxx-pr.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ name: libcxx-pr
99
substitutions:
1010
_BUILD_NAME: libcxx
1111
_DISTRO: fedora
12+
_TRIGGER_TYPE: pr
1213
tags:
1314
- pr

ci/cloudbuild/triggers/msan-ci.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ name: msan-ci
88
substitutions:
99
_BUILD_NAME: msan
1010
_DISTRO: fedora-msan
11+
_TRIGGER_TYPE: ci
1112
tags:
1213
- ci

0 commit comments

Comments
 (0)