Skip to content

ci: publish CLI binaries to Artifactory for non-alpha tags - #1488

Merged
willkill07 merged 3 commits into
NVIDIA:mainfrom
willkill07:ci/publish-cli-artifactory
Oct 23, 2026
Merged

willkill07 merged 3 commits into
NVIDIA:mainfrom
willkill07:ci/publish-cli-artifactory

Conversation

@willkill07

@willkill07 willkill07 commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

Overview

Publish all seven CLI binaries to NVIDIA Artifactory from GitLab CI for stable, beta, and RC tags. Alpha tags skip CLI binary collection and publication.

  • I confirm this contribution is my own work, or I have the right to submit it under this project's license.
  • I searched existing issues and open pull requests, and this does not duplicate existing work.

Details

  • Collect cli-binary-* artifacts from the matching successful GitHub Actions run and retain them as GitLab job artifacts.
  • Add a non-alpha tag publishing job that uploads the binaries to <NEMO_RELAY_CI_ARTIFACTORY_GENERIC_URL>/<tag>/<filename>, preserving release filenames and Windows .exe extensions.
  • Require seven nonempty binaries before uploading and fail on HTTP upload errors.
  • Require NEMO_RELAY_CI_ARTIFACTORY_GENERIC_URL from GitLab CI variables and accept a trailing slash. Reuse NEMO_RELAY_CI_ARTIFACTORY_USER and NEMO_RELAY_CI_ARTIFACTORY_KEY; document the destination and required deploy access in RELEASING.md.

Validation: YAML parsing, shell syntax, and mocked collection/upload checks passed for stable, beta, RC, alpha exclusion, missing credentials, missing/empty binaries, and HTTP failure. Required URL and upload destination checks passed with and without a trailing slash. Repository commit hooks passed. Actual Artifactory deploy access has not been verified. Language suites were not run because this change affects only CI configuration and release documentation.

Where should the reviewer start?

Start with publish:artifactory:cli in .gitlab-ci.yml, then review the conditional CLI collection in collect:github-artifacts.

Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to)

Relates to: none

Summary by CodeRabbit

  • Release Availability

    • CLI binaries are now published to Artifactory for non-alpha releases. Windows executable filenames are preserved.
    • Alpha releases do not include CLI binaries in this publication.
  • Documentation

    • Updated release guidance to describe CLI binary availability and the requirements for publishing non-alpha releases.

@willkill07
willkill07 requested a review from a team as a code owner October 23, 2026 20:06
@github-actions github-actions Bot added size:S PR is small Maintenance CI or Build or general repository maintenance labels Oct 23, 2026
@coderabbitai

coderabbitai Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration
📥 Commits

Reviewing files that changed from the base of the PR and between ea369e1 and dc3267d.

📒 Files selected for processing: 2
  • .gitlab-ci.yml
  • RELEASING.md
+-------------------------------------------+
| Buckle up! It's going to be a buggy ride. |
+-------------------------------------------+
  \
   \     /)/)
        ( '')
        /  |
      o(___)

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
📥 Commits

Reviewing files that changed from the base of the PR and between 6443688 and ea369e1.

📒 Files selected for processing: 2
  • .gitlab-ci.yml
  • RELEASING.md

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 11 remain after this review.

📜 Recent review details
⏰ Context from checks skipped due to timeout: 1
  • GitHub Check: Changes / Detect
🧰 Additional context used
📚 Code guidelines: 2
.agents/skills/contribute-docs/SKILL.md — configured
AGENTS.md — configured
📓 Path-based instructions: 4
Review automation changes for reproducibility, pinned versions where appropriate, secret handling, and consistency with the documented validation matrix.

⚙️ CodeRabbit configuration file

Files:

  • .gitlab-ci.yml
Review documentation for technical accuracy against the current API, command correctness, and consistency across language bindings.

⚙️ CodeRabbit configuration file

Files:

  • RELEASING.md
Source excerpt: Keep release-process and release-notes guidance in repo-maintainer docs such as `RELEASING.md`, not as user-facing docs pages or `CHANGELOG.md`

📄 CodeRabbit inference engine (.agents/skills/contribute-docs/SKILL.md)

Files:

  • RELEASING.md
Source excerpt: Keep release-process policy in maintainer sources such as `RELEASING.md` and complete release history in GitHub Releases.

📄 CodeRabbit inference engine (AGENTS.md)

Files:

  • RELEASING.md
🧠 Learnings: 2
📚 Learning: 2026-10-19T23:40:37.954Z
Learnt from: CR
Repo: NVIDIA/NeMo-Relay PR: 0
File: .agents/skills/contribute-docs/SKILL.md:0-0
Timestamp: 2026-10-19T23:40:37.954Z
Learning: Applies to RELEASING.md : Source excerpt:
# Contribute Docs Or Examples

## Rules

- Keep release-process and release-notes guidance in repo-maintainer docs such as
  `RELEASING.md`, not as user-facing docs pages or `CHANGELOG.md`

Applied to files:

  • RELEASING.md
📚 Learning: 2026-10-19T23:46:28.573Z
Learnt from: CR
Repo: NVIDIA/NeMo-Relay PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-10-19T23:46:28.573Z
Learning: Applies to RELEASING.md : Source excerpt:
# NeMo Relay Repository Guidance

## Repository Conventions

- Keep release-process policy in maintainer sources such as `RELEASING.md` and
  complete release history in GitHub Releases.

Applied to files:

  • RELEASING.md
🔇 Additional comments: 2
.gitlab-ci.yml: 1

145-158: LGTM!

Also applies to: 188-188, 191-231

RELEASING.md: 1

322-328: LGTM!

Walkthrough

The GitLab pipeline now collects seven CLI binaries for non-alpha tags and publishes them to a tag-specific Artifactory directory. The release instructions document the collection and publication rules.

Changes

CLI binary release

Layer / File(s) Summary
Collect CLI binaries
.gitlab-ci.yml
For non-alpha tags, the collector downloads CLI binary artifacts, requires exactly seven, and includes them in its artifacts. Alpha tags skip collection.
Publish CLI binaries
.gitlab-ci.yml, RELEASING.md
The publication job checks credentials and binary files, then uploads each binary to the tag-specific Artifactory directory. The release instructions document the credential, filename, and alpha-tag rules.

Priority: ⚪ Pending latest changes

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Feature

Sequence Diagram(s)

sequenceDiagram
  participant GitLabPipeline
  participant collect_github_artifacts
  participant publish_artifactory_cli
  participant Artifactory
  GitLabPipeline->>collect_github_artifacts: Collect seven binaries for non-alpha tags
  collect_github_artifacts->>publish_artifactory_cli: Provide collected binary artifacts
  publish_artifactory_cli->>Artifactory: Upload binaries to the tag-specific directory
Loading
Merge Risk: ⚪ Minimal · up to ea369

The documented non-alpha publication flow appears consistent and is ready for normal release checks. Artifactory deploy access still needs confirmation.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title uses the allowed ci type, describes the main change, uses an imperative summary, stays within 72 characters, and has no trailing period.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The pull request description includes all required sections, completed contribution and duplicate-work confirmations, detailed implementation and validation information, reviewer guidance, and a relat…
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (2 skipped: 2 unsupported.)

Full details: Description check

Explanation

The pull request description includes all required sections, completed contribution and duplicate-work confirmations, detailed implementation and validation information, reviewer guidance, and a related-issues statement. It clearly notes that actual Artifactory deploy access was not verified.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@willkill07 willkill07 self-assigned this Oct 23, 2026
@willkill07 willkill07 added this to the 0.11 milestone Oct 23, 2026
@willkill07
willkill07 enabled auto-merge (squash) October 23, 2026 20:14
Comment thread RELEASING.md Resolved
@willkill07
willkill07 merged commit f025440 into NVIDIA:main Oct 23, 2026
26 of 27 checks passed
@willkill07
willkill07 deleted the ci/publish-cli-artifactory branch October 30, 2026 14:46

This branch was previously deployed

1 inactive deployment
fern — dc3267da Deployed Oct 23, 2026 by willkill07 via Clean up docs preview #6494
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Maintenance CI or Build or general repository maintenance size:S PR is small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants