You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 61eb018
Browse filesBrowse the repository at this point in the historyBrowse files
docs(ci): document Quay as the release registry (#5810)
CI.md and the release skills now name quay.io/ai-openshell for released
images and charts, and CI.md describes the CI and release registries and
how release jobs authenticate to Quay.
Refs #4554
Signed-off-by: Simon Scatton <sscatton@nvidia.com>
Copy file name to clipboardExpand all lines: .agents/skills/test-release-canary/SKILL.md
+5-13Lines changed: 5 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,29 +92,21 @@ Note `install.sh` is pulled from `raw.githubusercontent.com/ai-openshell/openshe
92
92
93
93
`Release Dev` publishes two chart versions for every dev build (see the push steps in `.github/actions/release-helm-oci/action.yml`):
94
94
95
-
- `oci://ghcr.io/ai-openshell/openshell/helm-chart:0.0.0-dev`— floating, overwritten on every main push.
96
-
- `oci://ghcr.io/ai-openshell/openshell/helm-chart:0.0.0-dev.<sha>`— SHA-pinned, with `appVersion` set to the same SHA so it pulls the matching `gateway`, `sandbox`, and `supervisor` images.
95
+
- `oci://quay.io/ai-openshell/charts/openshell:0.0.0-dev`— floating, overwritten on every main push.
96
+
- `oci://quay.io/ai-openshell/charts/openshell:0.0.0-dev.<sha>`— SHA-pinned, with `appVersion` set to the same SHA so it pulls the matching `gateway`, `sandbox`, and `supervisor` images.
97
97
98
98
To smoke-test the chart for a specific dev build, dispatch `Release Dev` on the branch first, then run the kind canary steps locally pointed at the SHA-pinned chart (see "Local kind reproduction" below). The release-canary workflow itself does not currently expose `chart_version` / `image_tag` inputs.
99
99
100
100
## Local kind reproduction
101
101
102
102
The `kubernetes` job can be reproduced on any machine with Docker and `mise install`-provided `kubectl` + `helm`:
103
103
104
-
Authenticate Docker and Helm to `ghcr.io` with credentials that have pull access to the dev packages before running these commands.
@@ -135,7 +127,7 @@ Keep `pkiInitJob.enabled=true` (the chart default), even when
135
127
`server.disableTls=true`. The hook also generates the sandbox JWT signing
136
128
secret that the gateway pod always mounts.
137
129
138
-
Swap `0.0.0-dev` for `0.0.0-dev.<sha>` and `:dev` for `:<sha>` to pin to a specific dev build. Tear down with `kind delete cluster --name release-canary-local`.
130
+
Swap `0.0.0-dev` for `0.0.0-dev.<sha>` to pin to a specific dev build. Tear down with `kind delete cluster --name release-canary-local`.
139
131
140
132
Loopback registration auto-derives the gateway name to `openshell` if `--name` is omitted, which collides with the `install.sh`-installed local gateway — always pass `--name kind` (or another distinct name) when registering in addition to a local install.
141
133
@@ -150,7 +142,7 @@ Loopback registration auto-derives the gateway name to `openshell` if `--name` i
150
142
| `ubuntu-snap-system-docker` fails during the prover checks | The prover artifact is missing or packaged for the wrong architecture, `openshell.prover` is not exposed, missing the alias to `openshell-prover`, or not permitted to read the test policies, or its solver linkage is not runnable. | The `Install and check status` and `Check a policy boundary with the snap prover` steps, plus `snap info openshell` and `snap connections openshell`. |
151
143
| `ubuntu-snap-docker-preflight` unexpectedly succeeds | The installer no longer fails before installing the OpenShell snap when Docker is absent or supplied by the Docker snap. | Inspect `install.log`, `docker-snap.log`, `snap list`, and snapd changes. |
152
144
| `kubernetes` job fails on `helm install --wait` | Chart did not deploy in 5 min — usually image pull failure or readiness probe failing. | "Diagnostics on failure" step dumps `helm status`, manifest, pod describe, pod logs. |
153
-
| `kubernetes` job fails on `kubectl wait` | Gateway pod stuck `CrashLoopBackOff` or `ImagePullBackOff`. | Diagnostics dump; check that `ghcr.io/ai-openshell/openshell/gateway:dev` was loaded into kind. |
145
+
| `kubernetes` job fails on `kubectl wait` | Gateway pod stuck `CrashLoopBackOff` or `ImagePullBackOff`. | Diagnostics dump; check `:dev` image existence at `quay.io/ai-openshell/gateway`. |
154
146
| `kubernetes` job fails on `openshell gateway add` or `status` | Port-forward not reachable, or CLI/gateway proto mismatch. | `port-forward.log` and `openshell gateway list` in the diagnostics dump. |
155
147
156
148
The `kubernetes` job's diagnostics step (only runs `if: failure()`) emits, in order: helm status, rendered manifest, `kubectl get all`, pod descriptions, pod logs (200 lines per container), port-forward log, gateway list, CLI version. Read it top-to-bottom — most failures fall out by the manifest or pod logs.
@@ -726,9 +726,11 @@ These workflows run after merge to publish dev/tagged artifacts and verify them.
726
726
727
727
Each step that publishes to an external registry, store, or site lives in its own workflow with both `workflow_call` and `workflow_dispatch`. Release calls it, and a maintainer can dispatch it to finish one missing publication for an existing release without rerunning Release. Dispatch inputs identify an already-published release, such as its tag and source commit; the workflow verifies them before publishing and should skip what is already published. Keep the manual trigger when changing or moving a publisher.
728
728
729
+
CI builds push SHA-tagged images to the private CI registry, `ghcr.io/<owner>/openshell/<component>:<sha>`. Releases promote them to the public release registry: images to `quay.io/ai-openshell/{gateway,sandbox,supervisor}` and charts to `oci://quay.io/ai-openshell/charts/{openshell,openshell-workspace}`. Jobs that write to Quay run in the `release` environment and log in as the robot `ai-openshell+openshell_release` with the job's OIDC token through `ai-openshell/workflows/quay-login`; there is no stored registry secret. `ghcr.io/nvidia/openshell` is frozen and receives no new releases.
730
+
729
731
| File | Role |
730
732
|---|---|
731
-
| `.github/workflows/release-dev.yml` | Publishes the rolling `dev` build on every push to `main`. Builds gateway, sandbox, and supervisor images and binaries and packages, and pushes the Helm chart as `oci://ghcr.io/nvidia/openshell/helm-chart:0.0.0-dev` (plus an immutable `0.0.0-dev.<sha>` pin). Also dispatchable manually. |
733
+
| `.github/workflows/release-dev.yml` | Publishes the rolling `dev` build on every push to `main`. Builds gateway, sandbox, and supervisor images and binaries and packages, promotes the images to `quay.io/ai-openshell/<component>` as `:dev` and `:<sha>`, and pushes the Helm chart as `oci://quay.io/ai-openshell/charts/openshell:0.0.0-dev` (plus an immutable `0.0.0-dev.<sha>` pin). Also dispatchable manually. |
732
734
| `.github/workflows/release.yml` | Manually promote the latest qualified prerelease for a version and branch, create its stable tag, then rebuild and publish. Support releases preserve shared latest channels. Publishes the prerelease's notes preview, retagged, or generates notes when it is unavailable. The notes-only mode generates a release notes preview artifact. Published artifacts are never overwritten: a rerun fills in what is missing, and a bad published artifact is fixed by releasing a new patch version. |
733
735
| `.github/workflows/release-auto-tag.yml` | Dispatched manually; its schedule is paused. Tags the next `-pre.N` on `main` when commits landed since the latest one, then dispatches Pre-release. It skips when the train has no `-pre.1` or its version is already stable, so push each train's `-pre.1` tag by hand. |
734
736
| `.github/workflows/release-prerelease.yml` | Pre-release orchestrator, triggered by prerelease tag pushes or dispatched by Release Auto-Tag or manually. A tagless dispatch creates the next candidate on its branch; explicit tags select existing candidates. Builds, then publishes and qualifies in parallel. Qualification failure fails the run and sends the failure notification; published artifacts remain available. |
0 commit comments