Skip to content

Docs release process improvement #1204

@jimangel

Description

@jimangel

This issue is to track the overall process improvement of SIG Docs.

On Dec 6th 2019, @mrbobbytables opened up #956 to improve the docs release cycle using krel ff with a goal of being evaluated during the v1.18 cycle. However, after reviewing our options, it became clear that there needed to be a larger process change.

For historical context, docs release leads were given write access to k/website which was problematic and unnecessary. As a solution, the docs lead began working out of their respective forks to sync docs. This, in turn, created a larger problem where the docs lead needed k/website write access anyway to apply a specific label tide/merge-method-merge to their sync PR.

We can change the merge method of SIG Docs to use prow's defaults which will eliminate the need for applying a label with write access.

After that, we can begin to leverage release tooling like krel to fast-forward the dev-X.xY branches. If a merge conflicts appears, the lead could resolve manually and use krel to commit the change.

We can't automate a branch preference / default because sometimes you need to incorporate master commits, dev-X.xY commits, or a combination of both.

By using this approach, the docs release lead does not need write access until the actual release to merge and cut various release branches. To be honest, if the docs release process was 100% automated via krel, it could be done by a @kubernetes/release-engineering member.

Also, this release krel function can then be used for patch releases, release notes, and verisons to Kubernetes docs on k8s.io (currently unchanged until manual intervention).

This would allow the docs release team to focus on tracking, approving, and merging docs for the release.

TODO:

To help with this process, I plan on assisting the 1.19 release team (/cc @onlydole) as a docs emeritus 😄 with the sole focus on removing human error and improving the handbook for future leads. (on going through 1.20)

Additional resources:

/cc @zacharysarah @kbarnard10 @kbhawkey @sftim
/area release-eng
/kind feature
/priority important-longterm

Metadata

Metadata

Assignees

Labels

area/release-engIssues or PRs related to the Release Engineering subprojectkind/featureCategorizes issue or PR as related to a new feature.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.priority/important-longtermImportant over the long term, but may not be staffed and/or may need multiple releases to complete.sig/releaseCategorizes an issue or PR as relevant to SIG Release.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions