Skip to content

Commit 4a784bb

Browse files
authored
Merge pull request #2129 from drujd/12.9.4
Upgrade gitlab to 12.9.4
2 parents c530f56 + fe915dd commit 4a784bb

File tree

7 files changed

+43
-38
lines changed

7 files changed

+43
-38
lines changed

Changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
This file only reflects the changes that are made in this image. Please refer to the upstream GitLab [CHANGELOG](
44
https://gitlab.com/gitlab-org/gitlab-foss/blob/master/CHANGELOG.md) for the list of changes in GitLab.
55

6+
**12.9.4**
7+
- gitlab: upgrade CE to v12.9.4
8+
- Update gitlab-workhorse to 8.25.2
9+
- Update golang to 1.13.10
10+
611
**12.9.2**
712
- gitlab: upgrade CE to v12.9.2
813

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ FROM ubuntu:bionic-20200219
22

33
ARG BUILD_DATE
44
ARG VCS_REF
5-
ARG VERSION=12.9.2
5+
ARG VERSION=12.9.4
66

77
ENV GITLAB_VERSION=${VERSION} \
88
RUBY_VERSION=2.6 \
9-
GOLANG_VERSION=1.13.7 \
9+
GOLANG_VERSION=1.13.10 \
1010
GITLAB_SHELL_VERSION=12.0.0 \
11-
GITLAB_WORKHORSE_VERSION=8.25.1 \
11+
GITLAB_WORKHORSE_VERSION=8.25.2 \
1212
GITLAB_PAGES_VERSION=1.17.0 \
13-
GITALY_SERVER_VERSION=12.9.2 \
13+
GITALY_SERVER_VERSION=12.9.4 \
1414
GITLAB_USER="git" \
1515
GITLAB_HOME="/home/git" \
1616
GITLAB_LOG_DIR="/var/log/gitlab" \

README.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[![Docker Repository on Quay.io](https://quay.io/repository/sameersbn/gitlab/status "Docker Repository on Quay.io")](https://quay.io/repository/sameersbn/gitlab)
22
[![](https://images.microbadger.com/badges/image/sameersbn/gitlab.svg)](http://microbadger.com/images/sameersbn/gitlab "Get your own image badge on microbadger.com")
33

4-
# sameersbn/gitlab:12.9.2
4+
# sameersbn/gitlab:12.9.4
55

66
- [Introduction](#introduction)
77
- [Changelog](Changelog.md)
@@ -125,7 +125,7 @@ Automated builds of the image are available on [Dockerhub](https://hub.docker.co
125125
> **Note**: Builds are also available on [Quay.io](https://quay.io/repository/sameersbn/gitlab)
126126
127127
```bash
128-
docker pull sameersbn/gitlab:12.9.2
128+
docker pull sameersbn/gitlab:12.9.4
129129
```
130130

131131
You can also pull the `latest` tag which is built from the repository *HEAD*
@@ -194,7 +194,7 @@ docker run --name gitlab -d \
194194
--env 'GITLAB_SECRETS_SECRET_KEY_BASE=long-and-random-alpha-numeric-string' \
195195
--env 'GITLAB_SECRETS_OTP_KEY_BASE=long-and-random-alpha-numeric-string' \
196196
--volume /srv/docker/gitlab/gitlab:/home/git/data \
197-
sameersbn/gitlab:12.9.2
197+
sameersbn/gitlab:12.9.4
198198
```
199199

200200
*Please refer to [Available Configuration Parameters](#available-configuration-parameters) to understand `GITLAB_PORT` and other configuration options*
@@ -229,7 +229,7 @@ Volumes can be mounted in docker by specifying the `-v` option in the docker run
229229
```bash
230230
docker run --name gitlab -d \
231231
--volume /srv/docker/gitlab/gitlab:/home/git/data \
232-
sameersbn/gitlab:12.9.2
232+
sameersbn/gitlab:12.9.4
233233
```
234234

235235
## Database
@@ -262,7 +262,7 @@ docker run --name gitlab -d \
262262
--env 'DB_NAME=gitlabhq_production' \
263263
--env 'DB_USER=gitlab' --env 'DB_PASS=password' \
264264
--volume /srv/docker/gitlab/gitlab:/home/git/data \
265-
sameersbn/gitlab:12.9.2
265+
sameersbn/gitlab:12.9.4
266266
```
267267

268268
#### Linking to PostgreSQL Container
@@ -306,7 +306,7 @@ We are now ready to start the GitLab application.
306306
```bash
307307
docker run --name gitlab -d --link gitlab-postgresql:postgresql \
308308
--volume /srv/docker/gitlab/gitlab:/home/git/data \
309-
sameersbn/gitlab:12.9.2
309+
sameersbn/gitlab:12.9.4
310310
```
311311

312312
Here the image will also automatically fetch the `DB_NAME`, `DB_USER` and `DB_PASS` variables from the postgresql container as they are specified in the `docker run` command for the postgresql container. This is made possible using the magic of docker links and works with the following images:
@@ -333,7 +333,7 @@ The image can be configured to use an external redis server. The configuration s
333333
```bash
334334
docker run --name gitlab -it --rm \
335335
--env 'REDIS_HOST=192.168.1.100' --env 'REDIS_PORT=6379' \
336-
sameersbn/gitlab:12.9.2
336+
sameersbn/gitlab:12.9.4
337337
```
338338

339339
### Linking to Redis Container
@@ -360,7 +360,7 @@ We are now ready to start the GitLab application.
360360

361361
```bash
362362
docker run --name gitlab -d --link gitlab-redis:redisio \
363-
sameersbn/gitlab:12.9.2
363+
sameersbn/gitlab:12.9.4
364364
```
365365

366366
### Mail
@@ -373,7 +373,7 @@ If you are using Gmail then all you need to do is:
373373
docker run --name gitlab -d \
374374
--env '[email protected]' --env 'SMTP_PASS=PASSWORD' \
375375
--volume /srv/docker/gitlab/gitlab:/home/git/data \
376-
sameersbn/gitlab:12.9.2
376+
sameersbn/gitlab:12.9.4
377377
```
378378

379379
Please refer the [Available Configuration Parameters](#available-configuration-parameters) section for the list of SMTP parameters that can be specified.
@@ -393,7 +393,7 @@ docker run --name gitlab -d \
393393
--env '[email protected]' --env 'IMAP_PASS=PASSWORD' \
394394
--env 'GITLAB_INCOMING_EMAIL_ADDRESS=USER+%{key}@gmail.com' \
395395
--volume /srv/docker/gitlab/gitlab:/home/git/data \
396-
sameersbn/gitlab:12.9.2
396+
sameersbn/gitlab:12.9.4
397397
```
398398

399399
Please refer the [Available Configuration Parameters](#available-configuration-parameters) section for the list of IMAP parameters that can be specified.
@@ -470,7 +470,7 @@ docker run --name gitlab -d \
470470
--env 'GITLAB_SSH_PORT=10022' --env 'GITLAB_PORT=10443' \
471471
--env 'GITLAB_HTTPS=true' --env 'SSL_SELF_SIGNED=true' \
472472
--volume /srv/docker/gitlab/gitlab:/home/git/data \
473-
sameersbn/gitlab:12.9.2
473+
sameersbn/gitlab:12.9.4
474474
```
475475

476476
In this configuration, any requests made over the plain http protocol will automatically be redirected to use the https protocol. However, this is not optimal when using a load balancer.
@@ -486,7 +486,7 @@ docker run --name gitlab -d \
486486
--env 'GITLAB_HTTPS=true' --env 'SSL_SELF_SIGNED=true' \
487487
--env 'NGINX_HSTS_MAXAGE=2592000' \
488488
--volume /srv/docker/gitlab/gitlab:/home/git/data \
489-
sameersbn/gitlab:12.9.2
489+
sameersbn/gitlab:12.9.4
490490
```
491491

492492
If you want to completely disable HSTS set `NGINX_HSTS_ENABLED` to `false`.
@@ -509,7 +509,7 @@ docker run --name gitlab -d \
509509
--env 'GITLAB_SSH_PORT=10022' --env 'GITLAB_PORT=443' \
510510
--env 'GITLAB_HTTPS=true' --env 'SSL_SELF_SIGNED=true' \
511511
--volume /srv/docker/gitlab/gitlab:/home/git/data \
512-
sameersbn/gitlab:12.9.2
512+
sameersbn/gitlab:12.9.4
513513
```
514514

515515
Again, drop the `--env 'SSL_SELF_SIGNED=true'` option if you are using CA certified SSL certificates.
@@ -557,7 +557,7 @@ Let's assume we want to deploy our application to '/git'. GitLab needs to know t
557557
docker run --name gitlab -it --rm \
558558
--env 'GITLAB_RELATIVE_URL_ROOT=/git' \
559559
--volume /srv/docker/gitlab/gitlab:/home/git/data \
560-
sameersbn/gitlab:12.9.2
560+
sameersbn/gitlab:12.9.4
561561
```
562562

563563
GitLab will now be accessible at the `/git` path, e.g. `http://www.example.com/git`.
@@ -738,14 +738,14 @@ Also the container processes seem to be executed as the host's user/group `1000`
738738
```bash
739739
docker run --name gitlab -it --rm [options] \
740740
--env "USERMAP_UID=$(id -u git)" --env "USERMAP_GID=$(id -g git)" \
741-
sameersbn/gitlab:12.9.2
741+
sameersbn/gitlab:12.9.4
742742
```
743743

744744
When changing this mapping, all files and directories in the mounted data volume `/home/git/data` have to be re-owned by the new ids. This can be achieved automatically using the following command:
745745

746746
```bash
747747
docker run --name gitlab -d [OPTIONS] \
748-
sameersbn/gitlab:12.9.2 app:sanitize
748+
sameersbn/gitlab:12.9.4 app:sanitize
749749
```
750750

751751
### Piwik
@@ -1126,7 +1126,7 @@ Execute the rake task to create a backup.
11261126

11271127
```bash
11281128
docker run --name gitlab -it --rm [OPTIONS] \
1129-
sameersbn/gitlab:12.9.2 app:rake gitlab:backup:create
1129+
sameersbn/gitlab:12.9.4 app:rake gitlab:backup:create
11301130
```
11311131

11321132
A backup will be created in the backups folder of the [Data Store](#data-store). You can change the location of the backups using the `GITLAB_BACKUP_DIR` configuration parameter.
@@ -1161,14 +1161,14 @@ you need to prepare the database:
11611161

11621162
```bash
11631163
docker run --name gitlab -it --rm [OPTIONS] \
1164-
sameersbn/gitlab:12.9.2 app:rake db:setup
1164+
sameersbn/gitlab:12.9.4 app:rake db:setup
11651165
```
11661166

11671167
Execute the rake task to restore a backup. Make sure you run the container in interactive mode `-it`.
11681168

11691169
```bash
11701170
docker run --name gitlab -it --rm [OPTIONS] \
1171-
sameersbn/gitlab:12.9.2 app:rake gitlab:backup:restore
1171+
sameersbn/gitlab:12.9.4 app:rake gitlab:backup:restore
11721172
```
11731173

11741174
The list of all available backups will be displayed in reverse chronological order. Select the backup you want to restore and continue.
@@ -1177,7 +1177,7 @@ To avoid user interaction in the restore operation, specify the timestamp of the
11771177

11781178
```bash
11791179
docker run --name gitlab -it --rm [OPTIONS] \
1180-
sameersbn/gitlab:12.9.2 app:rake gitlab:backup:restore BACKUP=1417624827
1180+
sameersbn/gitlab:12.9.4 app:rake gitlab:backup:restore BACKUP=1417624827
11811181
```
11821182

11831183
When using `docker-compose` you may use the following command to execute the restore.
@@ -1227,7 +1227,7 @@ The `app:rake` command allows you to run gitlab rake tasks. To run a rake task s
12271227

12281228
```bash
12291229
docker run --name gitlab -it --rm [OPTIONS] \
1230-
sameersbn/gitlab:12.9.2 app:rake gitlab:env:info
1230+
sameersbn/gitlab:12.9.4 app:rake gitlab:env:info
12311231
```
12321232

12331233
You can also use `docker exec` to run raketasks on running gitlab instance. For example,
@@ -1240,7 +1240,7 @@ Similarly, to import bare repositories into GitLab project instance
12401240

12411241
```bash
12421242
docker run --name gitlab -it --rm [OPTIONS] \
1243-
sameersbn/gitlab:12.9.2 app:rake gitlab:import:repos
1243+
sameersbn/gitlab:12.9.4 app:rake gitlab:import:repos
12441244
```
12451245

12461246
Or
@@ -1271,7 +1271,7 @@ Copy all the **bare** git repositories to the `repositories/` directory of the [
12711271

12721272
```bash
12731273
docker run --name gitlab -it --rm [OPTIONS] \
1274-
sameersbn/gitlab:12.9.2 app:rake gitlab:import:repos
1274+
sameersbn/gitlab:12.9.4 app:rake gitlab:import:repos
12751275
```
12761276

12771277
Watch the logs and your repositories should be available into your new gitlab container.
@@ -1293,12 +1293,12 @@ To upgrade to newer gitlab releases, simply follow this 4 step upgrade procedure
12931293

12941294
> **Note**
12951295
>
1296-
> Upgrading to `sameersbn/gitlab:12.9.2` from `sameersbn/gitlab:7.x.x` can cause issues. It is therefore required that you first upgrade to `sameersbn/gitlab:8.0.5-1` before upgrading to `sameersbn/gitlab:8.1.0` or higher.
1296+
> Upgrading to `sameersbn/gitlab:12.9.4` from `sameersbn/gitlab:7.x.x` can cause issues. It is therefore required that you first upgrade to `sameersbn/gitlab:8.0.5-1` before upgrading to `sameersbn/gitlab:8.1.0` or higher.
12971297
12981298
- **Step 1**: Update the docker image.
12991299

13001300
```bash
1301-
docker pull sameersbn/gitlab:12.9.2
1301+
docker pull sameersbn/gitlab:12.9.4
13021302
```
13031303

13041304
- **Step 2**: Stop and remove the currently running image
@@ -1324,7 +1324,7 @@ Replace `x.x.x` with the version you are upgrading from. For example, if you are
13241324
> **Note**: Since GitLab `8.11.0` you need to provide the `GITLAB_SECRETS_SECRET_KEY_BASE` and `GITLAB_SECRETS_OTP_KEY_BASE` parameters while starting the image. These should initially both have the same value as the contents of the `/home/git/data/.secret` file. See [Available Configuration Parameters](#available-configuration-parameters) for more information on these parameters.
13251325
13261326
```bash
1327-
docker run --name gitlab -d [OPTIONS] sameersbn/gitlab:12.9.2
1327+
docker run --name gitlab -d [OPTIONS] sameersbn/gitlab:12.9.4
13281328
```
13291329

13301330
## Shell Access

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
12.9.2
1+
12.9.4

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ services:
2222

2323
gitlab:
2424
restart: always
25-
image: sameersbn/gitlab:12.9.2
25+
image: sameersbn/gitlab:12.9.4
2626
depends_on:
2727
- redis
2828
- postgresql

docs/container_registry.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ docker stop registry gitlab && docker rm registry gitlab
284284
Execute the rake task with a removeable container.
285285
```bash
286286
docker run --name gitlab -it --rm [OPTIONS] \
287-
sameersbn/gitlab:12.9.2 app:rake gitlab:backup:create
287+
sameersbn/gitlab:12.9.4 app:rake gitlab:backup:create
288288
```
289289
## Restoring Backups
290290

@@ -300,7 +300,7 @@ Execute the rake task to restore a backup. Make sure you run the container in in
300300

301301
```bash
302302
docker run --name gitlab -it --rm [OPTIONS] \
303-
sameersbn/gitlab:12.9.2 app:rake gitlab:backup:restore
303+
sameersbn/gitlab:12.9.4 app:rake gitlab:backup:restore
304304
```
305305

306306
The list of all available backups will be displayed in reverse chronological order. Select the backup you want to restore and continue.
@@ -309,7 +309,7 @@ To avoid user interaction in the restore operation, specify the timestamp of the
309309

310310
```bash
311311
docker run --name gitlab -it --rm [OPTIONS] \
312-
sameersbn/gitlab:12.9.2 app:rake gitlab:backup:restore BACKUP=1417624827
312+
sameersbn/gitlab:12.9.4 app:rake gitlab:backup:restore BACKUP=1417624827
313313
```
314314

315315
# Upgrading from an existing GitLab installation
@@ -320,7 +320,7 @@ If you want enable this feature for an existing instance of GitLab you need to d
320320
- **Step 1**: Update the docker image.
321321

322322
```bash
323-
docker pull sameersbn/gitlab:12.9.2
323+
docker pull sameersbn/gitlab:12.9.4
324324
```
325325

326326
- **Step 2**: Stop and remove the currently running image
@@ -373,7 +373,7 @@ docker run --name gitlab -d [PREVIOUS_OPTIONS] \
373373
--env 'GITLAB_REGISTRY_CERT_PATH=/certs/registry-auth.crt' \
374374
--env 'GITLAB_REGISTRY_KEY_PATH=/certs/registry-auth.key' \
375375
--link registry:registry
376-
sameersbn/gitlab:12.9.2
376+
sameersbn/gitlab:12.9.4
377377
```
378378

379379

kubernetes/gitlab-rc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ spec:
1414
spec:
1515
containers:
1616
- name: gitlab
17-
image: sameersbn/gitlab:12.9.2
17+
image: sameersbn/gitlab:12.9.4
1818
env:
1919
- name: TZ
2020
value: Asia/Kolkata

0 commit comments

Comments
 (0)