Skip to content

Commit 1f80e9f

Browse files
Sergey Rusakovsolidnerd
authored andcommitted
Upgrade GitLab CE to 11.8.3
1 parent 6a3cb6a commit 1f80e9f

File tree

7 files changed

+40
-37
lines changed

7 files changed

+40
-37
lines changed

Changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
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-ce/blob/master/CHANGELOG.md) for the list of changes in GitLab.
55

6+
**11.8.3**
7+
- gitlab: upgrade CE to v11.8.3
8+
69
**11.8.2**
710
- gitlab: upgrade CE to v11.8.2
811

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM ubuntu:xenial-20190122
22

33
ARG BUILD_DATE
44
ARG VCS_REF
5-
ARG VERSION=11.8.2
5+
ARG VERSION=11.8.3
66

77
ENV GITLAB_VERSION=${VERSION} \
88
RUBY_VERSION=2.5 \

README.md

Lines changed: 28 additions & 28 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:11.8.2
4+
# sameersbn/gitlab:11.8.3
55

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

134134
You can also pull the `latest` tag which is built from the repository *HEAD*
@@ -197,7 +197,7 @@ docker run --name gitlab -d \
197197
--env 'GITLAB_SECRETS_SECRET_KEY_BASE=long-and-random-alpha-numeric-string' \
198198
--env 'GITLAB_SECRETS_OTP_KEY_BASE=long-and-random-alpha-numeric-string' \
199199
--volume /srv/docker/gitlab/gitlab:/home/git/data \
200-
sameersbn/gitlab:11.8.2
200+
sameersbn/gitlab:11.8.3
201201
```
202202

203203
*Please refer to [Available Configuration Parameters](#available-configuration-parameters) to understand `GITLAB_PORT` and other configuration options*
@@ -232,7 +232,7 @@ Volumes can be mounted in docker by specifying the `-v` option in the docker run
232232
```bash
233233
docker run --name gitlab -d \
234234
--volume /srv/docker/gitlab/gitlab:/home/git/data \
235-
sameersbn/gitlab:11.8.2
235+
sameersbn/gitlab:11.8.3
236236
```
237237

238238
## Database
@@ -265,7 +265,7 @@ docker run --name gitlab -d \
265265
--env 'DB_NAME=gitlabhq_production' \
266266
--env 'DB_USER=gitlab' --env 'DB_PASS=password' \
267267
--volume /srv/docker/gitlab/gitlab:/home/git/data \
268-
sameersbn/gitlab:11.8.2
268+
sameersbn/gitlab:11.8.3
269269
```
270270

271271
#### Linking to PostgreSQL Container
@@ -309,7 +309,7 @@ We are now ready to start the GitLab application.
309309
```bash
310310
docker run --name gitlab -d --link gitlab-postgresql:postgresql \
311311
--volume /srv/docker/gitlab/gitlab:/home/git/data \
312-
sameersbn/gitlab:11.8.2
312+
sameersbn/gitlab:11.8.3
313313
```
314314

315315
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:
@@ -363,7 +363,7 @@ docker run --name gitlab -d \
363363
--env 'DB_NAME=gitlabhq_production' \
364364
--env 'DB_USER=gitlab' --env 'DB_PASS=password' \
365365
--volume /srv/docker/gitlab/gitlab:/home/git/data \
366-
sameersbn/gitlab:11.8.2
366+
sameersbn/gitlab:11.8.3
367367
```
368368

369369
#### Linking to MySQL Container
@@ -406,7 +406,7 @@ We are now ready to start the GitLab application.
406406
```bash
407407
docker run --name gitlab -d --link gitlab-mysql:mysql \
408408
--volume /srv/docker/gitlab/gitlab:/home/git/data \
409-
sameersbn/gitlab:11.8.2
409+
sameersbn/gitlab:11.8.3
410410
```
411411

412412
Here the image will also automatically fetch the `DB_NAME`, `DB_USER` and `DB_PASS` variables from the mysql container as they are specified in the `docker run` command for the mysql container. This is made possible using the magic of docker links and works with the following images:
@@ -433,7 +433,7 @@ The image can be configured to use an external redis server. The configuration s
433433
```bash
434434
docker run --name gitlab -it --rm \
435435
--env 'REDIS_HOST=192.168.1.100' --env 'REDIS_PORT=6379' \
436-
sameersbn/gitlab:11.8.2
436+
sameersbn/gitlab:11.8.3
437437
```
438438

439439
### Linking to Redis Container
@@ -460,7 +460,7 @@ We are now ready to start the GitLab application.
460460

461461
```bash
462462
docker run --name gitlab -d --link gitlab-redis:redisio \
463-
sameersbn/gitlab:11.8.2
463+
sameersbn/gitlab:11.8.3
464464
```
465465

466466
### Mail
@@ -473,7 +473,7 @@ If you are using Gmail then all you need to do is:
473473
docker run --name gitlab -d \
474474
--env '[email protected]' --env 'SMTP_PASS=PASSWORD' \
475475
--volume /srv/docker/gitlab/gitlab:/home/git/data \
476-
sameersbn/gitlab:11.8.2
476+
sameersbn/gitlab:11.8.3
477477
```
478478

479479
Please refer the [Available Configuration Parameters](#available-configuration-parameters) section for the list of SMTP parameters that can be specified.
@@ -493,7 +493,7 @@ docker run --name gitlab -d \
493493
--env '[email protected]' --env 'IMAP_PASS=PASSWORD' \
494494
--env 'GITLAB_INCOMING_EMAIL_ADDRESS=USER+%{key}@gmail.com' \
495495
--volume /srv/docker/gitlab/gitlab:/home/git/data \
496-
sameersbn/gitlab:11.8.2
496+
sameersbn/gitlab:11.8.3
497497
```
498498

499499
Please refer the [Available Configuration Parameters](#available-configuration-parameters) section for the list of IMAP parameters that can be specified.
@@ -570,7 +570,7 @@ docker run --name gitlab -d \
570570
--env 'GITLAB_SSH_PORT=10022' --env 'GITLAB_PORT=10443' \
571571
--env 'GITLAB_HTTPS=true' --env 'SSL_SELF_SIGNED=true' \
572572
--volume /srv/docker/gitlab/gitlab:/home/git/data \
573-
sameersbn/gitlab:11.8.2
573+
sameersbn/gitlab:11.8.3
574574
```
575575

576576
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.
@@ -586,7 +586,7 @@ docker run --name gitlab -d \
586586
--env 'GITLAB_HTTPS=true' --env 'SSL_SELF_SIGNED=true' \
587587
--env 'NGINX_HSTS_MAXAGE=2592000' \
588588
--volume /srv/docker/gitlab/gitlab:/home/git/data \
589-
sameersbn/gitlab:11.8.2
589+
sameersbn/gitlab:11.8.3
590590
```
591591

592592
If you want to completely disable HSTS set `NGINX_HSTS_ENABLED` to `false`.
@@ -609,7 +609,7 @@ docker run --name gitlab -d \
609609
--env 'GITLAB_SSH_PORT=10022' --env 'GITLAB_PORT=443' \
610610
--env 'GITLAB_HTTPS=true' --env 'SSL_SELF_SIGNED=true' \
611611
--volume /srv/docker/gitlab/gitlab:/home/git/data \
612-
sameersbn/gitlab:11.8.2
612+
sameersbn/gitlab:11.8.3
613613
```
614614

615615
Again, drop the `--env 'SSL_SELF_SIGNED=true'` option if you are using CA certified SSL certificates.
@@ -657,7 +657,7 @@ Let's assume we want to deploy our application to '/git'. GitLab needs to know t
657657
docker run --name gitlab -it --rm \
658658
--env 'GITLAB_RELATIVE_URL_ROOT=/git' \
659659
--volume /srv/docker/gitlab/gitlab:/home/git/data \
660-
sameersbn/gitlab:11.8.2
660+
sameersbn/gitlab:11.8.3
661661
```
662662

663663
GitLab will now be accessible at the `/git` path, e.g. `http://www.example.com/git`.
@@ -830,14 +830,14 @@ Also the container processes seem to be executed as the host's user/group `1000`
830830
```bash
831831
docker run --name gitlab -it --rm [options] \
832832
--env "USERMAP_UID=$(id -u git)" --env "USERMAP_GID=$(id -g git)" \
833-
sameersbn/gitlab:11.8.2
833+
sameersbn/gitlab:11.8.3
834834
```
835835

836836
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:
837837

838838
```bash
839839
docker run --name gitlab -d [OPTIONS] \
840-
sameersbn/gitlab:11.8.2 app:sanitize
840+
sameersbn/gitlab:11.8.3 app:sanitize
841841
```
842842

843843
### Piwik
@@ -1187,7 +1187,7 @@ Execute the rake task to create a backup.
11871187

11881188
```bash
11891189
docker run --name gitlab -it --rm [OPTIONS] \
1190-
sameersbn/gitlab:11.8.2 app:rake gitlab:backup:create
1190+
sameersbn/gitlab:11.8.3 app:rake gitlab:backup:create
11911191
```
11921192

11931193
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.
@@ -1215,14 +1215,14 @@ you need to prepare the database:
12151215

12161216
```bash
12171217
docker run --name gitlab -it --rm [OPTIONS] \
1218-
sameersbn/gitlab:11.8.2 app:rake db:setup
1218+
sameersbn/gitlab:11.8.3 app:rake db:setup
12191219
```
12201220

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

12231223
```bash
12241224
docker run --name gitlab -it --rm [OPTIONS] \
1225-
sameersbn/gitlab:11.8.2 app:rake gitlab:backup:restore
1225+
sameersbn/gitlab:11.8.3 app:rake gitlab:backup:restore
12261226
```
12271227

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

12321232
```bash
12331233
docker run --name gitlab -it --rm [OPTIONS] \
1234-
sameersbn/gitlab:11.8.2 app:rake gitlab:backup:restore BACKUP=1417624827
1234+
sameersbn/gitlab:11.8.3 app:rake gitlab:backup:restore BACKUP=1417624827
12351235
```
12361236

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

12811281
```bash
12821282
docker run --name gitlab -it --rm [OPTIONS] \
1283-
sameersbn/gitlab:11.8.2 app:rake gitlab:env:info
1283+
sameersbn/gitlab:11.8.3 app:rake gitlab:env:info
12841284
```
12851285

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

12941294
```bash
12951295
docker run --name gitlab -it --rm [OPTIONS] \
1296-
sameersbn/gitlab:11.8.2 app:rake gitlab:import:repos
1296+
sameersbn/gitlab:11.8.3 app:rake gitlab:import:repos
12971297
```
12981298

12991299
Or
@@ -1324,7 +1324,7 @@ Copy all the **bare** git repositories to the `repositories/` directory of the [
13241324

13251325
```bash
13261326
docker run --name gitlab -it --rm [OPTIONS] \
1327-
sameersbn/gitlab:11.8.2 app:rake gitlab:import:repos
1327+
sameersbn/gitlab:11.8.3 app:rake gitlab:import:repos
13281328
```
13291329

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

13471347
> **Note**
13481348
>
1349-
> Upgrading to `sameersbn/gitlab:11.8.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.
1349+
> Upgrading to `sameersbn/gitlab:11.8.3` 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.
13501350
13511351
- **Step 1**: Update the docker image.
13521352

13531353
```bash
1354-
docker pull sameersbn/gitlab:11.8.2
1354+
docker pull sameersbn/gitlab:11.8.3
13551355
```
13561356

13571357
- **Step 2**: Stop and remove the currently running image
@@ -1377,7 +1377,7 @@ Replace `x.x.x` with the version you are upgrading from. For example, if you are
13771377
> **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.
13781378
13791379
```bash
1380-
docker run --name gitlab -d [OPTIONS] sameersbn/gitlab:11.8.2
1380+
docker run --name gitlab -d [OPTIONS] sameersbn/gitlab:11.8.3
13811381
```
13821382

13831383
## Shell Access

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
11.8.2
1+
11.8.3

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:11.8.2
25+
image: sameersbn/gitlab:11.8.3
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:11.8.2 app:rake gitlab:backup:create
287+
sameersbn/gitlab:11.8.3 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:11.8.2 app:rake gitlab:backup:restore
303+
sameersbn/gitlab:11.8.3 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:11.8.2 app:rake gitlab:backup:restore BACKUP=1417624827
312+
sameersbn/gitlab:11.8.3 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:11.8.2
323+
docker pull sameersbn/gitlab:11.8.3
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:11.8.2
376+
sameersbn/gitlab:11.8.3
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:11.8.2
17+
image: sameersbn/gitlab:11.8.3
1818
env:
1919
- name: TZ
2020
value: Asia/Kolkata

0 commit comments

Comments
 (0)