Skip to content

feat(release): add chart_repos, release_notes_extra and notify inputs - #2

Merged
rebel-mskim merged 3 commits into
mainfrom
feat/chart-repos-notes-extra-notify
Sep 14, 2026
Merged

rebel-mskim merged 3 commits into
mainfrom
feat/chart-repos-notes-extra-notify

Conversation

@rebel-mskim

@rebel-mskim rebel-mskim commented Sep 14, 2026 •

Copy link
Copy Markdown
Collaborator

Motivation

rbln-npu-operator is adopting the kit and needs three things the reusable release workflow could not do: register a chart dependency repository, append a generated table to the release notes, and post its own Slack summary because it adds jobs after release.

Summary of Changes

  • chart_repos: name=url list registered with helm repo add --force-update before helm dependency build in the rc and GA chart jobs. Without it a fresh runner fails with no repository definition for <url>.
  • release_notes_extra: file in the caller checkout appended after Known Issues. A script (first line #!, executable) runs with VERSION, HARBOR_REGISTRY, DOCKERHUB_REGISTRY, IMAGES and CHART_DIR set and its stdout is appended; a markdown file is appended as-is. A script without the executable bit, or a path that is not a file, fails; a bare filename runs from the checkout, not from PATH.
  • notify (default true): false skips the kit's rc/GA Slack summaries; label deletion and everything else stay.
  • Template: the chart comment now says "remove the chart_* lines" (there are three).

Technical Details

  • Defaults keep the six current consumers unchanged. After merge: tag v1.1.0 and move v1; ci(release): adopt cloud-component-release-kit rbln-npu-operator#128 depends on it.
  • Review follow-ups folded in: mode chosen by shebang instead of the executable bit (a +x markdown file was executed, a bare filename was looked up on PATH, a non-executable script was pasted as text); the GA release-notes step exports VERSION like the rc step; helm repo add --force-update. The require_extra_approval_for_unattributed_changes line was dropped again: it is GitHub's server default and has no effect on a ruleset that requires zero approvals.
  • Verified: bats tests 56/56, shellcheck, actionlint; CI green on 3e54de0.

🤖 Generated with Claude Code

@rebel-mskim
rebel-mskim force-pushed the feat/chart-repos-notes-extra-notify branch from 268294d to 0da887b Compare September 14, 2026 07:10
@rebel-mskim rebel-mskim changed the title feat: chart_repos, release_notes_extra and notify inputs for release.yaml feat(release): add chart_repos, release_notes_extra and notify inputs Sep 14, 2026
rebel-mskim and others added 2 commits September 14, 2026 16:22
…update

release-notes.sh chose by the executable bit: a bare filename was looked up
on PATH (command not found), a markdown file that happened to be +x was
executed, and a script committed without +x was pasted into the notes as
text. A file is now a script iff its first line is "#!": a script without
the executable bit fails with a chmod hint, a bare name runs from the
checkout, anything else is appended as-is.

helm repo add gets --force-update so a repository name already registered
on the runner with another URL is replaced instead of failing the job.

Template: "remove both chart lines" -> the chart_* lines (chart_repos is a
third one now).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
… ruleset line

The release_notes_extra script saw VERSION on every rc pre-release but not
on the GA draft, so a script that used it would fail only after ga-promote
had already pushed to docker.io. Both steps now export it, and the input
description says which variables the script may rely on.

require_extra_approval_for_unattributed_changes is GitHub's server-side
default and has no effect on a ruleset that requires zero approvals, so
protect-main.json goes back to what main has.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@rebel-mskim rebel-mskim self-assigned this Sep 14, 2026
@rebel-mskim
rebel-mskim merged commit 590f083 into main Sep 14, 2026
2 checks passed
@rebel-mskim
rebel-mskim deleted the feat/chart-repos-notes-extra-notify branch September 14, 2026 07:34
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