Skip to content

ci: ensure goreleaser chart publish script runs only once#1041

Merged
lukasmetzner merged 1 commit into
mainfrom
gorelease-chart-publish
Oct 2, 2025
Merged

ci: ensure goreleaser chart publish script runs only once#1041
lukasmetzner merged 1 commit into
mainfrom
gorelease-chart-publish

Conversation

@jooola

@jooola jooola commented Oct 1, 2025

Copy link
Copy Markdown
Member

All artifacts must have a non empty ID, otherwise the ids: [""] filter will include artifacts with an empty ID (strings in go are initialized to "").

Add an ID to all artifacts to prevent running in the problem described abovei and filter all IDs using a unused ID ("none") in the helm chart publisher.

In addition, do skip publishing the helm chart if the chart file already exists in the chart repository.

All artifacts must have a non empty ID, otherwise the `ids: [""]` filter will
include artifacts with an empty ID (strings in go are initialized to
"").

Add an ID to all artifacts to prevent running in the problem described
abovei and filter all IDs using a unused ID ("none") in the helm chart
publisher.

In addition, do skip publishing the helm chart if the chart file already
exists in the chart repository.
@jooola
jooola requested a review from a team as a code owner October 1, 2025 17:28
@codecov

codecov Bot commented Oct 1, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 67.52%. Comparing base (f5345d1) to head (f081c46).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1041   +/-   ##
=======================================
  Coverage   67.52%   67.52%           
=======================================
  Files          23       23           
  Lines        3249     3249           
=======================================
  Hits         2194     2194           
  Misses        885      885           
  Partials      170      170           
Flag Coverage Δ
e2e 45.41% <ø> (ø)
unit 63.80% <ø> (ø)

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jooola jooola changed the title ci: ensure goreleaser custom publish runs only once ci: ensure goreleaser chart publish script runs only once Oct 1, 2025
@lukasmetzner
lukasmetzner merged commit 655830b into main Oct 2, 2025
10 checks passed
@lukasmetzner
lukasmetzner deleted the gorelease-chart-publish branch October 2, 2025 07:02
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.

2 participants