Automate the multi-module release with release-all.sh#6183
Conversation
|
This PR has multiple commits, and the default merge method is: merge. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: tsuzu The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
End-to-end test (with
|
Refs #5866
Summary
releasing/release-all.shto run the full kyaml → cmd/config → api → kustomize release sequence in one invocation, matching the one-command flow requested in Release automation #5866 (koba1t's follow-up). A release no longer requires 4 sequential PRs for the intermediate pin updates; the whole cycle lives on a singlerelease-vX.Y.Zbranch and lands as one "Release vX.Y.Z" PR at the end.gorepomod releaseto require an explicit--release-branch, and share one branch across all four module releases (release-v{major}.{minor}.{patch}) instead of the previous per-modulerelease-{module}-{minor}naming.releasing/README.mdto lead with the scripted flow; the manual step-by-step runbook is preserved under a<details>fallback for major releases or ad-hoc use.gorepomod releasenow requires the--release-branch <branch>flag. Manual invocations inreleasing/README.mdare updated accordingly.Out of scope of this PR
The umbrella issue #5866 has more steps than this PR covers. Left manual / for follow-up:
releasing/README.mdhack/update-kustomize.shin kubernetes/kubernetesrelease-all.shsupportspatch|minoronly; use the manual flowQuestion for reviewers
The release workflow leaves 4 GitHub Releases (kyaml, cmd/config, api, kustomize) in draft state, and the postflight message tells the release engineer to review and undraft them. Would you rather:
release-all.shalso undraft the 4 releases automatically once each workflow completes?