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

fix(ci): call chart releaser directly. #577

Merged
merged 1 commit into from
Nov 6, 2024
Merged

Conversation

jvanz
Copy link
Member

@jvanz jvanz commented Nov 1, 2024

Description

Updates the release CI to call Chart releaser directly to allow us more control over the process on how the artifacts are signed and uploaded.

Fix #574

@jvanz jvanz self-assigned this Nov 1, 2024
@jvanz jvanz requested a review from a team as a code owner November 1, 2024 17:47
echo "Pushing chart $chart_path to ghcr.io"
chart_name=$(helm show chart ${chart_path} | yq ".name")
REGISTRY="ghcr.io/$GITHUB_REPOSITORY_OWNER/charts"
echo "REGISTRY=${REGISTRY}" >> "$GITHUB_ENV"
Copy link
Member

Choose a reason for hiding this comment

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

this is done inside of a for loop, we're going to add this line multiple times, only the last occurrence is going to be used. Do we really need to do that?

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks, I've missed that! Fixed! :)

Updates the release CI to call Chart releaser directly to allow us more
control over the process on how the artifacts are signed and uploaded.

Signed-off-by: José Guilherme Vanz <[email protected]>
Copy link
Member

@flavio flavio left a comment

Choose a reason for hiding this comment

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

LGTM, how are we going to test it?

@jvanz
Copy link
Member Author

jvanz commented Nov 5, 2024

LGTM, how are we going to test it?

I've tested it in my fork. I'll document my tests later in this PR

@flavio
Copy link
Member

flavio commented Nov 6, 2024

@jvanz ship it! 🚀

@jvanz jvanz merged commit d2acce2 into kubewarden:main Nov 6, 2024
4 checks passed
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.

Release jobs are triggered for renovate bot PRs
2 participants