Change default branch to main
Overview
https://gitlab.com/gitlab-org/gitlab/-/issues/221014 has shipped and GitLab.com is going to change the default branch to be main instead of master to follow the new default branch of git.
Checklist Template
-
Create mainbranch from master -
Set mainto be a protected branch -
Update all reference to mastertomaininside of the GitLab Runner repository -
Update Settings > Repository > Default Branch -
Update all open merge requests to point to mainby running mastertomain -
Sync mainwithmastergit fetch origin git checkout main git reset --hard origin/master git push origin main -
Update security fork -
Update any upstream reference to project -
Announce that the process is done in slack -
Delete masterbranch
Projects to change
https://gitlab.com/gitlab-org/charts/gitlab-runner
-
Create mainbranch from master -
Set mainto be a protected branch👉 #27239 (comment 589767112) -
Update all reference to mastertomaininside of the GitLab Runner repository👉 gitlab-org/charts/gitlab-runner!298 (merged) -
Update Settings > Repository > Default Branch👉 #27239 (comment 591695255) -
Update all open merge requests to point to mainby running mastertomain👉 #27239 (comment 591693633) -
Sync mainwithmastergit fetch origin git checkout main git reset --hard origin/master git push origin main -
Delete masterbranch -
Update security fork 👉 #27239 (comment 591695255) -
Update any upstream docs reference to gitlab-runner-charts -
gitlab-org/gitlab👉 gitlab!62917 (merged) -
gitlab-org/gitlab-runner👉 !2930 (merged) -
gitlab-org/ci-cd/runner-release-helper: gitlab-org/ci-cd/runner-release-helper!60 (merged)
-
-
Announce that the process is done in slack
https://gitlab.com/gitlab-org/gitlab-runner
-
Create mainbranch from master -
Set mainto be a protected branch👉 #27239 (comment 588679841) -
Update all reference to mastertomaininside of the GitLab Runner repository👉 !2930 (merged) -
Update Settings > Repository > Default Branch -
Update all open merge requests to point to mainby running mastertomain -
Sync mainwithmastergit fetch origin git checkout main git reset --hard origin/master git push origin main -
Update security fork -
Update any upstream docs reference to gitlab-runner -
gitlab-org/gitlab👉 gitlab!62917 (merged) -
gitlab-org/ci-cd/runner-release-helper: gitlab-org/ci-cd/runner-release-helper!60 (merged) -
gitlab-org/ci-cd/tests/runner-incept: gitlab-org/ci-cd/tests/runner-incept!22 (merged)
-
-
Announce that the process is done in slack -
Delete masterbranch
https://gitlab.com/gitlab-org/ci-cd/custom-executor-drivers/autoscaler
-
Create mainbranch from master -
Set mainto be a protected branch👉 #27239 (comment 589781262) -
Update all reference to mastertomaininside of the GitLab Runner repository👉 gitlab-org/ci-cd/custom-executor-drivers/autoscaler!157 (merged) -
Update Settings > Repository > Default Branch -
Update all open merge requests to point to mainby running mastertomain -
Sync mainwithmastergit fetch origin git checkout main git reset --hard origin/master git push origin main -
Delete masterbranch -
Announce that the process is done in slack
http://gitlab.com/gitlab-org/ci-cd/shared-runners/images/macstadium/orka/
-
Create mainbranch from master -
Set mainto be a protected branch👉 #27239 (comment 591711193) -
Update all reference to mastertomaininside of the GitLab Runner repository👉 gitlab-org/ci-cd/shared-runners/images/macstadium/orka!102 (merged) -
Update Settings > Repository > Default Branch👉 #27239 (comment 591712356) -
Update all open merge requests to point to mainby running mastertomain👉 -
Sync mainwithmastergit fetch origin git checkout main git reset --hard origin/master git push origin main -
Announce that the process is done in slack -
Delete masterbranch
https://gitlab.com/gitlab-org/ci-cd/shared-runners/images/gcp/windows-containers
-
Create mainbranch from master -
Set mainto be a protected branch👉 #27239 (comment 591736498) -
Update all reference to mastertomaininside of the GitLab Runner repository👉 gitlab-org/ci-cd/shared-runners/images/gcp/windows-containers!37 (merged) -
Update Settings > Repository > Default Branch -
Update all open merge requests to point to mainby running mastertomain -
Sync mainwithmastergit fetch origin git checkout main git reset --hard origin/master git push origin main -
Announce that the process is done in slack -
Delete masterbranch
https://gitlab.com/gitlab-org/ci-cd/runner-release-helper
-
Create mainbranch from master -
Set mainto be a protected branch👉 #27239 (comment 591810780) -
Update all reference to mastertomaininside of the GitLab Runner repository👉 gitlab-org/ci-cd/runner-release-helper!61 (merged) -
Update Settings > Repository > Default Branch -
Update all open merge requests to point to mainby running mastertomain -
Sync mainwithmastergit fetch origin git checkout main git reset --hard origin/master git push origin main -
Update any upstream docs reference to project -
Update PROCESS.md 👉 !2939 (merged)
-
-
Announce that the process is done in slack -
Delete masterbranch
https://gitlab.com/gitlab-org/ci-cd/tests/runner-incept
-
Create mainbranch from master -
Set mainto be a protected branch👉 #27239 (comment 591834281) -
Update Settings > Repository > Default Branch👉 #27239 (comment 591839209) -
Update all open merge requests to point to mainby running mastertomain👉 #27239 (comment 591839853) -
Sync mainwithmastergit fetch origin git checkout main git reset --hard origin/master git push origin main -
Announce that the process is done in slack
https://gitlab.com/gitlab-org/ci-cd/docker-machine
-
Create mainbranch from master -
Set mainto be a protected branch👉 #27239 (comment 591881545) -
Update all reference to mastertomaininside of the GitLab Runner repository👉 gitlab-org/ci-cd/docker-machine!56 (merged) -
Update Settings > Repository > Default Branch -
Update all open merge requests to point to mainby running mastertomain -
Sync mainwithmastergit fetch origin git checkout main git reset --hard origin/master git push origin main -
Announce that the process is done in slack -
Delete masterbranch