-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: introduce docker-aligned filenames for kokoro configs (#10829)
* ci: use docker-aligned filenames for kokoro configs * ci: re-add original configurations for phased rollout * ci: revert required checks until after transition to new configs
- Loading branch information
1 parent
fb3a3c9
commit e46bc03
Showing
48 changed files
with
530 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
# Configure the docker image for kokoro-trampoline. | ||
env_vars: { | ||
key: "TRAMPOLINE_IMAGE" | ||
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.30.0" | ||
} | ||
|
||
env_vars: { | ||
key: "JOB_TYPE" | ||
value: "graalvm" | ||
} | ||
|
||
# TODO: remove this after we've migrated all tests and scripts | ||
env_vars: { | ||
key: "GCLOUD_PROJECT" | ||
value: "cloud-java-ci-test" | ||
} | ||
|
||
env_vars: { | ||
key: "GOOGLE_CLOUD_PROJECT" | ||
value: "cloud-java-ci-test" | ||
} | ||
|
||
env_vars: { | ||
key: "GOOGLE_APPLICATION_CREDENTIALS" | ||
value: "secret_manager/cloud-java-ci-it-service-account" | ||
} | ||
|
||
env_vars: { | ||
key: "SECRET_MANAGER_KEYS" | ||
value: "cloud-java-ci-it-service-account, java-bigqueryconnection-samples-secrets" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
# Configure the docker image for kokoro-trampoline. | ||
env_vars: { | ||
key: "TRAMPOLINE_IMAGE" | ||
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.30.0" | ||
} | ||
|
||
env_vars: { | ||
key: "JOB_TYPE" | ||
value: "graalvm" | ||
} | ||
|
||
# TODO: remove this after we've migrated all tests and scripts | ||
env_vars: { | ||
key: "GCLOUD_PROJECT" | ||
value: "cloud-java-ci-test" | ||
} | ||
|
||
env_vars: { | ||
key: "GOOGLE_CLOUD_PROJECT" | ||
value: "cloud-java-ci-test" | ||
} | ||
|
||
env_vars: { | ||
key: "GOOGLE_APPLICATION_CREDENTIALS" | ||
value: "secret_manager/cloud-java-ci-it-service-account" | ||
} | ||
|
||
env_vars: { | ||
key: "SECRET_MANAGER_KEYS" | ||
value: "cloud-java-ci-it-service-account, java-bigqueryconnection-samples-secrets" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
# Build configs are duplicated in native-a/ and native-b/ | ||
# Build configs don't inherit the hierarchical common.cfg: qaqs/6158654898243108864 | ||
|
||
# Build logs will be here | ||
action { | ||
define_artifacts { | ||
regex: "**/*sponge_log.xml" | ||
regex: "**/*sponge_log.txt" | ||
} | ||
} | ||
|
||
# Download trampoline resources. | ||
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" | ||
|
||
# Use the trampoline script to run in docker. | ||
build_file: "google-cloud-java/.kokoro/trampoline.sh" | ||
|
||
env_vars: { | ||
key: "TRAMPOLINE_BUILD_FILE" | ||
value: "github/google-cloud-java/.kokoro/build.sh" | ||
} | ||
|
||
env_vars: { | ||
key: "JOB_TYPE" | ||
value: "graalvm" | ||
} | ||
|
||
env_vars: { | ||
key: "TRAMPOLINE_IMAGE" | ||
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.30.0" | ||
} | ||
|
||
# TODO: remove this after we've migrated all tests and scripts | ||
env_vars: { | ||
key: "GCLOUD_PROJECT" | ||
value: "cloud-java-ci-test" | ||
} | ||
|
||
env_vars: { | ||
key: "GOOGLE_CLOUD_PROJECT" | ||
value: "cloud-java-ci-test" | ||
} | ||
|
||
env_vars: { | ||
key: "GOOGLE_APPLICATION_CREDENTIALS" | ||
value: "secret_manager/cloud-java-ci-it-service-account" | ||
} | ||
|
||
env_vars: { | ||
key: "SECRET_MANAGER_KEYS" | ||
value: "cloud-java-ci-it-service-account, java-bigqueryconnection-samples-secrets" | ||
} | ||
|
||
env_vars: { | ||
key: "NUM_JOBS" | ||
value: "20" | ||
} | ||
|
||
env_vars: { | ||
key: "TEST_ALL_MODULES" | ||
value: "true" | ||
} | ||
|
||
before_action { | ||
fetch_keystore { | ||
keystore_resource { | ||
keystore_config_id: 73713 | ||
keyname: "dpebot_codecov_token" | ||
} | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
.kokoro/nightly/graalvm-sub-jobs/native-a/graalvm-native-1.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
env_vars: { | ||
key: "JOB_NUMBER" | ||
value: "1" | ||
} |
6 changes: 6 additions & 0 deletions
6
.kokoro/nightly/graalvm-sub-jobs/native-a/graalvm-native-10.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
env_vars: { | ||
key: "JOB_NUMBER" | ||
value: "10" | ||
} |
6 changes: 6 additions & 0 deletions
6
.kokoro/nightly/graalvm-sub-jobs/native-a/graalvm-native-11.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
env_vars: { | ||
key: "JOB_NUMBER" | ||
value: "11" | ||
} |
6 changes: 6 additions & 0 deletions
6
.kokoro/nightly/graalvm-sub-jobs/native-a/graalvm-native-12.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
env_vars: { | ||
key: "JOB_NUMBER" | ||
value: "12" | ||
} |
6 changes: 6 additions & 0 deletions
6
.kokoro/nightly/graalvm-sub-jobs/native-a/graalvm-native-13.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
env_vars: { | ||
key: "JOB_NUMBER" | ||
value: "13" | ||
} |
6 changes: 6 additions & 0 deletions
6
.kokoro/nightly/graalvm-sub-jobs/native-a/graalvm-native-14.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
env_vars: { | ||
key: "JOB_NUMBER" | ||
value: "14" | ||
} |
6 changes: 6 additions & 0 deletions
6
.kokoro/nightly/graalvm-sub-jobs/native-a/graalvm-native-15.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
env_vars: { | ||
key: "JOB_NUMBER" | ||
value: "15" | ||
} |
6 changes: 6 additions & 0 deletions
6
.kokoro/nightly/graalvm-sub-jobs/native-a/graalvm-native-16.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
env_vars: { | ||
key: "JOB_NUMBER" | ||
value: "16" | ||
} |
6 changes: 6 additions & 0 deletions
6
.kokoro/nightly/graalvm-sub-jobs/native-a/graalvm-native-17.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
env_vars: { | ||
key: "JOB_NUMBER" | ||
value: "17" | ||
} |
6 changes: 6 additions & 0 deletions
6
.kokoro/nightly/graalvm-sub-jobs/native-a/graalvm-native-18.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
env_vars: { | ||
key: "JOB_NUMBER" | ||
value: "18" | ||
} |
6 changes: 6 additions & 0 deletions
6
.kokoro/nightly/graalvm-sub-jobs/native-a/graalvm-native-19.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
env_vars: { | ||
key: "JOB_NUMBER" | ||
value: "19" | ||
} |
6 changes: 6 additions & 0 deletions
6
.kokoro/nightly/graalvm-sub-jobs/native-a/graalvm-native-2.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
env_vars: { | ||
key: "JOB_NUMBER" | ||
value: "2" | ||
} |
6 changes: 6 additions & 0 deletions
6
.kokoro/nightly/graalvm-sub-jobs/native-a/graalvm-native-20.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
env_vars: { | ||
key: "JOB_NUMBER" | ||
value: "20" | ||
} |
6 changes: 6 additions & 0 deletions
6
.kokoro/nightly/graalvm-sub-jobs/native-a/graalvm-native-3.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
env_vars: { | ||
key: "JOB_NUMBER" | ||
value: "3" | ||
} |
6 changes: 6 additions & 0 deletions
6
.kokoro/nightly/graalvm-sub-jobs/native-a/graalvm-native-4.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
env_vars: { | ||
key: "JOB_NUMBER" | ||
value: "4" | ||
} |
6 changes: 6 additions & 0 deletions
6
.kokoro/nightly/graalvm-sub-jobs/native-a/graalvm-native-5.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
env_vars: { | ||
key: "JOB_NUMBER" | ||
value: "5" | ||
} |
6 changes: 6 additions & 0 deletions
6
.kokoro/nightly/graalvm-sub-jobs/native-a/graalvm-native-6.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
env_vars: { | ||
key: "JOB_NUMBER" | ||
value: "6" | ||
} |
6 changes: 6 additions & 0 deletions
6
.kokoro/nightly/graalvm-sub-jobs/native-a/graalvm-native-7.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
env_vars: { | ||
key: "JOB_NUMBER" | ||
value: "7" | ||
} |
6 changes: 6 additions & 0 deletions
6
.kokoro/nightly/graalvm-sub-jobs/native-a/graalvm-native-8.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
env_vars: { | ||
key: "JOB_NUMBER" | ||
value: "8" | ||
} |
6 changes: 6 additions & 0 deletions
6
.kokoro/nightly/graalvm-sub-jobs/native-a/graalvm-native-9.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
env_vars: { | ||
key: "JOB_NUMBER" | ||
value: "9" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
# Build configs are duplicated in native-a/ and native-b/ | ||
# Build configs don't inherit the hierarchical common.cfg: qaqs/6158654898243108864 | ||
|
||
# Build logs will be here | ||
action { | ||
define_artifacts { | ||
regex: "**/*sponge_log.xml" | ||
regex: "**/*sponge_log.txt" | ||
} | ||
} | ||
|
||
# Download trampoline resources. | ||
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" | ||
|
||
# Use the trampoline script to run in docker. | ||
build_file: "google-cloud-java/.kokoro/trampoline.sh" | ||
|
||
env_vars: { | ||
key: "TRAMPOLINE_BUILD_FILE" | ||
value: "github/google-cloud-java/.kokoro/build.sh" | ||
} | ||
|
||
env_vars: { | ||
key: "TRAMPOLINE_IMAGE" | ||
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.30.0" | ||
} | ||
|
||
env_vars: { | ||
key: "JOB_TYPE" | ||
value: "graalvm" | ||
} | ||
|
||
# TODO: remove this after we've migrated all tests and scripts | ||
env_vars: { | ||
key: "GCLOUD_PROJECT" | ||
value: "cloud-java-ci-test" | ||
} | ||
|
||
env_vars: { | ||
key: "GOOGLE_CLOUD_PROJECT" | ||
value: "cloud-java-ci-test" | ||
} | ||
|
||
env_vars: { | ||
key: "GOOGLE_APPLICATION_CREDENTIALS" | ||
value: "secret_manager/cloud-java-ci-it-service-account" | ||
} | ||
|
||
env_vars: { | ||
key: "SECRET_MANAGER_KEYS" | ||
value: "cloud-java-ci-it-service-account, java-bigqueryconnection-samples-secrets" | ||
} | ||
|
||
env_vars: { | ||
key: "NUM_JOBS" | ||
value: "20" | ||
} | ||
|
||
env_vars: { | ||
key: "TEST_ALL_MODULES" | ||
value: "true" | ||
} | ||
|
||
before_action { | ||
fetch_keystore { | ||
keystore_resource { | ||
keystore_config_id: 73713 | ||
keyname: "dpebot_codecov_token" | ||
} | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
.kokoro/nightly/graalvm-sub-jobs/native-b/graalvm-native-1.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
env_vars: { | ||
key: "JOB_NUMBER" | ||
value: "1" | ||
} |
Oops, something went wrong.