Skip to content

feat(image)!: cut over to ghcr.io/vig-os/devkit + rename flake attrs - #973

Merged
c-vigo merged 2 commits into
devfrom
feature/781-image-ref-cutover
Jul 10, 2026
Merged

c-vigo merged 2 commits into
devfrom
feature/781-image-ref-cutover

Conversation

@c-vigo

@c-vigo c-vigo commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Summary

The final Stage-1 slice of #781: move the container image to the new GHCR
package ghcr.io/vig-os/devkit
and rename the flake output attributes to match.
The new package is already seeded (0.5.1 + latest, multi-arch, public), so CI
resolves against it.

Two commits:

  1. refactor(flake) — attribute rename devcontainerImage → devkitImage,
    devcontainerImageEnv → devkitImageEnv, devcontainer-bootstrap → devkit-bootstrap
    (+ all call sites and the flake-services / workflow-cachix test anchors).
  2. feat(image)! — image ref ghcr.io/vig-os/devcontainer → ghcr.io/vig-os/devkit
    across the flake, CI/release workflows, install.sh, the scaffold template
    (compose + workflows + actions), and docs (README/TESTING regenerated from templates).

Breaking change

Consumers pulling ghcr.io/vig-os/devcontainer must move to ghcr.io/vig-os/devkit.
The old package is frozen at 0.5.1 and stays pullable; the soft-cutover pin parser
(#968) + install.sh --force re-scaffold migrate consumers without a hard break.

Intentionally NOT changed (verified)

  • Released CHANGELOG entries, the MIGRATION.md note that the old package stays pullable, and the historical ADR — all still cite ghcr.io/vig-os/devcontainer on purpose.
  • OCI source label and cosign --certificate-identity-regexp — these are github.com repo paths and follow the Stage 3 repository rename, not the image ref.
  • docker-compose ${DEVCONTAINER_VERSION} interpolation var — deferred (it's the compose var, not the image ref or pin key).

Verification

  • nix eval .#devkitImage.imageName → ghcr.io/vig-os/devkit ✅
  • test_flake_services (evaluates the flake) + test_workflow_cachix — green (attr rename).
  • install.bats / clean.bats / just.bats / test_install_script (unit) — green; caught + fixed a regex-escaped ref (ghcr\.io/…) the bulk sed missed.
  • just precommit full suite — green (README/TESTING regenerated, actionlint, sync-manifest).
  • Container/integration image tests run in CI against the seeded devkit package.

Refs: #781

c-vigo added 2 commits July 10, 2026 15:00
Rename the flake output attributes devcontainerImage -> devkitImage,
devcontainerImageEnv -> devkitImageEnv, and the devcontainer-bootstrap
runCommand -> devkit-bootstrap, plus every call site (justfile, build-image /
security-scan / nix-image / release workflows) and the flake-services /
workflow-cachix test anchors. Pure attribute identity; the image build and its
published ref are unchanged in this commit (the ref flip is the next commit).

Refs: #781
Move the container image reference from ghcr.io/vig-os/devcontainer to the new
GHCR package ghcr.io/vig-os/devkit across the flake image name, CI/release
workflows, install.sh, the scaffold template (compose + workflows + actions), and
documentation (regenerated README/TESTING from templates). Pairs with the flake
attribute rename in the previous commit.

The old ghcr.io/vig-os/devcontainer package is frozen at 0.5.1 and stays pullable;
consumers move on their next `install.sh --force`. Intentionally unchanged in this
slice: released CHANGELOG entries, the MIGRATION note that the old package remains
pullable, the historical ADR, the image's OCI source label, and the cosign
identity-regexp (the last two are github.com repo paths that follow the Stage 3
repository rename). The docker-compose ${DEVCONTAINER_VERSION} interpolation var is
also left for a later slice.

Refs: #781
@c-vigo
c-vigo merged commit f772913 into dev Jul 10, 2026
15 checks passed
@c-vigo
c-vigo deleted the feature/781-image-ref-cutover branch July 10, 2026 13:44
c-vigo added a commit that referenced this pull request Jul 10, 2026
Course-correct the rename: the project/repository becomes devkit, but the
published container image stays ghcr.io/vig-os/devcontainer. The artifact is a dev
container; devkit is the project that builds and ships it, so the image keeps its
descriptive name and consumers need no image-ref change (no new package, no
re-scaffold to move registries). Reverts the image-ref flip from #973 while
keeping the internal devkitImage / devkitImageEnv flake attributes (the devkit
project's build outputs) and the DEVKIT_VERSION pin key. Rewrites the CHANGELOG
Unreleased entry and the MIGRATION rename section accordingly.

The docker-compose ${DEVCONTAINER_VERSION} interpolation var is now consistent by
default. The seeded ghcr.io/vig-os/devkit package is now unused and will be
deleted separately.

Refs: #781
c-vigo added a commit that referenced this pull request Jul 10, 2026
…974)

## Summary

**Course-correction on the rename's scope.** The **project/repository**
becomes
`devkit`, but the **published container image stays
`ghcr.io/vig-os/devcontainer`**.

Rationale: the artifact *is* a dev container; `devkit` is the
project/repo that
builds and ships it (image + installer + scaffold + flake templates).
Repo-name ≠
artifact-name is normal, and keeping the image name descriptive means
**consumers
never change their image ref** — no new GHCR package, no `--force`
re-scaffold to
move registries, no two-package/"frozen old package" story.

This reverts the image-ref flip from **#973** while **keeping** the
internal
`devkitImage` / `devkitImageEnv` flake attributes (the devkit project's
build
outputs) and the `DEVKIT_VERSION` pin key.

## What changed back to `devcontainer`
Image ref across the flake image name, CI/release workflows,
`install.sh`, the
scaffold template (compose + workflows + actions), tests, and
regenerated
README/TESTING. `nix eval .#devkitImage.imageName` →
`ghcr.io/vig-os/devcontainer`.

## What stays `devkit` (unchanged here)
Repo/project (`pyproject`/`package.json`), the `DEVKIT_*` manifest keys
incl.
`DEVKIT_VERSION`, installer branding, `devkit-smoke-test` dispatch
targets, and the
`devkitImage*` flake attrs.

## Docs
Rewrote the Unreleased CHANGELOG entry (flake-attr rename, image name
unchanged)
and the `MIGRATION.md` rename section (repo-only rename; image + pins
keep working).
Immutable released CHANGELOG entries that mention the old plan are left
as history.

## Follow-ups (not in this PR)
- The seeded `ghcr.io/vig-os/devkit` package is now unused → delete it
(needs
  `delete:packages` / UI).
- The docker-compose `${DEVCONTAINER_VERSION}` var is now consistent by
default
  (no rename needed).

## Testing
`install`/`clean`/`just` bats, `test_flake_services` +
`test_workflow_cachix`
(attrs kept), and `just precommit` full suite — all green.

Refs: #781
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