release.yaml is the single release workflow
for NeMo Helix. It handles scheduled release candidates (RCs) and manually dispatched
RC or stable releases. The release catalog is deliberately defined in that
workflow so contributors can see and validate every releasable artifact in one
place.
Anyone with permission to run repository workflows can start a release. A
stable release requires a specific source commit and version; an RC uses
the latest release/X.Y branch unless pinned to a commit in that branch's history.
Choose the exact 40-character commit SHA and the MAJOR.MINOR.PATCH version
to release. The source must contain the desired generated SDKs. If the API
surface changed since the last SDK update, update the SDKs before releasing:
make update-sdkThis regenerates the OpenAPI specifications and synchronizes the SDKs. The
specifications intentionally retain info.version: 0.0.0; do not copy the
release version into them.
When containers are selected, their images must already be staged at
nvcr.io/0921617854601259/nemo-helix-dev/<id>:<source-sha> by the existing
build workflow. Stable releases reuse these images and publish them under the
requested release version without rebuilding or changing their contents.
Missing images use the downstream registration workflow's existing wait and
timeout; there is no fallback build.
Existing nSpect container registrations are reused only when the nSpect program, release version, and full image URL (including team and SHA tag) all match. Missing registrations still go through the existing registration process.
The catalog in release.yaml is the source
of truth for selection. Do not add a separate release manifest or configuration
file. When changing the catalog, also update the matching workflow_dispatch
input description in that workflow.
Planning reads the wheel and container catalogs from release.yaml at the
selected source SHA, for both RC and stable releases. New artifacts on
main do not enter RCs until the release branch ships them. Custom IDs
must also exist in the selected source's catalog; the workflow form may list
newer IDs that are unavailable on that source. Keep these catalogs as JSON in
folded (>-) environment blocks so the planner can read them without executing
the selected workflow.
| Type | IDs |
|---|---|
| Wheels | nemo-helix, nemo-helix-plugin |
| Containers | nhx-api, nhx-tasks, nhx-tasks-openshell, nhx-gym-tasks, nhx-gym-host, nhx-agent-hardener-tasks, nhx-customizer-tasks, nhx-automodel-training, nhx-unsloth-training, nhx-rl-training, nhx-garak-tasks, nhx-safe-synthesizer-tasks, nhx-builder-tasks, nhx-kaniko |
| Helm chart | nemo-helix |
For every selected wheel, the workflow checks that its package configuration
declares the expected project name. For every selected container, it checks the
Docker Bake target and the corresponding
.github/assets/ngc/containers/<id>.md overview file. These checks happen
before any external release work is dispatched.
Open the Release workflow and select Run workflow. The form shows the allowed custom artifact IDs.
| Input | Use |
|---|---|
release-type |
rc by default. Select stable for a versioned release. Every successful non-dry-run stable release creates or confirms its Git tag and GitHub Release. |
source-sha |
Required for stable releases. Optional for RCs, including dry runs; without a SHA, the highest release/X.Y branch is selected. A pinned RC SHA must belong to that branch's history. |
version |
Required for stable releases. Enter the MAJOR.MINOR.PATCH release version. |
release-scope |
all by default. Select wheels, containers, helm, or custom for a subset. Scope selects artifacts only; it does not control the stable tag or GitHub Release. |
wheel-ids, container-ids |
Comma-separated IDs used only with release-scope: custom. Each ID must be in the catalog above; duplicates and empty entries fail validation. |
include-helm |
Includes the Helm chart in a custom release. |
helm-version |
Optional exact SemVer Helm chart version for stable Helm-only releases. The stable release label still comes from version. |
update-ngc-metadata |
Also runs the reusable NGC metadata workflow for nemo-helix and nemo-helix-dev. It checks out the workflow ref, normally main. |
send-notifications |
Sends Slack start and final-status notifications. Defaults to true. |
dry-run |
Validates the selected source and packages the selected Helm chart, but does not publish, dispatch external work, poll, create a GitHub release, or signal deployment. The start notification intentionally still runs when notifications are enabled. |
Examples:
| Goal | Inputs |
|---|---|
| Scheduled-style RC | Leave release-type as rc and use the default all scope. |
| Stable full release | release-type: stable, source-sha: <40-character SHA>, version: <MAJOR.MINOR.PATCH>, release-scope: all. |
| One container | release-scope: custom, container-ids: nhx-customizer-tasks. |
| Stable one-container release or retry | release-type: stable, source-sha: <40-character SHA>, version: <MAJOR.MINOR.PATCH>, release-scope: custom, container-ids: nhx-customizer-tasks. |
| Helm-only validation | release-scope: helm, dry-run: true. |
| Stable Helm-only chart override | release-type: stable, source-sha: <40-character SHA>, version: 0.1.0, release-scope: helm, helm-version: 0.1.0+helmfix1. |
RCs also run automatically Monday through Friday at 4:00 PM America/Los_Angeles.
- Resolves the source, release label, selected artifacts, wheel version, and
Helm chart version. Stable versions use the supplied release version.
RC labels use
rc-YYYYMMDDHHMMSS. Their base version is the next patch after the highest stable tag in the selectedrelease/X.Yseries, orX.Y.0when that series has no stable tags. Wheels keepX.Y.Z.devYYYYMMDDHHMMSS; numbered prereleases such as1.0.0-rc1remain distinct and produce1.0.0rc1wheels. - Checks out the selected source and validates the selected wheel paths, Docker Bake targets, and NGC overview files.
- Optionally synchronizes NGC metadata, when requested on a non-dry-run.
- Dispatches wheel builds, RC container builds, and stable-release
registration work to the configured internal release repository. Stable
registration includes
source_team: nemo-helix-devandcontainer_version: <source-sha>so containers are copied from the selected SHA tag to the requested public release version. - Packages the Helm chart with the planned chart version. An RC chart uses
the same base version and timestamp as its wheels and containers:
X.Y.Z-rc-YYYYMMDDHHMMSS. A stable chart uses the stable release version unlesshelm-versionis set for a stable Helm-only release. - Waits for every selected final artifact to become available at its configured publication destination before continuing. The polling job times out after four hours and sends a Slack alert after two hours if it is still waiting.
- For every non-dry-run stable release, creates or confirms the Git tag and
GitHub release at the selected SHA once the selected artifacts are
available. This is independent of
release-scope, so subset and custom runs can finish or retry a release. A rerun is a no-op when the tag and release already match, creates the missing release when only the matching tag exists, and fails when the version tag points to a different SHA or a draft release exists. GitHub generates the release notes from the previous numeric SemVer tag. - After polling succeeds, releases that include the Helm chart dispatch a deployment signal to the configured internal release repository. The downstream workflow creates a pending GitHub Deployment, and the deployment controller completes it independently. Releases without Helm skip this step.
| Artifact | RC | Stable |
|---|---|---|
| Wheels | pypi.nvidia.com | PyPI |
| Containers | ghcr.io/nvidia-nemo/nemo-helix/<id>:rc-... |
nvcr.io/nvidia/nemo-helix/<id>:<version> and the public NGC catalog |
| Helm chart | OCI chart at oci://ghcr.io/nvidia-nemo/nemo-helix |
Initially staged at 0921617854601259/nemo-helix-dev, then promoted to the public NGC Helm repository |
The stable Helm promotion is external to this workflow. The workflow polls the
public NGC Helm repository, not the internal staging endpoint, before it marks
the release complete. Stable charts continue to reference public
nvcr.io/nvidia/nemo-helix images tagged with the requested release version;
the staging location does not change the images deployed by the chart.
With send-notifications: true:
- A start message is sent to
SLACK_ALERTS_WEBHOOK, including the selected artifacts and source commit. This is also sent for dry-runs so the webhook can be tested. - If final artifact polling exceeds two hours, a delay alert is sent to
SLACK_ALERTS_WEBHOOK. - A successful non-dry-run release sends its completion message to
SLACK_RELEASE_WEBHOOK. A failed or cancelled release sends its final status toSLACK_ALERTS_WEBHOOK.
Dry-runs do not poll or send the delayed or final notification.
| Secret | Used for |
|---|---|
CI_DISPATCH_REPO |
owner/repo of the internal release repository that receives release dispatches. |
CI_DISPATCH_TOKEN |
Authenticating those cross-repository dispatches. |
AIRE_NVCR_GITHUB |
Staging stable Helm charts in NGC. |
AIRE_NGC_GITHUB_PLATFORM_RW |
Optional NGC metadata synchronization. |
SLACK_ALERTS_WEBHOOK |
Release starts, delay alerts, and failed final statuses. |
SLACK_RELEASE_WEBHOOK |
Successful final release status. |
RC_INSTANCE_URL |
Link to the RC environment in successful RC notifications. |
The workflow summary records the selected wheels and containers. After a live release completes, check the selected artifacts at their destination above. For a stable release, also verify that the GitHub tag and generated GitHub release point to the requested source SHA.
For a stable wheel release, a quick client check is:
uv tool upgrade nemo-helix
nemo --version