Skip to content

Add deployment registry selection to cre init#414

Open
ejacquier wants to merge 2 commits intomainfrom
cre-init-registry
Open

Add deployment registry selection to cre init#414
ejacquier wants to merge 2 commits intomainfrom
cre-init-registry

Conversation

@ejacquier
Copy link
Copy Markdown
Contributor

Add deployment registry selection to cre init

When initializing a new project, users are now prompted to choose which registry their workflows will deploy to. This makes the registry choice
explicit at project creation time rather than leaving it as an implicit default.

What changed:

  • cre init wizard — new registry selection step after workflow name. Private (off-chain) registries appear first with the cursor defaulted to them.
    Includes a two-line description explaining the trade-off (private = no gas, quick testing; on-chain = production/multisig).
  • --deployment-registry flag — new flag on cre init. Required in --non-interactive mode. Skips the wizard step when provided.
  • workflow.yaml output — the selected registry ID is written as deployment-registry in both staging-settings and production-settings targets. Omitted
    when empty (backward compatible — existing files without the field continue to default to on-chain).
  • Fallback handling — if the org has no registries configured, a warning is printed and the step is skipped silently.

Backward compatibility: existing workflow.yaml files without deployment-registry are unaffected — ResolveRegistry already defaults to the on-chain
registry from EnvironmentSet when the field is absent.

@ejacquier ejacquier requested a review from a team as a code owner May 5, 2026 17:38
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 5, 2026

👋 ejacquier, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

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