Automatic Kubernetes release branch fast forward

60 views
Skip to first unread message

Sascha Grunert

unread,
Feb 11, 2022, 6:28:29 AMFeb 11
to d...@kubernetes.io, release-managers, kubernetes-sig-release
Hey folks,

One of our goals in the Release Engineering subproject of SIG Release
is making the cherry-pick experience to release branches easier and
more aligned to the overall release process. There have been
discussions about whether or not it is required to do cherry-picks to
new release branches during the cycle, justified by the fact that we
do not manually fast forward release branches any more since a couple
of releases.

Based on this discussion, we were working on the creation of an
automatic release branch fast forward periodic job in prow, which is
actually working since yesterday (in mocked mode):

https://testgrid.k8s.io/sig-release-releng-informing#git-repo-kubernetes-fast-forward
https://github.com/kubernetes/release/issues/2386

You can see from the latest runs that the job does nothing right now,
because we do not have a release-1.24 branch yet. If the branch gets
created, then the job will sync the release branch and master until we
cut the final tag v1.24.0.

The job does no actual modification to the k/k repository yet, since
we're running it still in mocked mode. Our plan is to graduate the job
to sig-release-releng-blocking with the beginning of the 1.25 release
cycle (mid April) by removing the mocked behavior.

This means for the current cycle: Please still cherry-pick your merged
master PRs into the upcoming release-1.24 branch (planned for April 5)
in the same way we did it in the last cycle.

As a next step we will take care of updating the developer
documentation to reflect the current state. Thank you all and have a
wonderful weekend!

All the best,
Sascha
- on behalf of SIG Release

Davanum Srinivas

unread,
Feb 11, 2022, 8:33:09 AMFeb 11
to Sascha Grunert, d...@kubernetes.io, release-managers, kubernetes-sig-release
Thanks a ton Sascha!

--
You received this message because you are subscribed to the Google Groups "kubernetes-sig-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-re...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-release/CAPre7xAfpmH3N6nCeLpXC4iuZCcHFiTcfyXZBT%2Bu4APU3%2BmSXw%40mail.gmail.com.


--
Davanum Srinivas :: https://twitter.com/dims

Adolfo García Veytia

unread,
Feb 11, 2022, 1:43:51 PMFeb 11
to d...@kubernetes.io
Outstanding Sascha, thank you for handling this all by yourself!
--
Adolfo García Veytia

Benjamin Elder

unread,
Feb 11, 2022, 1:49:59 PMFeb 11
to Adolfo García Veytia, d...@kubernetes.io
Really glad to see this, thanks Sascha!

--
You received this message because you are subscribed to the Google Groups "dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dev+uns...@kubernetes.io.
To view this discussion on the web visit https://groups.google.com/a/kubernetes.io/d/msgid/dev/fb72a437-0f95-b5b0-7240-2571828922d0%40uservers.net.

Carlos Tadeu Panato Jr

unread,
Feb 11, 2022, 2:14:04 PMFeb 11
to benth...@google.com, Adolfo García Veytia, d...@kubernetes.io

Antonio Ojea

unread,
Feb 11, 2022, 5:01:05 PMFeb 11
to cta...@gmail.com, Benjamin Elder, Adolfo García Veytia, dev

Sascha Grunert

unread,
Apr 20, 2022, 11:06:24 AMApr 20
to d...@kubernetes.io, release-managers, kubernetes-sig-release
Hey folks,

Since we now have a release-1.24 branch, I'd like to note that we
still have to cherry-pick all merged PRs into the release branch until
v1.24.0 has been released.

The new testfreeze plugin will hint you towards that, for example like there:
https://github.com/kubernetes/kubernetes/pull/109559#issuecomment-1103590927

The automatic fast-forward job will be monitored during the next weeks
and will go live after v1.24.0.

All the best,
Sascha
> To view this discussion on the web visit https://groups.google.com/a/kubernetes.io/d/msgid/dev/CABhP%3Dtb%2BPrrvW5Ky9fU0bdiWL4vs%2BS2xrfYLQSrRrV5dBpqrow%40mail.gmail.com.

Sascha Grunert

unread,
May 5, 2022, 11:02:55 AM (12 days ago) May 5
to d...@kubernetes.io, release-managers, kubernetes-sig-release
Hey folks,

The automatic release branch fast forward job is now running in nomock
(live) mode as part of the upcoming v1.25 release cycle.

This means that no manual cherry-picks to release-1.25 are required
any more! \ö/

We also promoted the job to release-blocking:
https://testgrid.k8s.io/sig-release-releng-blocking#git-repo-kubernetes-fast-forward

Beside that, the prow testfreeze plugin will mention the new workflow
in a comment on every PR if we're in the testfreeze period (end of the
cycle):
https://github.com/kubernetes/test-infra/pull/26190

As fancy as possible, the comment provided by the plugin will mention
when the most recent fast-forward from master to release-1.25 has been
done.

The docs have been updated as well:
https://github.com/kubernetes/sig-release/blob/master/releases/release_phases.md#test-freeze

Feel free to reach out to me if you have any questions or concerns, or
drop a note at the related issue:
https://github.com/kubernetes/release/issues/2386

All the best,
Sascha
Reply all
Reply to author
Forward
0 new messages