Skip to content

Commit 8bd4203

Browse files
authored
ci(release-canary): install the dev chart from Quay (#5809)
* ci(release): promote release images to Quay Release Dev and Publish Release now copy the SHA-tagged images from the CI registry (ghcr.io/<owner>/openshell) to quay.io/ai-openshell instead of retagging them in ghcr.io/nvidia/openshell. Stable archives are pushed to Quay directly. Jobs log in to Quay through the org's quay-login action with the job's OIDC token, so they run in the release environment. Dev also pushes the SHA tag so the 0.0.0-dev.<sha> chart resolves, and dev and prerelease promotions verify the SBOM on the Quay copy. Refs #4554 Signed-off-by: Simon Scatton <sscatton@nvidia.com> * ci(release): push Helm charts to Quay The release-helm-oci action now logs in to Quay with the org's quay-login action and pushes the gateway and workspace charts to oci://quay.io/ai-openshell/charts, for dev and public releases alike. The gateway chart is published as charts/openshell, so this needs the chart rename from helm-chart. The registry-namespace and image-registry inputs go away: every chart goes to one registry, and the chart's own image defaults name the Quay images, so no values are rewritten at packaging time. Refs #4554 Signed-off-by: Simon Scatton <sscatton@nvidia.com> * ci(release-canary): install the dev chart from Quay The Kubernetes canary installs oci://quay.io/ai-openshell/charts/openshell, where Release Dev now publishes the dev chart. The chart and the images it pulls are public on Quay, so the job no longer logs in to GHCR or preloads the private dev images into kind. Refs #4554 Signed-off-by: Simon Scatton <sscatton@nvidia.com> --------- Signed-off-by: Simon Scatton <sscatton@nvidia.com>
1 parent 2908a72 commit 8bd4203

1 file changed

Lines changed: 2 additions & 18 deletions

File tree

‎.github/workflows/release-canary.yml‎

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -381,9 +381,6 @@ jobs:
381381
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
382382
runs-on: ubuntu-latest
383383
timeout-minutes: 20
384-
permissions:
385-
contents: read
386-
packages: read
387384
env:
388385
KIND_CLUSTER_NAME: release-canary-${{ github.run_id }}
389386
RELEASE_NAME: openshell
@@ -411,23 +408,10 @@ jobs:
411408
- name: Install Agent Sandbox controller
412409
run: bash e2e/support/install-agent-sandbox.sh
413410

414-
- name: Pull dev runtime images into kind
415-
env:
416-
GHCR_TOKEN: ${{ github.token }}
411+
- name: Install OpenShell Helm chart from Quay
417412
run: |
418413
set -euo pipefail
419-
printf '%s' "$GHCR_TOKEN" | docker login ghcr.io -u "$GITHUB_ACTOR" --password-stdin
420-
printf '%s' "$GHCR_TOKEN" | helm registry login ghcr.io -u "$GITHUB_ACTOR" --password-stdin
421-
for component in gateway sandbox supervisor; do
422-
image="ghcr.io/ai-openshell/openshell/${component}:dev"
423-
docker pull "$image"
424-
kind load docker-image "$image" --name "$KIND_CLUSTER_NAME"
425-
done
426-
427-
- name: Install OpenShell Helm chart from GHCR OCI
428-
run: |
429-
set -euo pipefail
430-
helm install "$RELEASE_NAME" oci://ghcr.io/ai-openshell/openshell/helm-chart \
414+
helm install "$RELEASE_NAME" oci://quay.io/ai-openshell/charts/openshell \
431415
--version 0.0.0-dev \
432416
--namespace "$RELEASE_NAMESPACE" --create-namespace \
433417
--set server.disableTls=true \

0 commit comments

Comments
 (0)