Closed spiffxp closed 3 years ago
@spiffxp: The provided milestone is not valid for this repository. Milestones in this repository: [v1.19
, v1.20
]
Use /milestone clear
to clear the milestone.
/milestone v1.21
prowjob configs:
prowjob names:
prowjob contents:
prow configs:
docs:
OK I'm going to click the button...
Do itttttt 🎉 ✨ /pony party
Pushed the button.
Slack alerter fired:
presubmits for open PRs and postsubmits were retriggered:
visiting the repo via the website now shows a popup
Doing a PR via the UI already uses the correct branch name. I happen to use hub pull-request
a lot locally, let me see what that experience is like...
trying hub pull-request
from a local copy of the repo that hasn't been updated at all:
$ hub pull-request
Error creating pull request: Unprocessable Entity (HTTP 422)
Invalid value for "base"
trying git fetch from a local copy of the repo that hasn't been updated at all
$ git fetch origin master
fatal: couldn't find remote ref master
updated per their instructions
git branch -m master main
git fetch origin
git branch -u origin/main main
hub pull-request
still not working...
Fetch origin as I usually do...
$ git fetch --prune origin
From github.com:kubernetes/org
- [deleted] (none) -> origin/master
(refs/remotes/origin/HEAD has become dangling)
dangling you say?
$ cat .git/refs/remotes/origin/HEAD
ref: refs/remotes/origin/master
let's update that
$ git remote set-head origin -a
origin/HEAD set to main
hub pull-request
works now, yay
Sample PR to confirm things still work (without a post-rename PR yet): https://github.com/kubernetes/org/pull/2473
The pre/post submits getting re-triggered for smaller repos will probably be fine, but I fear what it'd do for k/k 😬
Yeah once I wrap this up I'd like to writeup where we got lucky and what we should watch out for to help choose other candidates and identify blockers/mitigations
Post-rename cleanup PR merged: https://github.com/kubernetes/test-infra/pull/20669
Notice sent to https://groups.google.com/g/kubernetes-dev/c/mKwxJW5z2Lk
Where we got lucky:
master
not in job names; we didn't have to deal with status-context renames or loss of testgrid historymaster
in their codeLessons learned:
master
is milestone_applier - try adding both branches pre-renamemaster
is branch-protection (for kubernetes/website)git remote origin set-head -a
for my local clone, in addition to the instructions GitHub providedSome mitigations to consider:
master
if branch omitted (ref: https://github.com/kubernetes/test-infra/issues/20672)max_concurrency
, but I suspect a large enough flood of pending jobs will timeout before they are all processedI'm holding this open until we see the next run of https://testgrid.k8s.io/sig-contribex-org#ci-peribolos to confirm it's using the new branch
/close Next run passed, confirmed using main https://prow.k8s.io/view/gcs/kubernetes-jenkins/logs/ci-org-peribolos/1355356401299361792
@spiffxp: Closing this issue.
Part of umbrella issue https://github.com/kubernetes/org/issues/2222
Issue to spec out and then run through renaming the default branch for this repository
/sig contributor-experience /area github-management owns the repo /sig testing to discover any prow issues /milestone v1.21 /priority important-soon /assign @spiffxp I plan on working through this