Skip to content

Make sure GoReleaser provides fleet-helm charts checksums too#4975

Merged
thardeck merged 2 commits intomainfrom
improve_helm_chart_packaging
Apr 16, 2026
Merged

Make sure GoReleaser provides fleet-helm charts checksums too#4975
thardeck merged 2 commits intomainfrom
improve_helm_chart_packaging

Conversation

@thardeck
Copy link
Copy Markdown
Collaborator

@thardeck thardeck requested a review from a team as a code owner April 14, 2026 09:20
Copilot AI review requested due to automatic review settings April 14, 2026 09:20
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the release pipeline so Fleet Helm chart packages are generated during the GoReleaser run and included in the generated checksum manifest (so they’re covered by whatever checksum/signing flow consumes that manifest).

Changes:

  • Add a GoReleaser checksum.extra_files glob for packaged chart .tgz files.
  • Package Helm charts via a new .github/scripts/package-charts.sh invoked from GoReleaser before.hooks.
  • Adjust the release workflow to consume chart packages from .charts/ and ignore .charts/ in git.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 4 comments.

File Description
.goreleaser.yaml Adds checksum inclusion for .charts/*.tgz and runs chart packaging as a pre-hook.
.gitignore Ignores the generated .charts/ directory.
.github/workflows/release.yml Removes the explicit “upload charts to release” step and extracts charts from .charts/ when updating the charts branch.
.github/scripts/package-charts.sh New script to rewrite chart image tags and package charts into .charts/.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/release.yml
Comment thread .goreleaser.yaml
Comment thread .github/scripts/package-charts.sh Outdated
Comment thread .github/scripts/package-charts.sh Outdated
@thardeck thardeck marked this pull request as draft April 14, 2026 09:36
@thardeck thardeck force-pushed the improve_helm_chart_packaging branch from a120c85 to deb9851 Compare April 14, 2026 13:11
@thardeck thardeck marked this pull request as ready for review April 14, 2026 13:11
@thardeck thardeck self-assigned this Apr 14, 2026
@thardeck thardeck added this to Fleet Apr 14, 2026
@thardeck thardeck moved this to 👀 In review in Fleet Apr 14, 2026
@thardeck thardeck force-pushed the improve_helm_chart_packaging branch from deb9851 to 9671538 Compare April 14, 2026 13:18
Copy link
Copy Markdown
Contributor

@weyfonk weyfonk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, with a nitpick

Comment thread .github/scripts/package-charts.sh Outdated
@thardeck thardeck changed the title Make sure GoReleaser signs fleet-helm charts too Make sure GoReleaser provides fleet-helm charts checksums too Apr 16, 2026
@thardeck thardeck merged commit 428237a into main Apr 16, 2026
21 of 22 checks passed
@thardeck thardeck deleted the improve_helm_chart_packaging branch April 16, 2026 14:14
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in Fleet Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

4 participants