Skip to content
This repository was archived by the owner on Jun 9, 2025. It is now read-only.

Commit 5747df5

Browse files
committed
Update "master" branch language to "main"
1 parent 01e05ba commit 5747df5

File tree

4 files changed

+23
-23
lines changed

4 files changed

+23
-23
lines changed

.github/workflows/dispatch-update.yml.bk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Dispatch update
22
on:
33
push:
44
branches:
5-
- master
5+
- main
66
workflow_dispatch:
77
inputs:
88
reason:

README.dev.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@
77
- [Open a PR](#open-a-pr)
88
- [Smoke test](#smoke-test)
99
- [Using the sourcegraph/deploy-k8s-helper tool](#using-the-sourcegraphdeploy-k8s-helper-tool)
10-
- [Do smoke tests for `master` branch](#do-smoke-tests-for-master-branch)
11-
- [Check the upgrade path from the previous release to `master`](#check-the-upgrade-path-from-the-previous-release-to-master)
10+
- [Do smoke tests for `main` branch](#do-smoke-tests-for-main-branch)
11+
- [Check the upgrade path from the previous release to `main`](#check-the-upgrade-path-from-the-previous-release-to-main)
1212
- [Manual instructions](#manual-instructions)
1313
- [Provision a new cluster](#provision-a-new-cluster)
14-
- [Do smoke tests for `master` branch](#do-smoke-tests-for-master-branch-1)
15-
- [Check the upgrade path from the previous release to `master`](#check-the-upgrade-path-from-the-previous-release-to-master-1)
14+
- [Do smoke tests for `main` branch](#do-smoke-tests-for-main-branch-1)
15+
- [Check the upgrade path from the previous release to `main`](#check-the-upgrade-path-from-the-previous-release-to-main-1)
1616
- [Minikube](#minikube)
1717

1818
## Docker images
1919

2020
Refer to [deployment basics](https://about.sourcegraph.com/handbook/engineering/deployments#deployment-basics) to learn about Sourcegraph Docker images and [Renovate](https://renovatebot.com/docs/docker/), which performs most image updates.
2121

22-
The `master` branch of this repository is configured to track the latest builds from `sourcegraph/sourgraph@main`, tagged as `insiders`. Renovate automatically performs updates for these images.
22+
The `main` branch of this repository is configured to track the latest builds from `sourcegraph/sourgraph@main`, tagged as `insiders`. Renovate automatically performs updates for these images.
2323

2424
Release branches (`3.19`, etc) track specific versions instead, and updates are triggered manually for specific branches - see [cutting a release](#cutting-a-release).
2525

@@ -47,20 +47,20 @@ If you want to update Docker images manually, you can update the Docker image ve
4747

4848
### Open a PR
4949

50-
Wait for buildkite to pass and for your changes to be approved, then merge and check out `master`.
50+
Wait for buildkite to pass and for your changes to be approved, then merge and check out `main`.
5151

5252
### Smoke test
5353

54-
Test what is currently checked in to master by [installing](docs/install.md) Sourcegraph on a fresh cluster.
54+
Test what is currently checked in to main by [installing](docs/install.md) Sourcegraph on a fresh cluster.
5555

5656
#### Using the sourcegraph/deploy-k8s-helper tool
5757

58-
Clone [`sourcegraph/deploy-k8s-helper`](https://github.com/sourcegraph/deploy-k8s-helper) to your machine and follow the [README](https://github.com/sourcegraph/deploy-k8s-helper/blob/master/README.md) to set up all the prerequisistes.
58+
Clone [`sourcegraph/deploy-k8s-helper`](https://github.com/sourcegraph/deploy-k8s-helper) to your machine and follow the [README](https://github.com/sourcegraph/deploy-k8s-helper/blob/main/README.md) to set up all the prerequisistes.
5959

60-
##### Do smoke tests for `master` branch
60+
##### Do smoke tests for `main` branch
6161

62-
1. Ensure that the `deploySourcegraphRoot` value in your stack configuration (see https://github.com/sourcegraph/deploy-k8s-helper/blob/master/README.md) is pointing to your deploy-sourcegraph checkout (ex: `pulumi config set deploySourcegraphRoot /Users/ggilmore/dev/go/src/github.com/sourcegraph/deploy-sourcegraph`)
63-
1. In your deploy-sourcegraph checkout, make sure that you're on the latest `master`
62+
1. Ensure that the `deploySourcegraphRoot` value in your stack configuration (see https://github.com/sourcegraph/deploy-k8s-helper/blob/main/README.md) is pointing to your deploy-sourcegraph checkout (ex: `pulumi config set deploySourcegraphRoot /Users/ggilmore/dev/go/src/github.com/sourcegraph/deploy-sourcegraph`)
63+
1. In your deploy-sourcegraph checkout, make sure that you're on the latest `main`
6464
1. Run `yarn up` in your https://github.com/sourcegraph/deploy-k8s-helper checkout
6565
1. It'll take a few minutes for the cluster to be provisioned and for sourcegraph to be installed. Pulumi will show you the progresss that it's making, and will tell you when it's done.
6666
1. Use the instructions in [configure.md](docs/configure.md) to:
@@ -69,12 +69,12 @@ Clone [`sourcegraph/deploy-k8s-helper`](https://github.com/sourcegraph/deploy-k8
6969
1. Do a few test searches
7070
1. When you're done, run `yarn destroy` to tear the cluster down. This can take ~10 minutes.
7171

72-
##### Check the upgrade path from the previous release to `master`
72+
##### Check the upgrade path from the previous release to `main`
7373

7474
1. In your deploy-sourcegraph checkout, checkout the commit that contains the configuration for the previous release (e.g. the commit that has `2.11.x` images if you're currently trying to release `2.12.x`, etc.)
7575
1. Run `yarn up` in your https://github.com/sourcegraph/deploy-k8s-helper checkout
76-
1. Do [the same smoke tests that you did above](#Do-smoke-tests-for-master-branch)
77-
1. In your deploy-sourcegraph checkout, checkout the latest `master` commit again and run `yarn up` to deploy the new images. Check to see that [the same smoke tests](#Do-smoke-tests-for-master-branch) pass after the upgrade process.
76+
1. Do [the same smoke tests that you did above](#Do-smoke-tests-for-main-branch)
77+
1. In your deploy-sourcegraph checkout, checkout the latest `main` commit again and run `yarn up` to deploy the new images. Check to see that [the same smoke tests](#Do-smoke-tests-for-main-branch) pass after the upgrade process.
7878
1. When you're done, run `yarn destroy` to tear the cluster down.
7979

8080
#### Manual instructions
@@ -83,23 +83,23 @@ Clone [`sourcegraph/deploy-k8s-helper`](https://github.com/sourcegraph/deploy-k8
8383

8484
Refer to [how to deploy a test cluster](https://about.sourcegraph.com/handbook/engineering/deployments#test-clusters).
8585

86-
##### Do smoke tests for `master` branch
86+
##### Do smoke tests for `main` branch
8787

88-
1. Deploy the latest `master` to your new cluster by running through the quickstart steps in [docs/install.md](docs/install.md)
88+
1. Deploy the latest `main` to your new cluster by running through the quickstart steps in [docs/install.md](docs/install.md)
8989
- You'll need to create a GCP Storage Class named `sourcegraph` with the same `zone` that you created your cluster in (see ["Configure a storage class"](docs/configure.md#Configure-a-storage-class))
9090
- In order to give yourself permissions to create roles on the cluster, run: `kubectl create clusterrolebinding cluster-admin-binding --clusterrole cluster-admin --user [email protected]`
9191
1. Use the instructions in [configure.md](docs/configure.md) to:
9292
1. Add a repository (e.g. [sourcegraph/sourcegraph](https://github.com/sourcegraph/sourcegraph))
9393
1. Enable a language extension (e.g. [Go](https://sourcegraph.com/extensions/sourcegraph/lang-go)), and test that code intelligence is working on the above repository
9494
1. Do a couple test searches
9595

96-
##### Check the upgrade path from the previous release to `master`
96+
##### Check the upgrade path from the previous release to `main`
9797

9898
1. Tear down the cluster that you created above by deleting it through from the [Sourcegraph CI GCP Project](https://console.cloud.google.com/kubernetes/list?project=sourcegraph-ci&organizationId=1006954638239).
9999
1. Checkout the commit that contains the configuration for the previous release (e.g. the commit has `2.11.x` images if you're currently trying to release `2.12.x`, etc.)
100100
1. [Use the "Provision a new cluster" instructions above](#Provision-a-new-cluster) to create a new cluster.
101-
1. Deploy the older commit to the new cluster, and do [the same smoke tests](#Do-smoke-tests-for-master-branch) with the older version.
102-
1. Checkout the latest `master`, deploy the newer images to the same cluster (without tearing it down in between) by running `./kubectl-apply-all.sh`, and check to see [that the smoke test](#Do-smoke-tests-for-master-branch) passes after the upgrade process.
101+
1. Deploy the older commit to the new cluster, and do [the same smoke tests](#Do-smoke-tests-for-main-branch) with the older version.
102+
1. Checkout the latest `main`, deploy the newer images to the same cluster (without tearing it down in between) by running `./kubectl-apply-all.sh`, and check to see [that the smoke test](#Do-smoke-tests-for-main-branch) passes after the upgrade process.
103103

104104
### Minikube
105105

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Sourcegraph on Kubernetes
22

3-
[![sourcegraph: search](https://img.shields.io/badge/sourcegraph-search-brightgreen.svg)](https://sourcegraph.com/github.com/sourcegraph/deploy-sourcegraph) [![master build status](https://badge.buildkite.com/018ed23ed79d7297e7dd109b745597c58d875323fb06e81786.svg?branch=master)](https://buildkite.com/sourcegraph/deploy-sourcegraph)
3+
[![sourcegraph: search](https://img.shields.io/badge/sourcegraph-search-brightgreen.svg)](https://sourcegraph.com/github.com/sourcegraph/deploy-sourcegraph) [![main build status](https://badge.buildkite.com/018ed23ed79d7297e7dd109b745597c58d875323fb06e81786.svg?branch=main)](https://buildkite.com/sourcegraph/deploy-sourcegraph)
44

55
## Important Notice
66

@@ -20,7 +20,7 @@ updating, and maintaining a Sourcegraph cluster.
2020

2121
> IMPORTANT: When upgrading Sourcegraph, please check [upgrading docs](https://docs.sourcegraph.com/admin/updates/kubernetes) to check if any manual migrations are necessary.
2222
>
23-
> The `master` branch tracks development. Use the branch of this repository corresponding to the
23+
> The `main` branch tracks development. Use the branch of this repository corresponding to the
2424
> version of Sourcegraph you wish to deploy, e.g. `git checkout 3.19`.
2525
2626
For product and [pricing](https://about.sourcegraph.com/pricing/) information, visit

renovate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"prHourlyLimit": 5,
66
"masterIssue": true,
77
"pinDigests": true,
8-
"baseBranches": ["master"],
8+
"baseBranches": ["main"],
99
"kubernetes": {
1010
"fileMatch": ["(^|/)[^/]*\\.yaml$"]
1111
},

0 commit comments

Comments
 (0)