Skip to content

Commit 73f9031

Browse files
authored
ci: update CI and some tests to enable this branch to work with current services (#15028)
* ci: update CI and some tests to enable this branch to work with current services * delete builds for obsolete OS versions
1 parent c426415 commit 73f9031

File tree

112 files changed

+43
-387
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+43
-387
lines changed

ci/cloudbuild/convert-to-branch-triggers.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@ function convert_triggers() {
4141
for file in "$@"; do
4242
sed -i \
4343
-e "s/^name: /name: ${name_prefix}-/" \
44-
-e "s/branch: .*/branch: ${branch}/" "${file}"
44+
-e "s/branch: .*/branch: ${branch}/" "${file}" \
45+
-e "/^createTime: /d" \
46+
-e "/^id: /d" \
47+
-e "/^resourceName: /d"
4548
done
4649
}
4750
export -f convert_triggers
@@ -98,5 +101,7 @@ if [[ -z "${BRANCH}" ]]; then
98101
BRANCH="$(parent)"
99102
fi
100103

104+
# We want to pass the string as-is, not expand the variables therein.
105+
# shellcheck disable=SC2016
101106
git ls-files -z -- ci/cloudbuild/triggers/*.yaml |
102-
xargs -P "$(nproc)" -n 10 -0 bash -c "convert_triggers \"${BRANCH}\" \"\$@\""
107+
xargs -P "$(nproc)" -n 10 -0 bash -c 'convert_triggers "${BRANCH}" "$@"' _

ci/cloudbuild/triggers/asan-ci.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
1-
createTime: '2021-03-22T00:38:08.167137222Z'
21
filename: ci/cloudbuild/cloudbuild.yaml
32
github:
43
name: google-cloud-cpp
54
owner: googleapis
65
push:
7-
branch: ^main$
8-
id: a803727d-8633-49ea-b545-bd7f9124bc3d
6+
branch: v2.22.x
97
includeBuildLogs: INCLUDE_BUILD_LOGS_WITH_STATUS
10-
name: asan-ci
11-
resourceName: projects/cloud-cpp-testing-resources/locations/global/triggers/a803727d-8633-49ea-b545-bd7f9124bc3d
8+
name: v2-22-x-asan-ci
129
substitutions:
1310
_BUILD_NAME: asan
1411
_DISTRO: fedora-latest-bazel

ci/cloudbuild/triggers/asan-pr.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
1-
createTime: '2021-04-09T18:15:26.533760362Z'
21
filename: ci/cloudbuild/cloudbuild.yaml
32
github:
43
name: google-cloud-cpp
54
owner: googleapis
65
pullRequest:
76
branch: v2.22.x
87
commentControl: COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY
9-
id: 45fd50c2-04f1-4674-b533-0db1346c8b7e
108
includeBuildLogs: INCLUDE_BUILD_LOGS_WITH_STATUS
119
name: v2-22-x-asan-pr
12-
resourceName: projects/cloud-cpp-testing-resources/locations/global/triggers/45fd50c2-04f1-4674-b533-0db1346c8b7e
1310
substitutions:
1411
_BUILD_NAME: asan
1512
_DISTRO: fedora-latest-bazel

ci/cloudbuild/triggers/bazel-oldest-ci.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
1-
createTime: '2022-02-08T12:44:34.878690706Z'
21
filename: ci/cloudbuild/cloudbuild.yaml
32
github:
43
name: google-cloud-cpp
54
owner: googleapis
65
push:
76
branch: v2.22.x
8-
id: 3a7690ee-a385-4e86-835e-990a64eb71d7
97
includeBuildLogs: INCLUDE_BUILD_LOGS_WITH_STATUS
108
name: v2-22-x-bazel-oldest-ci
11-
resourceName: projects/cloud-cpp-testing-resources/locations/global/triggers/3a7690ee-a385-4e86-835e-990a64eb71d7
129
substitutions:
1310
_BUILD_NAME: bazel-oldest
1411
_DISTRO: fedora-latest-bazel

ci/cloudbuild/triggers/bazel-oldest-pr.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
1-
createTime: '2022-02-08T12:44:28.719440875Z'
21
filename: ci/cloudbuild/cloudbuild.yaml
32
github:
43
name: google-cloud-cpp
54
owner: googleapis
65
pullRequest:
76
branch: v2.22.x
87
commentControl: COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY
9-
id: 914bc7a4-afa2-4faf-8a0e-571218e8fd83
108
includeBuildLogs: INCLUDE_BUILD_LOGS_WITH_STATUS
119
name: v2-22-x-bazel-oldest-pr
12-
resourceName: projects/cloud-cpp-testing-resources/locations/global/triggers/914bc7a4-afa2-4faf-8a0e-571218e8fd83
1310
substitutions:
1411
_BUILD_NAME: bazel-oldest
1512
_DISTRO: fedora-latest-bazel

ci/cloudbuild/triggers/bazel-otel-abi-2-ci.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@ github:
55
pullRequest:
66
branch: v2.22.x
77
commentControl: COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY
8-
id: abfbaa6f-e1a0-4298-af45-78f9dc1a9831
98
includeBuildLogs: INCLUDE_BUILD_LOGS_WITH_STATUS
109
name: v2-22-x-bazel-otel-abi-2-ci
11-
resourceName: projects/cloud-cpp-testing-resources/locations/global/triggers/abfbaa6f-e1a0-4298-af45-78f9dc1a9831
1210
substitutions:
1311
_BUILD_NAME: bazel-otel-abi-2
1412
_DISTRO: fedora-latest-bazel

ci/cloudbuild/triggers/bazel-otel-abi-2-pr.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@ github:
55
pullRequest:
66
branch: v2.22.x
77
commentControl: COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY
8-
id: 18b11d89-0625-40ba-897a-ac10462d1c7b
98
includeBuildLogs: INCLUDE_BUILD_LOGS_WITH_STATUS
109
name: v2-22-x-bazel-otel-abi-2-pr
11-
resourceName: projects/cloud-cpp-testing-resources/locations/global/triggers/18b11d89-0625-40ba-897a-ac10462d1c7b
1210
substitutions:
1311
_BUILD_NAME: bazel-otel-abi-2
1412
_DISTRO: fedora-latest-bazel

ci/cloudbuild/triggers/bazel-targets-ci.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
1-
createTime: '2021-04-26T16:37:27.818296611Z'
21
filename: ci/cloudbuild/cloudbuild.yaml
32
github:
43
name: google-cloud-cpp
54
owner: googleapis
65
push:
76
branch: v2.22.x
8-
id: 1f63c286-589b-41cf-aee0-dd0e3cb6861c
97
includeBuildLogs: INCLUDE_BUILD_LOGS_WITH_STATUS
108
name: v2-22-x-bazel-targets-ci
11-
resourceName: projects/cloud-cpp-testing-resources/locations/global/triggers/1f63c286-589b-41cf-aee0-dd0e3cb6861c
129
substitutions:
1310
_BUILD_NAME: bazel-targets
1411
_DISTRO: fedora-latest-bazel

ci/cloudbuild/triggers/bazel-targets-pr.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
1-
createTime: '2021-04-26T16:37:32.709851004Z'
21
filename: ci/cloudbuild/cloudbuild.yaml
32
github:
43
name: google-cloud-cpp
54
owner: googleapis
65
pullRequest:
76
branch: v2.22.x
87
commentControl: COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY
9-
id: 95e11a96-2138-4d65-8598-25308f1cf5f8
108
includeBuildLogs: INCLUDE_BUILD_LOGS_WITH_STATUS
119
name: v2-22-x-bazel-targets-pr
12-
resourceName: projects/cloud-cpp-testing-resources/locations/global/triggers/95e11a96-2138-4d65-8598-25308f1cf5f8
1310
substitutions:
1411
_BUILD_NAME: bazel-targets
1512
_DISTRO: fedora-latest-bazel

ci/cloudbuild/triggers/check-api-ci.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
1-
createTime: '2021-04-30T13:51:14.389552861Z'
21
filename: ci/cloudbuild/cloudbuild.yaml
32
github:
43
name: google-cloud-cpp
54
owner: googleapis
65
push:
76
branch: v2.22.x
8-
id: 83b375fa-9209-4691-8dcc-a28f7a19dcf2
97
includeBuildLogs: INCLUDE_BUILD_LOGS_WITH_STATUS
108
name: v2-22-x-check-api-ci
11-
resourceName: projects/cloud-cpp-testing-resources/locations/global/triggers/83b375fa-9209-4691-8dcc-a28f7a19dcf2
129
substitutions:
1310
_BUILD_NAME: check-api
1411
_DISTRO: fedora-latest-cmake

0 commit comments

Comments
 (0)