Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signing Helm packages #238

Merged
merged 6 commits into from
Feb 3, 2025
Merged

Signing Helm packages #238

merged 6 commits into from
Feb 3, 2025

Conversation

didierofrivia
Copy link
Member

Part of the work needed for Kuadrant/helm-charts#18

This PR introduces the GPG signing of Helm chart packages upon creation. It also uploads its provenance file to the GH release page.

The job now requires to be passed an environment variable GPG_KEYRING_BASE64 which represents the GPG keyring base64 encoded, in order to be stored as a GH action variable.

@codecov-commenter
Copy link

codecov-commenter commented Jan 30, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 61.54%. Comparing base (a92b462) to head (3c12338).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #238   +/-   ##
=======================================
  Coverage   61.54%   61.54%           
=======================================
  Files           2        2           
  Lines         788      788           
=======================================
  Hits          485      485           
  Misses        251      251           
  Partials       52       52           
Flag Coverage Δ
unit 61.54% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@didierofrivia didierofrivia marked this pull request as ready for review January 31, 2025 11:30
@didierofrivia didierofrivia self-assigned this Jan 31, 2025
@didierofrivia didierofrivia added the kind/enhancement New feature or request label Jan 31, 2025
* Needs an extra step because svenstaro/upload-release-action@v2 doesn't
  support asset naming on file_glob

Signed-off-by: dd di cesare <[email protected]>
* One should import the keyring first for signing the package

Signed-off-by: dd di cesare <[email protected]>
guicassolato
guicassolato previously approved these changes Feb 3, 2025
Copy link
Collaborator

@guicassolato guicassolato left a comment

Choose a reason for hiding this comment

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

At a glance, this LGTM. I haven't tried it myself but all in all I trust it works as expected.

Leaving a couple of questions below just for clarity. Feel free to ignore if they are stupid questions of mine.

make/helm.mk Show resolved Hide resolved
make/helm.mk Show resolved Hide resolved
@didierofrivia didierofrivia merged commit 1d10022 into main Feb 3, 2025
11 checks passed
@didierofrivia didierofrivia deleted the helm-sign-packages branch February 3, 2025 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants