Skip to content

Commit

Permalink
chore: make kokoro cfgs version agnostic (#1344)
Browse files Browse the repository at this point in the history
* chore: make kokoro cfgs version agnostic
  • Loading branch information
mpeddada1 authored Dec 18, 2023
1 parent 9e6cdb9 commit 5f0628c
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .kokoro/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ integration)
verify
RETURN_CODE=$?
;;
graalvm)
graalvmA)
# Run Unit and Integration Tests with Native Image
mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Pnative-test test -pl 'oauth2_http'
RETURN_CODE=$?
;;
graalvm17)
graalvmB)
# Run Unit and Integration Tests with Native Image
mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Pnative-test test -pl 'oauth2_http'
RETURN_CODE=$?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/graalvm:22.3.2"
value: "gcr.io/cloud-devrel-public-resources/graalvm_a:1.7.1"
}

env_vars: {
key: "JOB_TYPE"
value: "graalvm"
value: "graalvmA"
}

# TODO: remove this after we've migrated all tests and scripts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/graalvm17:22.3.2"
value: "gcr.io/cloud-devrel-public-resources/graalvm_b:1.7.1"
}

env_vars: {
key: "JOB_TYPE"
value: "graalvm17"
value: "graalvmB"
}

# TODO: remove this after we've migrated all tests and scripts
Expand Down
11 changes: 11 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@
":autodetectPinVersions"
],
"ignorePaths": [".kokoro/requirements.txt"],
"customManagers": [
{
"customType": "regex",
"fileMatch": [
"^.kokoro/presubmit/graalvm-native.*.cfg$"
],
"matchStrings": ["value: \"gcr.io/cloud-devrel-public-resources/graalvm.*:(?<currentValue>.*?)\""],
"depNameTemplate": "com.google.cloud:google-cloud-shared-config",
"datasourceTemplate": "maven"
}
],
"packageRules": [
{
"packagePatterns": [
Expand Down

0 comments on commit 5f0628c

Please sign in to comment.