Skip to content

Commit

Permalink
fix: restore hermetic build image publication (#2952)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
diegomarquezp authored Jun 25, 2024
1 parent 2f316b0 commit 97a6d67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
timeout: 7200s # 2 hours
substitutions:
_IMAGE_NAME: "gcr.io/cloud-devrel-public-resources/java-library-generation"
_GAPIC_GENERATOR_JAVA_VERSION: '2.41.1-SNAPSHOT' # {x-version-update:gapic-generator-java:current}
_GAPIC_GENERATOR_JAVA_VERSION: '2.42.0' # {x-version-update:gapic-generator-java:current}
_SHA_IMAGE_ID: "${_IMAGE_NAME}:${COMMIT_SHA}"
_LATEST_IMAGE_ID: "${_IMAGE_NAME}:latest"
_VERSIONED_IMAGE_ID: "${_IMAGE_NAME}:${_GAPIC_GENERATOR_JAVA_VERSION}"
Expand Down
2 changes: 1 addition & 1 deletion release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
".cloudbuild/graalvm/cloudbuild.yaml",
".cloudbuild/graalvm/cloudbuild-test-a.yaml",
".cloudbuild/graalvm/cloudbuild-test-b.yaml",
".cloudbuild/library_generation/cloudbuild-library-generation-release.yaml",
".cloudbuild/library_generation/cloudbuild-library-generation-push.yaml",
"generation_config.yaml"
]
}
Expand Down

0 comments on commit 97a6d67

Please sign in to comment.