File tree Expand file tree Collapse file tree 5 files changed +125
-3
lines changed
Expand file tree Collapse file tree 5 files changed +125
-3
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ externalManifests:
66 file : ' .github/readme/synth.metadata/synth.metadata'
77 jsonpath : ' $.generatedFiles[*]'
88ignoreAuthors :
9+ - ' cloud-java-bot'
910- ' renovate-bot'
1011- ' yoshi-automation'
1112- ' release-please[bot]'
Original file line number Diff line number Diff line change @@ -42,11 +42,13 @@ if [[ ! -z "${GOOGLE_APPLICATION_CREDENTIALS}" && "${GOOGLE_APPLICATION_CREDENTI
4242 export GOOGLE_APPLICATION_CREDENTIALS=$( realpath ${KOKORO_GFILE_DIR} /${GOOGLE_APPLICATION_CREDENTIALS} )
4343fi
4444
45+
4546export TEST_UNIVERSE_DOMAIN_CREDENTIAL=$( realpath ${KOKORO_GFILE_DIR} /secret_manager/client-library-test-universe-domain-credential)
4647export TEST_UNIVERSE_DOMAIN=$( gcloud secrets versions access latest --project cloud-devrel-kokoro-resources --secret=client-library-test-universe-domain)
4748export TEST_UNIVERSE_PROJECT_ID=$( gcloud secrets versions access latest --project cloud-devrel-kokoro-resources --secret=client-library-test-universe-project-id)
4849export TEST_UNIVERSE_LOCATION=$( gcloud secrets versions access latest --project cloud-devrel-kokoro-resources --secret=client-library-test-universe-storage-location)
4950
51+
5052RETURN_CODE=0
5153set +e
5254
@@ -75,12 +77,17 @@ integration)
7577 verify
7678 RETURN_CODE=$?
7779 ;;
78- graalvm)
80+ graalvmA)
81+ # Run Unit and Integration Tests with Native Image
82+ mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative test
83+ RETURN_CODE=$?
84+ ;;
85+ graalvmB)
7986 # Run Unit and Integration Tests with Native Image
8087 mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative test
8188 RETURN_CODE=$?
8289 ;;
83- graalvm17 )
90+ graalvmC )
8491 # Run Unit and Integration Tests with Native Image
8592 mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative test
8693 RETURN_CODE=$?
137144fi
138145
139146echo " exiting with ${RETURN_CODE} "
140- exit ${RETURN_CODE}
147+ exit ${RETURN_CODE}
Original file line number Diff line number Diff line change 1+ # Format: //devtools/kokoro/config/proto/build.proto
2+
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_b:3.45.1"
7+ }
8+
9+ env_vars: {
10+ key: " JOB_TYPE"
11+ value: " graalvmA"
12+ }
13+
14+ # TODO: remove this after we've migrated all tests and scripts
15+ env_vars: {
16+ key: " GCLOUD_PROJECT"
17+ value: " gcloud-devel"
18+ }
19+
20+ env_vars: {
21+ key: " GOOGLE_CLOUD_PROJECT"
22+ value: " gcloud-devel"
23+ }
24+
25+ env_vars: {
26+ key: " GOOGLE_APPLICATION_CREDENTIALS"
27+ value: " secret_manager/java-it-service-account"
28+ }
29+
30+ env_vars: {
31+ key: " SECRET_MANAGER_KEYS"
32+ value: " java-it-service-account"
33+ }
34+
35+ env_vars: {
36+ key: " IT_SERVICE_ACCOUNT_EMAIL"
37+ value: " it-service-account@gcloud-devel.iam.gserviceaccount.com"
38+ }
Original file line number Diff line number Diff line change 1+ # Format: //devtools/kokoro/config/proto/build.proto
2+
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_b:3.45.1"
7+ }
8+
9+ env_vars: {
10+ key: " JOB_TYPE"
11+ value: " graalvmB"
12+ }
13+
14+ # TODO: remove this after we've migrated all tests and scripts
15+ env_vars: {
16+ key: " GCLOUD_PROJECT"
17+ value: " gcloud-devel"
18+ }
19+
20+ env_vars: {
21+ key: " GOOGLE_CLOUD_PROJECT"
22+ value: " gcloud-devel"
23+ }
24+
25+ env_vars: {
26+ key: " GOOGLE_APPLICATION_CREDENTIALS"
27+ value: " secret_manager/java-it-service-account"
28+ }
29+
30+ env_vars: {
31+ key: " SECRET_MANAGER_KEYS"
32+ value: " java-it-service-account"
33+ }
34+
35+ env_vars: {
36+ key: " IT_SERVICE_ACCOUNT_EMAIL"
37+ value: " it-service-account@gcloud-devel.iam.gserviceaccount.com"
38+ }
Original file line number Diff line number Diff line change 1+ # Format: //devtools/kokoro/config/proto/build.proto
2+
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_b:3.45.1"
7+ }
8+
9+ env_vars: {
10+ key: " JOB_TYPE"
11+ value: " graalvmC"
12+ }
13+
14+ # TODO: remove this after we've migrated all tests and scripts
15+ env_vars: {
16+ key: " GCLOUD_PROJECT"
17+ value: " gcloud-devel"
18+ }
19+
20+ env_vars: {
21+ key: " GOOGLE_CLOUD_PROJECT"
22+ value: " gcloud-devel"
23+ }
24+
25+ env_vars: {
26+ key: " GOOGLE_APPLICATION_CREDENTIALS"
27+ value: " secret_manager/java-it-service-account"
28+ }
29+
30+ env_vars: {
31+ key: " SECRET_MANAGER_KEYS"
32+ value: " java-it-service-account"
33+ }
34+
35+ env_vars: {
36+ key: " IT_SERVICE_ACCOUNT_EMAIL"
37+ value: " it-service-account@gcloud-devel.iam.gserviceaccount.com"
38+ }
You can’t perform that action at this time.
0 commit comments