Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit a56dc71

Browse files
committed
1 parent 2af3b9d commit a56dc71

File tree

20 files changed

+33
-33
lines changed

20 files changed

+33
-33
lines changed

cmd/frontend/internal/app/updatecheck/handler.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,17 @@ var (
3434
// non-cluster, non-docker-compose, and non-pure-docker installations what the latest
3535
// version is. The version here _must_ be available at https://hub.docker.com/r/sourcegraph/server/tags/
3636
// before landing in master.
37-
latestReleaseDockerServerImageBuild = newBuild("4.1.1")
37+
latestReleaseDockerServerImageBuild = newBuild("4.1.2")
3838

3939
// latestReleaseKubernetesBuild is only used by sourcegraph.com to tell existing Sourcegraph
4040
// cluster deployments what the latest version is. The version here _must_ be available in
4141
// a tag at https://github.com/sourcegraph/deploy-sourcegraph before landing in master.
42-
latestReleaseKubernetesBuild = newBuild("4.1.1")
42+
latestReleaseKubernetesBuild = newBuild("4.1.2")
4343

4444
// latestReleaseDockerComposeOrPureDocker is only used by sourcegraph.com to tell existing Sourcegraph
4545
// Docker Compose or Pure Docker deployments what the latest version is. The version here _must_ be
4646
// available in a tag at https://github.com/sourcegraph/deploy-sourcegraph-docker before landing in master.
47-
latestReleaseDockerComposeOrPureDocker = newBuild("4.1.1")
47+
latestReleaseDockerComposeOrPureDocker = newBuild("4.1.2")
4848
)
4949

5050
func getLatestRelease(deployType string) build {

doc/admin/deploy/docker-compose/aws.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ set -euxo pipefail
6565
###############################################################################
6666
# Please read the notes below the script if you are cloning a private repository
6767
DEPLOY_SOURCEGRAPH_DOCKER_FORK_CLONE_URL='https://github.com/sourcegraph/deploy-sourcegraph-docker.git'
68-
DEPLOY_SOURCEGRAPH_DOCKER_FORK_REVISION='v4.1.1'
68+
DEPLOY_SOURCEGRAPH_DOCKER_FORK_REVISION='v4.1.2'
6969
##################### NO CHANGES REQUIRED BELOW THIS LINE #####################
7070
DEPLOY_SOURCEGRAPH_DOCKER_CHECKOUT='/home/ec2-user/deploy-sourcegraph-docker'
7171
DOCKER_COMPOSE_VERSION='1.29.2'

doc/admin/deploy/docker-compose/azure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ set -euxo pipefail
7575
###############################################################################
7676
# Please read the notes below the script if you are cloning a private repository
7777
DEPLOY_SOURCEGRAPH_DOCKER_FORK_CLONE_URL='https://github.com/sourcegraph/deploy-sourcegraph-docker.git'
78-
DEPLOY_SOURCEGRAPH_DOCKER_FORK_REVISION='v4.1.1'
78+
DEPLOY_SOURCEGRAPH_DOCKER_FORK_REVISION='v4.1.2'
7979
##################### NO CHANGES REQUIRED BELOW THIS LINE #####################
8080
DEPLOY_SOURCEGRAPH_DOCKER_CHECKOUT='/root/deploy-sourcegraph-docker'
8181
DOCKER_COMPOSE_VERSION='1.29.2'

doc/admin/deploy/docker-compose/digitalocean.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ set -euxo pipefail
5454
###############################################################################
5555
# Please read the notes below the script if you are cloning a private repository
5656
DEPLOY_SOURCEGRAPH_DOCKER_FORK_CLONE_URL='https://github.com/sourcegraph/deploy-sourcegraph-docker.git'
57-
DEPLOY_SOURCEGRAPH_DOCKER_FORK_REVISION='v4.1.1'
57+
DEPLOY_SOURCEGRAPH_DOCKER_FORK_REVISION='v4.1.2'
5858
##################### NO CHANGES REQUIRED BELOW THIS LINE #####################
5959
DEPLOY_SOURCEGRAPH_DOCKER_CHECKOUT='/root/deploy-sourcegraph-docker'
6060
DOCKER_DATA_ROOT='/mnt/docker-data'

doc/admin/deploy/docker-compose/google_cloud.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ set -euxo pipefail
5454
###############################################################################
5555
# Please read the notes below the script if you are cloning a private repository
5656
DEPLOY_SOURCEGRAPH_DOCKER_FORK_CLONE_URL='https://github.com/sourcegraph/deploy-sourcegraph-docker.git'
57-
DEPLOY_SOURCEGRAPH_DOCKER_FORK_REVISION='v4.1.1'
57+
DEPLOY_SOURCEGRAPH_DOCKER_FORK_REVISION='v4.1.2'
5858
##################### NO CHANGES REQUIRED BELOW THIS LINE #####################
5959
# IMPORTANT: DO NOT MAKE ANY CHANGES FROM THIS POINT ONWARD
6060
DEPLOY_SOURCEGRAPH_DOCKER_CHECKOUT='/root/deploy-sourcegraph-docker'

doc/admin/deploy/docker-compose/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Continue with the following steps *after* you have created a public or private c
114114

115115
```bash
116116
# Specify the version you want to install
117-
export SOURCEGRAPH_VERSION="v4.1.1"
117+
export SOURCEGRAPH_VERSION="v4.1.2"
118118
# Check out the selected version for use, in a new branch called "release"
119119
git checkout $SOURCEGRAPH_VERSION -b release
120120
```

doc/admin/deploy/docker-single-container/aws.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ This tutorial shows you how to deploy [single-container Sourcegraph with Docker]
3333
- usermod -a -G docker ec2-user
3434
3535
# Install and run Sourcegraph. Restart the container upon subsequent reboots
36-
- [ sh, -c, 'docker run -d --publish 80:7080 --publish 443:7080 --publish 127.0.0.1:3370:3370 --restart unless-stopped --volume /home/ec2-user/.sourcegraph/config:/etc/sourcegraph --volume /home/ec2-user/.sourcegraph/data:/var/opt/sourcegraph sourcegraph/server:4.1.1' ]
36+
- [ sh, -c, 'docker run -d --publish 80:7080 --publish 443:7080 --publish 127.0.0.1:3370:3370 --restart unless-stopped --volume /home/ec2-user/.sourcegraph/config:/etc/sourcegraph --volume /home/ec2-user/.sourcegraph/data:/var/opt/sourcegraph sourcegraph/server:4.1.2' ]
3737
```
3838

3939
- Select **Next: ...** until you get to the **Configure Security Group** page. Then add the following rules:

doc/admin/deploy/docker-single-container/digitalocean.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This tutorial shows you how to deploy [single-container Sourcegraph with Docker]
1717
1. Run the Sourcegraph Docker image as a daemon:
1818

1919
```
20-
docker run -d --publish 80:7080 --publish 443:7443 --restart unless-stopped --volume /root/.sourcegraph/config:/etc/sourcegraph --volume /root/.sourcegraph/data:/var/opt/sourcegraph sourcegraph/server:4.1.1
20+
docker run -d --publish 80:7080 --publish 443:7443 --restart unless-stopped --volume /root/.sourcegraph/config:/etc/sourcegraph --volume /root/.sourcegraph/data:/var/opt/sourcegraph sourcegraph/server:4.1.2
2121
```
2222
1. Navigate to the droplet's IP address to finish initializing Sourcegraph. If you have configured a
2323
DNS entry for the IP, configure `externalURL` to reflect that.

doc/admin/deploy/docker-single-container/google_cloud.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ This tutorial shows you how to deploy [single-container Sourcegraph with Docker]
2323
sudo apt-get install -y docker-ce
2424
mkdir -p /root/.sourcegraph/config
2525
mkdir -p /root/.sourcegraph/data
26-
docker run -d --publish 80:7080 --publish 443:7443 --restart unless-stopped --volume /root/.sourcegraph/config:/etc/sourcegraph --volume /root/.sourcegraph/data:/var/opt/sourcegraph sourcegraph/server:4.1.1
26+
docker run -d --publish 80:7080 --publish 443:7443 --restart unless-stopped --volume /root/.sourcegraph/config:/etc/sourcegraph --volume /root/.sourcegraph/data:/var/opt/sourcegraph sourcegraph/server:4.1.2
2727
```
2828

2929
- Create your VM, then navigate to its public IP address.

doc/admin/deploy/docker-single-container/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ It takes less than a minute to run and install Sourcegraph using Docker:
1414
This uses line breaks that are rendered but not copy-pasted to the clipboard.
1515
-->
1616

17-
<pre class="pre-wrap start-sourcegraph-command"><code>docker run<span class="virtual-br"></span> --publish 7080:7080 --publish 127.0.0.1:3370:3370 --rm<span class="virtual-br"></span> --volume ~/.sourcegraph/config:/etc/sourcegraph<span class="virtual-br"></span> --volume ~/.sourcegraph/data:/var/opt/sourcegraph<span class="virtual-br"></span> sourcegraph/server:4.1.1</code></pre>
17+
<pre class="pre-wrap start-sourcegraph-command"><code>docker run<span class="virtual-br"></span> --publish 7080:7080 --publish 127.0.0.1:3370:3370 --rm<span class="virtual-br"></span> --volume ~/.sourcegraph/config:/etc/sourcegraph<span class="virtual-br"></span> --volume ~/.sourcegraph/data:/var/opt/sourcegraph<span class="virtual-br"></span> sourcegraph/server:4.1.2</code></pre>
1818

1919
Once the server is ready (logo is displayed in the terminal), navigate to the hostname or IP address on port `7080`. Create the admin account, then you'll be guided through setting up Sourcegraph for code searching and navigation.
2020

@@ -46,7 +46,7 @@ For example, to mount a `.gitconfig`, create a file `/mnt/sourcegraph/config/git
4646
Alternatively you can create a new Docker image which inherits from Sourcegraph and then mutates the environment:
4747

4848
```dockerfile
49-
FROM sourcegraph/server:4.1.1
49+
FROM sourcegraph/server:4.1.2
5050

5151
COPY gitconfig /etc/gitconfig
5252
COPY ssh /root/.ssh
@@ -87,7 +87,7 @@ This is required to [collect debug data](../../pprof.md).
8787
The docker run command for single-container Sourcegraph needs an additional publish flag to expose the debug port:
8888

8989
```bash script
90-
docker run --publish 7080:7080 --publish 127.0.0.1:3370:3370 --publish 127.0.0.1:6060:6060 --rm --volume ~/.sourcegraph/config:/etc/sourcegraph --volume ~/.sourcegraph/data:/var/opt/sourcegraph sourcegraph/server:4.1.1
90+
docker run --publish 7080:7080 --publish 127.0.0.1:3370:3370 --publish 127.0.0.1:6060:6060 --rm --volume ~/.sourcegraph/config:/etc/sourcegraph --volume ~/.sourcegraph/data:/var/opt/sourcegraph sourcegraph/server:4.1.2
9191
```
9292

9393
If Sourcegraph is deployed to a remote server, then access via an SSH tunnel using a tool
@@ -105,7 +105,7 @@ Add the following to your docker run command:
105105
```
106106
docker run [...]
107107
-e (YOUR CODE)
108-
sourcegraph/server:4.1.1
108+
sourcegraph/server:4.1.2
109109
```
110110

111111
## Operation
@@ -254,7 +254,7 @@ Sourcegraph can be **tested** on Windows 10 using roughly the same steps provide
254254
1. [Install Docker for Windows](https://docs.docker.com/docker-for-windows/install/)
255255
2. Using a command prompt, follow the same [installation steps provided above](#install-sourcegraph-with-docker) but remove the `--volume` arguments. For example by pasting this:
256256

257-
<pre class="pre-wrap"><code>docker run<span class="virtual-br"></span> --publish 7080:7080 --publish 127.0.0.1:3370:3370 --rm<span class="virtual-br"></span> sourcegraph/server:4.1.1</code></pre>
257+
<pre class="pre-wrap"><code>docker run<span class="virtual-br"></span> --publish 7080:7080 --publish 127.0.0.1:3370:3370 --rm<span class="virtual-br"></span> sourcegraph/server:4.1.2</code></pre>
258258

259259
### Low resource environments
260260

0 commit comments

Comments
 (0)