Skip to content

ci(release): publish the Artifact Hub repository metadata to the chart OCI repo - #276

Merged
sunib merged 1 commit into
mainfrom
feat/artifacthub-repo-metadata
Jul 27, 2026
Merged

ci(release): publish the Artifact Hub repository metadata to the chart OCI repo#276
sunib merged 1 commit into
mainfrom
feat/artifacthub-repo-metadata

Conversation

@sunib

@sunib sunib commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Artifact Hub reads a chart repository's verified-publisher flag and ownership claim from a plain OCI artifact stored in that repository under the fixed artifacthub.io tag, identified by its layer media type. helm push cannot produce that shape, so the publish-helm job pushes it with oras, straight from the file in Git — re-pushed on every release, so charts/artifacthub-repo.yml stays the source of truth.

  • charts/artifacthub-repo.yml — the metadata file, in the upstream format, carrying the repositoryID and the ownership-claim owners entry. It sits outside charts/gitops-reverser/ on purpose, so helm package does not bundle it into the chart tarball.
  • .github/workflows/release.yml — a new step in publish-helm, after the chart is pushed and signed. It gets its own oras login: helm and cosign each write their own registry config, so neither login covers oras.
  • .devcontainer/Dockerfileoras v1.3.3, checksum-verified, baked into the ci stage. publish-helm runs inside this image, the same reason cosign lives there.
  • README.md — the Artifact Hub badge.
  • docs/ci-overview.md — a row for the new artifact in the release-artifacts table.

The badge and the Verified Publisher flag light up once the repository is registered in the Artifact Hub control panel and a release has run to push the artifacthub.io tag.

🤖 Generated with Claude Code

…t OCI repo

Artifact Hub reads a repository's verified-publisher flag and ownership claim
from a plain OCI artifact stored in the chart repository under the fixed
`artifacthub.io` tag, identified by its layer media type. `helm push` cannot
produce that shape, so the publish-helm job now pushes it with oras, straight
from the file in Git.

The metadata file lives at charts/artifacthub-repo.yml, outside the chart
directory, so `helm package` does not bundle it into the chart tarball.

oras joins cosign as a tool baked into the ci-image, for the same reason:
publish-helm runs inside that image.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 27, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@sunib, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 31 seconds

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: eb8560ef-a034-4994-95a3-aa62c22fb6e0

📥 Commits

Reviewing files that changed from the base of the PR and between 80989ea and da36b47.

📒 Files selected for processing (5)
  • .devcontainer/Dockerfile
  • .github/workflows/release.yml
  • README.md
  • charts/artifacthub-repo.yml
  • docs/ci-overview.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/artifacthub-repo-metadata

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@sunib
sunib merged commit 5a08c43 into main Jul 27, 2026
12 checks passed
@sunib
sunib deleted the feat/artifacthub-repo-metadata branch July 27, 2026 12:42
@codecov

codecov Bot commented Jul 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant