Separate registry access from template publishing - #28
Draft
czpython wants to merge 1 commit into
Draft
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.
Future follow-up. The immediate Druks configuration in czpython/druks#433 works without this PR. Keep this draft separate from that deployment.
Private boot images need registry access even when no template destination is configured. Separate
REGISTRY_HOST,REGISTRY_USERNAME, andREGISTRY_PASSWORDfrom the optionalTEMPLATE_REPOSITORYpath. Exe supplies credentials for boot images on that registry host, including images outside the template repository.Template builds use the caller label in a unique build tag. Published references include the tag and digest; provisioning uses the digest and local cleanup removes the build tag. Docker and docker-sbx publish to the shared destination when configured and retain local builds when no destination is set. Template reuse still uses provider, base image, and script hash.
Druks consumer: czpython/druks#434
Deployment impact
The shared settings replace
EXE_IMAGE_REGISTRY,EXE_REGISTRY_USERNAME, andEXE_REGISTRY_PASSWORD; configure the registry host and template repository path separately. No schema or SDK changes. Registry retention remains operator-owned. The docker-sbx daemon still needs its own private pull access or template import.Verification
uv run ruff check— passed.uv run ruff format --check— passed.uv run pyright— zero errors.uv run pytest -q— 538 passed.