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

Skip release archive #3717

Merged
merged 1 commit into from
Aug 28, 2024
Merged

Skip release archive #3717

merged 1 commit into from
Aug 28, 2024

Conversation

saschagrunert
Copy link
Member

@saschagrunert saschagrunert commented Aug 21, 2024

What type of PR is this?

/kind deprecation

What this PR does / why we need it:

Don't archive the release any more and move the announcement to the release artifacts (kubernetes-release/release/v1.x.y).

Which issue(s) this PR fixes:

Fixes #3716

Special notes for your reviewer:

Test run: https://console.cloud.google.com/cloud-build/builds/30395f84-a680-4315-a144-7049da5f7805

Output: https://console.cloud.google.com/storage/browser/kubernetes-release-gcb/release/v1.31.1

Does this PR introduce a user-facing change?

Skip release archive for `krel release`. `krel announce send` will now use the announcement from the release artifacts rather than the archive.

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/deprecation Categorizes issue or PR as related to a feature/enhancement marked for deprecation. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-priority approved Indicates a PR has been approved by an approver from all required OWNERS files. area/release-eng Issues or PRs related to the Release Engineering subproject sig/release Categorizes an issue or PR as relevant to SIG Release. labels Aug 21, 2024
@k8s-ci-robot k8s-ci-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Aug 21, 2024
@saschagrunert saschagrunert force-pushed the archive branch 2 times, most recently from 24f07c5 to c0b8dd3 Compare August 21, 2024 09:33
@saschagrunert saschagrunert force-pushed the archive branch 3 times, most recently from 898b58a to 5e77b9d Compare August 21, 2024 10:57
@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 21, 2024
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 21, 2024
Don't archive the release any more and move the announcement to the
release artifacts (`kubernetes-release/release/v1.x.y`).

Signed-off-by: Sascha Grunert <[email protected]>
@saschagrunert saschagrunert changed the title WIP: Skip release archive Skip release archive Aug 21, 2024
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 21, 2024
@saschagrunert
Copy link
Member Author

I don't think we need to write the log files, I can follow-up on that.

PTAL @kubernetes/release-engineering

@@ -117,7 +117,7 @@ func runAnnounce(opts *sendAnnounceOptions, announceRootOpts *announceOptions, r

tag := util.AddTagPrefix(announceRootOpts.tag)
u := fmt.Sprintf(
"%s/archive/anago-%s/announcement.html",
"%s/release/%s/announcement.html",
Copy link
Member

Choose a reason for hiding this comment

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

Switching this is not impactful for the patch releases ?

Copy link
Member Author

Choose a reason for hiding this comment

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

It impacts everything, patches and minors.

@ameukam
Copy link
Member

ameukam commented Aug 23, 2024

/lgtm
/hold

In case other releng folx want to chime in.

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 23, 2024
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 23, 2024
Copy link
Member

@cpanato cpanato left a comment

Choose a reason for hiding this comment

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

/lgtm

Copy link
Member

@xmudrii xmudrii left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cpanato, saschagrunert, xmudrii

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@saschagrunert
Copy link
Member Author

@kubernetes/release-engineering PTAL

@ameukam
Copy link
Member

ameukam commented Aug 28, 2024

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 28, 2024
@k8s-ci-robot k8s-ci-robot merged commit 1e56d18 into kubernetes:master Aug 28, 2024
11 checks passed
@saschagrunert saschagrunert deleted the archive branch August 28, 2024 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/release-eng Issues or PRs related to the Release Engineering subproject cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/deprecation Categorizes issue or PR as related to a feature/enhancement marked for deprecation. lgtm "Looks good to me", indicates that a PR is ready to be merged. needs-priority release-note Denotes a PR that will be considered when it comes time to generate release notes. sig/release Categorizes an issue or PR as relevant to SIG Release. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Get rid of kubernetes-release/archive
5 participants