Skip to content

Commit

Permalink
chore: use sdk-platform-shared-config to consolidate build configs
Browse files Browse the repository at this point in the history
  • Loading branch information
mpeddada1 committed Jan 29, 2024
1 parent 7926233 commit ac9372f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .kokoro/presubmit/graalvm-native-17.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/graalvm17:22.3.3"
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.23.0"
}

env_vars: {
Expand Down
2 changes: 1 addition & 1 deletion .kokoro/presubmit/graalvm-native.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/graalvm:22.3.3"
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.23.0"
}

env_vars: {
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@

<parent>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-shared-config</artifactId>
<version>1.7.1</version>
<artifactId>sdk-platform-java-config</artifactId>
<version>3.23.0</version>
</parent>

<developers>
Expand Down Expand Up @@ -77,7 +77,7 @@
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-shared-dependencies</artifactId>
<version>3.23.0</version>
<version>${google-cloud-shared-dependencies.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
11 changes: 11 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,17 @@
".kokoro/requirements.txt",
".github/workflows/**"
],
"customManagers": [
{
"customType": "regex",
"fileMatch": [
"^.kokoro/presubmit/graalvm-native.*.cfg$"
],
"matchStrings": ["value: \"gcr.io/cloud-devrel-public-resources/graalvm.*:(?<currentValue>.*?)\""],
"depNameTemplate": "com.google.cloud:sdk-platform-java-config",
"datasourceTemplate": "maven"
}
],
"packageRules": [
{
"packagePatterns": [
Expand Down

0 comments on commit ac9372f

Please sign in to comment.