Skip to content

ci: harden ArtifactHub release verification#305

Merged
KeiaiLab-PHIL merged 1 commit into
mainfrom
codex/actions-release-artifacthub-fix
Jun 10, 2026
Merged

ci: harden ArtifactHub release verification#305
KeiaiLab-PHIL merged 1 commit into
mainfrom
codex/actions-release-artifacthub-fix

Conversation

@KeiaiLab-PHIL

Copy link
Copy Markdown
Contributor

Summary

  • make ArtifactHub smoke verify the exact GHCR OCI chart version and ArtifactHub package version
  • allow chart-only release tags to pass release.yml without building a new operator image
  • make helm-publish rerun-safe when the OCI chart version already exists
  • replace a stale nolint directive with the staticcheck-supported ignore form

Verification

  • bash -n hack/artifacthub_smoke.sh
  • actionlint .github/workflows/release.yml .github/workflows/helm-publish.yml .github/workflows/artifacthub-verify.yml
  • TAG=1.12.3 bash hack/artifacthub_smoke.sh
  • TAG=1.12.4 bash hack/artifacthub_smoke.sh (expected failure before publish)
  • helm lint charts/mongodb-operator
  • helm template mongodb-operator charts/mongodb-operator --namespace mongodb-operator-system
  • helm package charts/mongodb-operator -d /tmp/mongodb-operator-package-check
  • make lint
  • make test

Notes

  • 1.12.4 remains a chart-only release using appVersion/image v1.12.2.
  • ArtifactHub tracks oci://ghcr.io/keiailab/charts/mongodb-operator, not the legacy gh-pages Helm index.

Co-Authored-By: Codex <codex@openai.com>
Signed-off-by: keiailab <noreply@keiailab.com>
@KeiaiLab-PHIL KeiaiLab-PHIL force-pushed the codex/actions-release-artifacthub-fix branch from edcf63b to 63bf0e4 Compare June 10, 2026 23:32
@KeiaiLab-PHIL KeiaiLab-PHIL merged commit e93b20c into main Jun 10, 2026
12 checks passed
@KeiaiLab-PHIL KeiaiLab-PHIL deleted the codex/actions-release-artifacthub-fix branch June 10, 2026 23:38
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