Skip to content

Commit 4a82518

Browse files
authored
Merge pull request #1482 from jamesstout/upgrade-GLCE-to-10.3.6
Upgrade GitLab CE to 10.3.6
2 parents 38bf7d8 + a424e80 commit 4a82518

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+
**10.3.6**
7+
- gitlab: upgrade CE to v10.3.6
8+
69
**10.3.5**
710
- gitlab: upgrade CE to v10.3.5
811

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM sameersbn/ubuntu:14.04.20171024
22
LABEL maintainer="[email protected]"
33

4-
ENV GITLAB_VERSION=10.3.5 \
4+
ENV GITLAB_VERSION=10.3.6 \
55
RUBY_VERSION=2.3 \
66
GOLANG_VERSION=1.8.3 \
77
GITLAB_SHELL_VERSION=5.10.2 \

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:10.3.5
4+
# sameersbn/gitlab:10.3.6
55

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

132132
You can also pull the `latest` tag which is built from the repository *HEAD*
@@ -195,7 +195,7 @@ docker run --name gitlab -d \
195195
--env 'GITLAB_SECRETS_SECRET_KEY_BASE=long-and-random-alpha-numeric-string' \
196196
--env 'GITLAB_SECRETS_OTP_KEY_BASE=long-and-random-alpha-numeric-string' \
197197
--volume /srv/docker/gitlab/gitlab:/home/git/data \
198-
sameersbn/gitlab:10.3.5
198+
sameersbn/gitlab:10.3.6
199199
```
200200

201201
*Please refer to [Available Configuration Parameters](#available-configuration-parameters) to understand `GITLAB_PORT` and other configuration options*
@@ -230,7 +230,7 @@ Volumes can be mounted in docker by specifying the `-v` option in the docker run
230230
```bash
231231
docker run --name gitlab -d \
232232
--volume /srv/docker/gitlab/gitlab:/home/git/data \
233-
sameersbn/gitlab:10.3.5
233+
sameersbn/gitlab:10.3.6
234234
```
235235

236236
## Database
@@ -263,7 +263,7 @@ docker run --name gitlab -d \
263263
--env 'DB_NAME=gitlabhq_production' \
264264
--env 'DB_USER=gitlab' --env 'DB_PASS=password' \
265265
--volume /srv/docker/gitlab/gitlab:/home/git/data \
266-
sameersbn/gitlab:10.3.5
266+
sameersbn/gitlab:10.3.6
267267
```
268268

269269
#### Linking to PostgreSQL Container
@@ -307,7 +307,7 @@ We are now ready to start the GitLab application.
307307
```bash
308308
docker run --name gitlab -d --link gitlab-postgresql:postgresql \
309309
--volume /srv/docker/gitlab/gitlab:/home/git/data \
310-
sameersbn/gitlab:10.3.5
310+
sameersbn/gitlab:10.3.6
311311
```
312312

313313
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:
@@ -361,7 +361,7 @@ docker run --name gitlab -d \
361361
--env 'DB_NAME=gitlabhq_production' \
362362
--env 'DB_USER=gitlab' --env 'DB_PASS=password' \
363363
--volume /srv/docker/gitlab/gitlab:/home/git/data \
364-
sameersbn/gitlab:10.3.5
364+
sameersbn/gitlab:10.3.6
365365
```
366366

367367
#### Linking to MySQL Container
@@ -404,7 +404,7 @@ We are now ready to start the GitLab application.
404404
```bash
405405
docker run --name gitlab -d --link gitlab-mysql:mysql \
406406
--volume /srv/docker/gitlab/gitlab:/home/git/data \
407-
sameersbn/gitlab:10.3.5
407+
sameersbn/gitlab:10.3.6
408408
```
409409

410410
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:
@@ -431,7 +431,7 @@ The image can be configured to use an external redis server. The configuration s
431431
```bash
432432
docker run --name gitlab -it --rm \
433433
--env 'REDIS_HOST=192.168.1.100' --env 'REDIS_PORT=6379' \
434-
sameersbn/gitlab:10.3.5
434+
sameersbn/gitlab:10.3.6
435435
```
436436

437437
### Linking to Redis Container
@@ -458,7 +458,7 @@ We are now ready to start the GitLab application.
458458

459459
```bash
460460
docker run --name gitlab -d --link gitlab-redis:redisio \
461-
sameersbn/gitlab:10.3.5
461+
sameersbn/gitlab:10.3.6
462462
```
463463

464464
### Mail
@@ -471,7 +471,7 @@ If you are using Gmail then all you need to do is:
471471
docker run --name gitlab -d \
472472
--env '[email protected]' --env 'SMTP_PASS=PASSWORD' \
473473
--volume /srv/docker/gitlab/gitlab:/home/git/data \
474-
sameersbn/gitlab:10.3.5
474+
sameersbn/gitlab:10.3.6
475475
```
476476

477477
Please refer the [Available Configuration Parameters](#available-configuration-parameters) section for the list of SMTP parameters that can be specified.
@@ -491,7 +491,7 @@ docker run --name gitlab -d \
491491
--env '[email protected]' --env 'IMAP_PASS=PASSWORD' \
492492
--env 'GITLAB_INCOMING_EMAIL_ADDRESS=USER+%{key}@gmail.com' \
493493
--volume /srv/docker/gitlab/gitlab:/home/git/data \
494-
sameersbn/gitlab:10.3.5
494+
sameersbn/gitlab:10.3.6
495495
```
496496

497497
Please refer the [Available Configuration Parameters](#available-configuration-parameters) section for the list of IMAP parameters that can be specified.
@@ -568,7 +568,7 @@ docker run --name gitlab -d \
568568
--env 'GITLAB_SSH_PORT=10022' --env 'GITLAB_PORT=10443' \
569569
--env 'GITLAB_HTTPS=true' --env 'SSL_SELF_SIGNED=true' \
570570
--volume /srv/docker/gitlab/gitlab:/home/git/data \
571-
sameersbn/gitlab:10.3.5
571+
sameersbn/gitlab:10.3.6
572572
```
573573

574574
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.
@@ -584,7 +584,7 @@ docker run --name gitlab -d \
584584
--env 'GITLAB_HTTPS=true' --env 'SSL_SELF_SIGNED=true' \
585585
--env 'NGINX_HSTS_MAXAGE=2592000' \
586586
--volume /srv/docker/gitlab/gitlab:/home/git/data \
587-
sameersbn/gitlab:10.3.5
587+
sameersbn/gitlab:10.3.6
588588
```
589589

590590
If you want to completely disable HSTS set `NGINX_HSTS_ENABLED` to `false`.
@@ -607,7 +607,7 @@ docker run --name gitlab -d \
607607
--env 'GITLAB_SSH_PORT=10022' --env 'GITLAB_PORT=443' \
608608
--env 'GITLAB_HTTPS=true' --env 'SSL_SELF_SIGNED=true' \
609609
--volume /srv/docker/gitlab/gitlab:/home/git/data \
610-
sameersbn/gitlab:10.3.5
610+
sameersbn/gitlab:10.3.6
611611
```
612612

613613
Again, drop the `--env 'SSL_SELF_SIGNED=true'` option if you are using CA certified SSL certificates.
@@ -655,7 +655,7 @@ Let's assume we want to deploy our application to '/git'. GitLab needs to know t
655655
docker run --name gitlab -it --rm \
656656
--env 'GITLAB_RELATIVE_URL_ROOT=/git' \
657657
--volume /srv/docker/gitlab/gitlab:/home/git/data \
658-
sameersbn/gitlab:10.3.5
658+
sameersbn/gitlab:10.3.6
659659
```
660660

661661
GitLab will now be accessible at the `/git` path, e.g. `http://www.example.com/git`.
@@ -783,14 +783,14 @@ Also the container processes seem to be executed as the host's user/group `1000`
783783
```bash
784784
docker run --name gitlab -it --rm [options] \
785785
--env "USERMAP_UID=$(id -u git)" --env "USERMAP_GID=$(id -g git)" \
786-
sameersbn/gitlab:10.3.5
786+
sameersbn/gitlab:10.3.6
787787
```
788788

789789
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:
790790

791791
```bash
792792
docker run --name gitlab -d [OPTIONS] \
793-
sameersbn/gitlab:10.3.5 app:sanitize
793+
sameersbn/gitlab:10.3.6 app:sanitize
794794
```
795795

796796
### Piwik
@@ -1057,7 +1057,7 @@ Execute the rake task to create a backup.
10571057

10581058
```bash
10591059
docker run --name gitlab -it --rm [OPTIONS] \
1060-
sameersbn/gitlab:10.3.5 app:rake gitlab:backup:create
1060+
sameersbn/gitlab:10.3.6 app:rake gitlab:backup:create
10611061
```
10621062

10631063
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.
@@ -1085,14 +1085,14 @@ you need to prepare the database:
10851085

10861086
```bash
10871087
docker run --name gitlab -it --rm [OPTIONS] \
1088-
sameersbn/gitlab:10.3.5 app:rake db:setup
1088+
sameersbn/gitlab:10.3.6 app:rake db:setup
10891089
```
10901090

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

10931093
```bash
10941094
docker run --name gitlab -it --rm [OPTIONS] \
1095-
sameersbn/gitlab:10.3.5 app:rake gitlab:backup:restore
1095+
sameersbn/gitlab:10.3.6 app:rake gitlab:backup:restore
10961096
```
10971097

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

11021102
```bash
11031103
docker run --name gitlab -it --rm [OPTIONS] \
1104-
sameersbn/gitlab:10.3.5 app:rake gitlab:backup:restore BACKUP=1417624827
1104+
sameersbn/gitlab:10.3.6 app:rake gitlab:backup:restore BACKUP=1417624827
11051105
```
11061106

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

11511151
```bash
11521152
docker run --name gitlab -it --rm [OPTIONS] \
1153-
sameersbn/gitlab:10.3.5 app:rake gitlab:env:info
1153+
sameersbn/gitlab:10.3.6 app:rake gitlab:env:info
11541154
```
11551155

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

11641164
```bash
11651165
docker run --name gitlab -it --rm [OPTIONS] \
1166-
sameersbn/gitlab:10.3.5 app:rake gitlab:import:repos
1166+
sameersbn/gitlab:10.3.6 app:rake gitlab:import:repos
11671167
```
11681168

11691169
Or
@@ -1194,7 +1194,7 @@ Copy all the **bare** git repositories to the `repositories/` directory of the [
11941194

11951195
```bash
11961196
docker run --name gitlab -it --rm [OPTIONS] \
1197-
sameersbn/gitlab:10.3.5 app:rake gitlab:import:repos
1197+
sameersbn/gitlab:10.3.6 app:rake gitlab:import:repos
11981198
```
11991199

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

12171217
> **Note**
12181218
>
1219-
> Upgrading to `sameersbn/gitlab:10.3.5` 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.
1219+
> Upgrading to `sameersbn/gitlab:10.3.6` 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.
12201220
12211221
- **Step 1**: Update the docker image.
12221222

12231223
```bash
1224-
docker pull sameersbn/gitlab:10.3.5
1224+
docker pull sameersbn/gitlab:10.3.6
12251225
```
12261226

12271227
- **Step 2**: Stop and remove the currently running image
@@ -1247,7 +1247,7 @@ Replace `x.x.x` with the version you are upgrading from. For example, if you are
12471247
> **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.
12481248
12491249
```bash
1250-
docker run --name gitlab -d [OPTIONS] sameersbn/gitlab:10.3.5
1250+
docker run --name gitlab -d [OPTIONS] sameersbn/gitlab:10.3.6
12511251
```
12521252

12531253
## Shell Access

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
10.3.5
1+
10.3.6

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

0 commit comments

Comments
 (0)