Skip to content

[DNM] fix: tri-state push compatibility for shared workflows#118

Draft
ianpittwood wants to merge 3 commits into
mainfrom
feat/dry-run-artifacts
Draft

[DNM] fix: tri-state push compatibility for shared workflows#118
ianpittwood wants to merge 3 commits into
mainfrom
feat/dry-run-artifacts

Conversation

@ianpittwood
Copy link
Copy Markdown
Contributor

[DNM] Do Not Merge yet — coordinated change. Merge after / together with posit-dev/images-shared#559 (this calls its reusable workflows at @main).

What & why

posit-dev/images-shared#559 changes the reusable bakery-build-native.yml push input from a boolean to a tri-state string (off / temp / on). This repo's production / development / content / session workflows pass a boolean push: expression, which the new input's validation guard would reject (expected off, temp, or on).

This PR wraps each push: expression so it emits the string 'on' / 'off' instead of true / false, preserving the exact prior behavior (push to final registries on main-push / schedule / dispatch-to-main; otherwise no push).

Notes

  • No behavior change other than the value type: 'on' ⇔ old true, 'off' ⇔ old false.
  • PR builds are unaffected here — they run through pr.ymlbakery-build-pr.yml, which images-shared#559 separately enhances to publish temp debug artifacts for same-repo PRs.
  • ⚠️ Merge order: these workflows pin images-shared at @main. CI on this branch will not be representative until #559 is merged. Merge #559 first (or together).

Part of: posit-dev/images-shared#559

🤖 Generated with Claude Code

ianpittwood and others added 2 commits May 22, 2026 15:37
- bakery.yaml: add Standard (std, primary) and Minimal (min) variants
  to workbench-session, mirroring workbench. Existing tags without a
  variant suffix continue to resolve to std.
- workbench-session/template: conditionally COPY and install optional
  packages on the std variant only, assert in goss on Standard only,
  document the new tag format and variants in the README.
- workbench std + workbench-session std optional package lists:
  expand to a curated dev-header + tooling set covering the most-
  downloaded CRAN packages and common Python source-build paths.
  Templates are grouped with Jinja {# ... -#} annotations explaining
  each group; rendered .txt files stay annotation-free until
  posit-dev/images-shared#550 lands.

Rationale, exclusion list, and tag examples are documented in the
PR description.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The shared bakery-build-native.yml push input is changing from boolean to
a tri-state string (off/temp/on). Emit 'on'/'off' so callers stay valid.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Points the bakery-build reusable workflow refs at the images-shared
feat/dry-run-artifacts branch so this PR's CI exercises the new tri-state
push + temp-artifact behavior end-to-end.

REVERT THIS COMMIT before merging — on main these must reference @main.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant