> This page is for version 1.6 (Current) (default).
> For other versions, use one of these documentation indexes:
> - 1.6 (Current) (default): https://docs.nvidia.com/fleet-intel/agent/1.6/llms.txt
> - 1.5: https://docs.nvidia.com/fleet-intel/agent/1.5/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/fleet-intel/agent/llms.txt.

# Release Process

Fleet Intelligence Agent artifacts are built by CI from protected version
tags. Maintainers publish the prepared GitHub release after verifying public NGC availability.

## Ownership and cadence

Project maintainers publish releases as needed. There is no fixed release
schedule. Only maintainers authorized to create protected `v*` tags may trigger
an official release.

Contributors may propose release-related changes through pull requests, but
must not create, move, or replace release tags. Published versions are
immutable.

## Versions and branches

Release tags use semantic versions with a `v` prefix:

- Stable release: `v1.5.0`
- Prerelease: `v1.5.1-rc.1`

Create a `release/<major>.<minor>` branch for each minor release series, for
example `release/1.5`. Create the branch from a reviewed commit on `main` that
has passed the required checks. Patch release fixes must be merged to `main`
first, then cherry-picked into each affected release branch.

## Prepare a release

1. Confirm `main` is current and all required CI checks pass.
2. Review the changes since the previous release and select the next semantic
   version.
3. Include migration guidance for any incompatible configuration, API, state,
   or deployment change.
4. Run the full test suite and build release packages locally without
   publishing:

   ```bash
   make docker-test
   make package-snapshot
   ```

5. Confirm the release runner has its signing tool, signing credentials, and
   package and checksum signing configuration before creating a tag.
6. Merge any required release fixes through the normal pull request process.
7. For a patch release, cherry-pick the reviewed fix into the corresponding
   release branch:

   ```bash
   git switch release/1.5
   git pull --ff-only origin release/1.5
   git cherry-pick -x <commit-sha>
   git push origin release/1.5
   ```

## Trigger a release

An authorized maintainer creates and pushes the protected version tag from the
corresponding release branch:

```bash
git switch release/1.5
git pull --ff-only origin release/1.5
```

Before creating the tag, push the release branch and wait for all required CI
checks to pass for the exact commit at the branch tip. Verify that the passing
workflow run's commit SHA matches `git rev-parse HEAD`; checks on `main` or an
earlier release-branch commit do not qualify. Fetch the release branch again
immediately before tagging and stop if its remote tip no longer matches `HEAD`.

```bash
git fetch origin release/1.5
test "$(git rev-parse HEAD)" = "$(git rev-parse origin/release/1.5)" || {
  echo "release branch advanced; update it and repeat CI verification"
  exit 1
}
git tag -a v1.5.0 -m "Release v1.5.0"
git push --atomic origin HEAD:release/1.5 v1.5.0
```

The atomic push prevents publishing the tag if the remote release branch
advances after the comparison.

Pushing the tag starts
[the release workflow](https://github.com/dsx-ai-factory/fleet-intelligence-agent/blob/main/.github/workflows/release.yml).
The workflow validates the version, refuses to overwrite an existing release,
and then:

1. Builds Linux AMD64 and ARM64 archives, DEB packages, and RPM packages with
   GoReleaser.
2. Signs the Linux packages and checksum manifest and verifies the signatures.
3. Publishes stable DEB packages.
4. Updates the draft GitHub release with verified signed packages, release notes, and NGC links.

After both release workflows succeed, verify that the public NGC images and chart for that version are downloadable and match the built image digests and chart checksum. Then review and publish the draft GitHub release. Publishing a stable GitHub release automatically publishes versioned Fern documentation; creating a tag or draft does not. Mark RC releases as prereleases; they do not publish docs.

Prerelease tags produce prerelease artifacts and do not update stable package
channels.

## Container images and Helm chart

The **Release** workflow builds and publishes the agent and gateway images and
the Helm chart for the selected release version. New versions are published
only to NGC. Pushing a version tag automatically starts the workflow and waits
for environment approval. To run it manually, select the same tag and version:

```bash
gh workflow run release-artifacts.yml --ref v1.6.0 -f version=v1.6.0
```

Publishing requires a tag ref matching the version input and the `ngc-publish` GitHub environment. Configure that environment to allow only release tags, require reviewer approval with self-review and administrator bypass disabled, and store `NGC_API_KEY` only as an environment secret. Restrict release tag creation, updates, and deletion to authorized maintainers through a tag ruleset.

| Artifact | Location |
| --- | --- |
| Agent image | `nvcr.io/nvidia/fleet-intelligence/agent` |
| Gateway image | `nvcr.io/nvidia/fleet-intelligence/otel-gateway` |
| Helm chart | `fleet-intelligence-agent` |
| Helm repository | `https://helm.ngc.nvidia.com/nvidia/fleet-intelligence` |

See [Helm installation](docs/install-helm.md) for installation and upgrade
commands.

## Failure handling

Do not move, delete, or reuse a version tag after the workflow starts. If a
release fails, preserve the workflow logs and draft release for diagnosis, fix
the cause through a pull request, and publish a new patch or prerelease version.