-
Notifications
You must be signed in to change notification settings - Fork 42.1k
Description
The staging repo publishing bot https://github.com/kubernetes/test-infra/tree/master/mungegithub/publisher is broken since beginning of August. Meanwhile, I have worked on kubernetes/test-infra#4134 to update our publishing algorithm for a number of reasons, the most important:
- handling of merges on our branches
- automatic tagging of repos
- preparation for golang/dep
Compare https://docs.google.com/document/d/1Y0mWank9s6XZy83wz689O6Q1v-KHxS2J0WIJPBB0sSo/edit?usp=sharing for a longer write-up of the rational.
While the PR needs proper review and probably a rewrite of parts using go-git, @caesarxuchao and I decided to go forward with a manual push of the output of that PR in order to unblock people who rely on our published repos. Intentionally, this should be push (not single PRs) because PRs drop (empty) merge commits which are essential for our ability to automatically tag.
Throughout the day, I have tested the branches as far as I can do that manually:
- by vendoring k8s.io/kuber-aggregator and its dependencies apimachinery, api, client-go and apiserver
- and compiling kube-aggregator.
This should have smoke tested a big number of packages. All looks fine so far.
Hence, I propose to do a push of my forks to the corresponding github.com/kubernetes/* repos.
All branches are clean fast-forward branches (with the exception of k8s.io/metrics), i.e. no force-push is necessary. So just in case, we can easily revert to the old state. The repo k8s.io/metrics was not under control of our publisher bot before. To keep the old history, I propose to rename the master branch to legacy. Then projects vendoring it using a sha1 (e.g. in Godeps) will continue to work.
These are forked repos and branches:
- https://github.com/sttts/sample-apiserver: master, release-1.6, release-1.7 |
- https://github.com/sttts/kube-aggregator: master, release-1.6, release-1.7
- https://github.com/sttts/apiserver: master, release-1.6, release-1.7
- https://github.com/sttts/client-go: master, release-3.0, release-4.0
- https://github.com/sttts/api: master
- https://github.com/sttts/apimachinery: master, release-1.6, release-1.7
- https://github.com/sttts/metrics: master, release-1.7
- https://github.com/sttts/apiextensions-apiserver: master, release-1.7
Here is a script to do the push effectively: https://gist.github.com/anonymous/0db2c5b10dce604acb712964aef37eea
Closes kubernetes/test-infra#4080