Add latest-only release workflow#12
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
.github/workflows/release.yml— aworkflow_dispatch-only workflow that replaces (rather than supplements) the Workbench version of every managed image and opens a PR againstmain.bakery update version --target-versionto preserve pinned dependency versions (R / Python / Quarto).bakery create version+bakery remove version, allowing fresh dependency resolution perdependencyConstraints.OLD_TAG→TAG_VERSION, then display, then edition-conditional) keeps published version references in step withbakery.yaml.Lint,Production,Zizmor) trigger normally.${{ }}expressions inside anyrun:block; all values flow throughenv:.Configuration required before first run
The repository must have these secrets configured (reuse the existing
images-workbenchApp or provision a new one):APP_IDAPP_PRIVATE_KEYTest plan
The workflow cannot be invoked from a non-default branch until it merges, so smoke-testing happens after merge:
bakery.yaml(gh workflow run release.yml -f version="$(bakery get version workbench-for-google-cloud-workstations)"). Expect: capture step reports "Nothing to do." and all later steps skip.2026.04.0+526.pro3). Expect:bakery update versionbranch runs; PR body says "Same-edition patch: dependency pins preserved".2026.05.0+...). Expect:bakery create+bakery removebranch runs; PR body says "Edition bump: dependencies re-resolved".