Skip to content

ci(e2e): run the e2e gateway from the registry of each core release - #61

Draft
SDAChess wants to merge 1 commit into
mainfrom
ci/e2e-images-from-quay
Draft

SDAChess wants to merge 1 commit into
mainfrom
ci/e2e-images-from-quay

Conversation

@SDAChess

@SDAChess SDAChess commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Releases from before the move stay on ghcr.io/nvidia/openshell by design and are not copied to Quay, so the GHCR fallback here is permanent. It works today with the pin at v0.1.9, and every image it pulls exists in the registry the helper picks.

Refs ai-openshell/openshell#4554

Summary

Runs the e2e gateway from whichever registry holds the pinned core release: quay.io/ai-openshell for releases since the move, and ghcr.io/nvidia/openshell for older ones.

Related Issue

Refs ai-openshell/openshell#4554. Part of the repository and registry move, so there is no separate issue.

Changes

  • scripts/core-sync/core-registry.sh (new, sourced): core_registry <version> prints quay.io/ai-openshell when the gateway manifest for that version is on Quay (anonymous lookup). Otherwise it prints ghcr.io/nvidia/openshell when the manifest is on GHCR, and fails when neither has it yet. The first release on Quay is 0.1.10-pre.4; 0.1.9 and earlier, and 0.1.10-pre.1 to pre.3, stay on GHCR. Probing manifests avoids comparing pre-release versions in shell.
  • scripts/e2e/start-gateway.sh:
    • waits for the gateway image with core_registry and uses the registry it returns;
    • rewrites either registry prefix in core's fetched docker-compose.yml and gateway.toml to that registry, so the pinned supervisor and sandbox images come from the same place as the gateway. This matters for v0.1.10-pre.4, whose deployment files still name GHCR while its images are only on Quay;
    • fails clearly if the compose file doesn't end up on that registry.
  • scripts/core-sync/open-bump-pr.sh: the bump PR names the gateway image in the registry core_registry finds. For a tag whose images aren't pushed yet it uses Quay, where every new release goes.
  • README: one row for the helper.

Testing

  • shellcheck -x -S warning passes on the three scripts.

  • core_registry: 0.1.10-pre.4 gives Quay, 0.1.9 gives GHCR, and an unpublished version fails, so the wait continues.

  • Dry run of the deployment-file rewrite, without Docker:

    • v0.1.10-pre.4: Quay.
    • v0.1.9 and v0.1.10-pre.3: GHCR.

    In each case the compose file and both pinned images use the chosen registry, with no references to the other one.

  • e2e on this PR passes against the v0.1.9 pin, pulled from GHCR through the helper.

Order

Merge after #56, which moves CORE_REPO to ai-openshell/openshell. The two touch different lines.

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)
  • README or CONTRIBUTING.md updated (if applicable)

Core releases since the move publish to quay.io/ai-openshell; older ones
stay on ghcr.io/nvidia/openshell for good. Add core_registry, which finds
the registry that holds a version, and use it to wait for the gateway
image, to point core's deployment files at that registry, and to name the
image in bump PRs.

Refs ai-openshell/openshell#4554

Signed-off-by: Simon Scatton <sscatton@nvidia.com>
@SDAChess
SDAChess force-pushed the ci/e2e-images-from-quay branch from 003ee05 to 5134034 Compare November 23, 2026 14:18
@SDAChess SDAChess changed the title ci(e2e): run the e2e gateway from Quay images ci(e2e): run the e2e gateway from the registry of each core release Nov 23, 2026
@SDAChess
SDAChess marked this pull request as ready for review November 23, 2026 14:37
@SDAChess
SDAChess requested review from a team as code owners November 23, 2026 14:37
@SDAChess
SDAChess marked this pull request as draft November 23, 2026 14:37

This branch has not been deployed

No deployments
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