Skip to content

Commit 280a1fa

Browse files
committed
chore(google-auth-library-java): create split GraalVM config
1 parent 8e506ab commit 280a1fa

2 files changed

Lines changed: 80 additions & 10 deletions

File tree

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Format: //devtools/kokoro/config/proto/build.proto
2+
3+
build_file: "google-auth-library-java/.kokoro/build.sh"
4+
5+
env_vars: {
6+
key: "JOB_TYPE"
7+
value: "graalvm-single"
8+
}
9+
10+
# TODO: remove this after we've migrated all tests and scripts
11+
env_vars: {
12+
key: "GCLOUD_PROJECT"
13+
value: "gcloud-devel"
14+
}
15+
16+
env_vars: {
17+
key: "GOOGLE_CLOUD_PROJECT"
18+
value: "gcloud-devel"
19+
}
20+
21+
env_vars: {
22+
key: "GOOGLE_APPLICATION_CREDENTIALS"
23+
value: "secret_manager/java-it-service-account"
24+
}
25+
26+
env_vars: {
27+
key: "SECRET_MANAGER_KEYS"
28+
value: "java-it-service-account"
29+
}
30+
31+
env_vars: {
32+
key: "GCS_BUCKET"
33+
value: "byoid-it-bucket"
34+
}
35+
36+
env_vars: {
37+
key: "GOOGLE_EXTERNAL_ACCOUNT_ALLOW_EXECUTABLES"
38+
value: "1"
39+
}
40+
41+
env_vars: {
42+
key: "GOOGLE_CLOUD_QUOTA_PROJECT"
43+
value: "gcloud-devel"
44+
}
45+
46+
container_properties {
47+
docker_image: "us-docker.pkg.dev/java-graalvm-ci-prod/graalvm-integration-testing/graalvm_a:1.17.0"
48+
}
49+
50+
51+
env_vars: {
52+
key: "BUILD_SUBDIR"
53+
value: "google-auth-library-java"
54+
}
Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
# Format: //devtools/kokoro/config/proto/build.proto
22

3-
# Configure the docker image for kokoro-trampoline.
4-
env_vars: {
5-
key: "TRAMPOLINE_IMAGE"
6-
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.56.1"
7-
}
3+
build_file: "google-auth-library-java/.kokoro/build.sh"
84

95
env_vars: {
106
key: "JOB_TYPE"
@@ -14,25 +10,45 @@ env_vars: {
1410
# TODO: remove this after we've migrated all tests and scripts
1511
env_vars: {
1612
key: "GCLOUD_PROJECT"
17-
value: "cloud-java-ci-test"
13+
value: "gcloud-devel"
1814
}
1915

2016
env_vars: {
2117
key: "GOOGLE_CLOUD_PROJECT"
22-
value: "cloud-java-ci-test"
18+
value: "gcloud-devel"
2319
}
2420

2521
env_vars: {
2622
key: "GOOGLE_APPLICATION_CREDENTIALS"
27-
value: "secret_manager/cloud-java-ci-it-service-account"
23+
value: "secret_manager/java-it-service-account"
2824
}
2925

3026
env_vars: {
3127
key: "SECRET_MANAGER_KEYS"
32-
value: "cloud-java-ci-it-service-account, java-bigqueryconnection-samples-secrets"
28+
value: "java-it-service-account"
29+
}
30+
31+
env_vars: {
32+
key: "GCS_BUCKET"
33+
value: "byoid-it-bucket"
34+
}
35+
36+
env_vars: {
37+
key: "GOOGLE_EXTERNAL_ACCOUNT_ALLOW_EXECUTABLES"
38+
value: "1"
39+
}
40+
41+
env_vars: {
42+
key: "GOOGLE_CLOUD_QUOTA_PROJECT"
43+
value: "gcloud-devel"
3344
}
3445

46+
container_properties {
47+
docker_image: "us-docker.pkg.dev/java-graalvm-ci-prod/graalvm-integration-testing/graalvm_a:1.17.0"
48+
}
49+
50+
3551
env_vars: {
3652
key: "BUILD_SUBDIR"
37-
value: "java-logging"
53+
value: "google-auth-library-java"
3854
}

0 commit comments

Comments
 (0)