test: Release please simulation testing #12848#12849
test: Release please simulation testing #12848#12849
Conversation
The library generation pipeline fails on release PRs because it attempts to pull a Docker image version that has not yet been built or pushed to the registry. This PR adds a fallback mechanism in hermetic_library_generation.sh to use the previous version of the image from the main branch if the requested version fails to pull on a release PR. To verify this in CI, this branch is named with the prefix 'release-please--' to simulate a release PR. Fixes #12825
This commit updates the image_tag to a non-existent version (9.99.9) in hermetic_library_generation.yaml to force the pull failure and verify the fallback logic works in CI. DO NOT MERGE THIS PR
There was a problem hiding this comment.
Code Review
This pull request introduces a fallback mechanism for Docker image tags in the hermetic library generation script, specifically targeting release branches. When a Docker image for the current tag is not found, the script now attempts to retrieve and use the image tag from the target branch. A review comment correctly identified that the script's 'pipefail' setting could cause it to exit prematurely if the git command or grep fails, and a suggestion was provided to ensure the fallback logic completes as intended.
….9 for simulation
…gle-cloud-java into release-please--fix-12825
|
|



Test fallback branch in #12848