Skip to content

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

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

[DNM] fix: tri-state push compatibility for shared workflows#99
ianpittwood wants to merge 2 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

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