Skip to content

Commit 97a6d67

Browse files
fix: restore hermetic build image publication (#2952)
So far, the Release Please config did not consider `.cloudbuild/library_generation/cloudbuild-library-generation-push.yaml` to update the tags. This PR fixes this and also updates the image tag to the current one (2.42.0). ### Follow ups - [ ] Restore the image tag to the current SNAPSHOT
1 parent 2f316b0 commit 97a6d67

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.cloudbuild/library_generation/cloudbuild-library-generation-push.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
timeout: 7200s # 2 hours
1616
substitutions:
1717
_IMAGE_NAME: "gcr.io/cloud-devrel-public-resources/java-library-generation"
18-
_GAPIC_GENERATOR_JAVA_VERSION: '2.41.1-SNAPSHOT' # {x-version-update:gapic-generator-java:current}
18+
_GAPIC_GENERATOR_JAVA_VERSION: '2.42.0' # {x-version-update:gapic-generator-java:current}
1919
_SHA_IMAGE_ID: "${_IMAGE_NAME}:${COMMIT_SHA}"
2020
_LATEST_IMAGE_ID: "${_IMAGE_NAME}:latest"
2121
_VERSIONED_IMAGE_ID: "${_IMAGE_NAME}:${_GAPIC_GENERATOR_JAVA_VERSION}"

release-please-config.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
".cloudbuild/graalvm/cloudbuild.yaml",
1111
".cloudbuild/graalvm/cloudbuild-test-a.yaml",
1212
".cloudbuild/graalvm/cloudbuild-test-b.yaml",
13-
".cloudbuild/library_generation/cloudbuild-library-generation-release.yaml",
13+
".cloudbuild/library_generation/cloudbuild-library-generation-push.yaml",
1414
"generation_config.yaml"
1515
]
1616
}

0 commit comments

Comments
 (0)