Skip to content

Commit 789a436

Browse files
authored
Merge pull request #3030 from sachilles/upgrade-to-17.3.6
Upgrade GitLab CE to 17.3.6
2 parents a8caafc + 8faf896 commit 789a436

11 files changed

+50
-43
lines changed

Changelog.md

+7
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
This file only reflects the changes that are made in this image. Please refer to the upstream GitLab [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-foss/blob/master/CHANGELOG.md) for the list of changes in GitLab.
44

5+
**17.3.6**
6+
7+
- gitlab: upgrade CE to v17.3.6
8+
- gitaly: upgrade to v17.3.6
9+
- gitlab-pages: upgrade to v17.3.6
10+
- ubuntu: upgrade to focal-20241011
11+
512
**17.3.5**
613

714
- gitlab: upgrade CE to v17.3.5

Dockerfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
FROM ubuntu:focal-20240918
1+
FROM ubuntu:focal-20241011
22

3-
ARG VERSION=17.3.5
3+
ARG VERSION=17.3.6
44

55
ENV GITLAB_VERSION=${VERSION} \
66
RUBY_VERSION=3.2.5 \
77
RUBY_SOURCE_SHA256SUM="ef0610b498f60fb5cfd77b51adb3c10f4ca8ed9a17cb87c61e5bea314ac34a16" \
88
RUBYGEMS_VERSION=3.5.14 \
99
GOLANG_VERSION=1.23.2 \
1010
GITLAB_SHELL_VERSION=14.38.0 \
11-
GITLAB_PAGES_VERSION=17.3.5 \
12-
GITALY_SERVER_VERSION=17.3.5 \
11+
GITLAB_PAGES_VERSION=17.3.6 \
12+
GITALY_SERVER_VERSION=17.3.6 \
1313
GITLAB_USER="git" \
1414
GITLAB_HOME="/home/git" \
1515
GITLAB_LOG_DIR="/var/log/gitlab" \

README.md

+27-27
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# sameersbn/gitlab:17.3.5
1+
# sameersbn/gitlab:17.3.6
22

33
[![CircleCI](https://circleci.com/gh/sameersbn/docker-gitlab/tree/master.svg?style=svg)](https://circleci.com/gh/sameersbn/docker-gitlab/tree/master)
44

@@ -127,7 +127,7 @@ Your docker host needs to have 1GB or more of available RAM to run GitLab. Pleas
127127
Automated builds of the image are available on [Dockerhub](https://hub.docker.com/r/sameersbn/gitlab) and is the recommended method of installation.
128128

129129
```bash
130-
docker pull sameersbn/gitlab:17.3.5
130+
docker pull sameersbn/gitlab:17.3.6
131131
```
132132

133133
You can also pull the `latest` tag which is built from the repository *HEAD*
@@ -198,7 +198,7 @@ docker run --name gitlab -d \
198198
--env 'GITLAB_SECRETS_OTP_KEY_BASE=long-and-random-alpha-numeric-string' \
199199
--env 'GITLAB_SECRETS_ENCRYPTED_SETTINGS_KEY_BASE=long-and-random-alpha-numeric-string' \
200200
--volume /srv/docker/gitlab/gitlab:/home/git/data \
201-
sameersbn/gitlab:17.3.5
201+
sameersbn/gitlab:17.3.6
202202
```
203203

204204
*Please refer to [Available Configuration Parameters](#available-configuration-parameters) to understand `GITLAB_PORT` and other configuration options*
@@ -233,7 +233,7 @@ Volumes can be mounted in docker by specifying the `-v` option in the docker run
233233
```bash
234234
docker run --name gitlab -d \
235235
--volume /srv/docker/gitlab/gitlab:/home/git/data \
236-
sameersbn/gitlab:17.3.5
236+
sameersbn/gitlab:17.3.6
237237
```
238238

239239
### Database
@@ -291,7 +291,7 @@ docker run --name gitlab -d \
291291
--env 'DB_NAME=gitlabhq_production' \
292292
--env 'DB_USER=gitlab' --env 'DB_PASS=password' \
293293
--volume /srv/docker/gitlab/gitlab:/home/git/data \
294-
sameersbn/gitlab:17.3.5
294+
sameersbn/gitlab:17.3.6
295295
```
296296

297297
##### Linking to PostgreSQL Container
@@ -335,7 +335,7 @@ We are now ready to start the GitLab application.
335335
```bash
336336
docker run --name gitlab -d --link gitlab-postgresql:postgresql \
337337
--volume /srv/docker/gitlab/gitlab:/home/git/data \
338-
sameersbn/gitlab:17.3.5
338+
sameersbn/gitlab:17.3.6
339339
```
340340

341341
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:
@@ -374,7 +374,7 @@ The image can be configured to use an external redis server. The configuration s
374374
```bash
375375
docker run --name gitlab -it --rm \
376376
--env 'REDIS_HOST=192.168.1.100' --env 'REDIS_PORT=6379' \
377-
sameersbn/gitlab:17.3.5
377+
sameersbn/gitlab:17.3.6
378378
```
379379

380380
#### Linking to Redis Container
@@ -401,7 +401,7 @@ We are now ready to start the GitLab application.
401401

402402
```bash
403403
docker run --name gitlab -d --link gitlab-redis:redisio \
404-
sameersbn/gitlab:17.3.5
404+
sameersbn/gitlab:17.3.6
405405
```
406406

407407
#### Mail
@@ -414,7 +414,7 @@ If you are using Gmail then all you need to do is:
414414
docker run --name gitlab -d \
415415
--env '[email protected]' --env 'SMTP_PASS=PASSWORD' \
416416
--volume /srv/docker/gitlab/gitlab:/home/git/data \
417-
sameersbn/gitlab:17.3.5
417+
sameersbn/gitlab:17.3.6
418418
```
419419

420420
Please refer the [Available Configuration Parameters](#available-configuration-parameters) section for the list of SMTP parameters that can be specified.
@@ -434,7 +434,7 @@ docker run --name gitlab -d \
434434
--env '[email protected]' --env 'IMAP_PASS=PASSWORD' \
435435
--env 'GITLAB_INCOMING_EMAIL_ADDRESS=USER+%{key}@gmail.com' \
436436
--volume /srv/docker/gitlab/gitlab:/home/git/data \
437-
sameersbn/gitlab:17.3.5
437+
sameersbn/gitlab:17.3.6
438438
```
439439

440440
Please refer the [Available Configuration Parameters](#available-configuration-parameters) section for the list of IMAP parameters that can be specified.
@@ -518,7 +518,7 @@ docker run --name gitlab -d \
518518
--env 'GITLAB_SSH_PORT=10022' --env 'GITLAB_PORT=10443' \
519519
--env 'GITLAB_HTTPS=true' --env 'SSL_SELF_SIGNED=true' \
520520
--volume /srv/docker/gitlab/gitlab:/home/git/data \
521-
sameersbn/gitlab:17.3.5
521+
sameersbn/gitlab:17.3.6
522522
```
523523

524524
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.
@@ -534,7 +534,7 @@ docker run --name gitlab -d \
534534
--env 'GITLAB_HTTPS=true' --env 'SSL_SELF_SIGNED=true' \
535535
--env 'NGINX_HSTS_MAXAGE=2592000' \
536536
--volume /srv/docker/gitlab/gitlab:/home/git/data \
537-
sameersbn/gitlab:17.3.5
537+
sameersbn/gitlab:17.3.6
538538
```
539539

540540
If you want to completely disable HSTS set `NGINX_HSTS_ENABLED` to `false`.
@@ -557,7 +557,7 @@ docker run --name gitlab -d \
557557
--env 'GITLAB_SSH_PORT=10022' --env 'GITLAB_PORT=443' \
558558
--env 'GITLAB_HTTPS=true' --env 'SSL_SELF_SIGNED=true' \
559559
--volume /srv/docker/gitlab/gitlab:/home/git/data \
560-
sameersbn/gitlab:17.3.5
560+
sameersbn/gitlab:17.3.6
561561
```
562562

563563
Again, drop the `--env 'SSL_SELF_SIGNED=true'` option if you are using CA certified SSL certificates.
@@ -605,7 +605,7 @@ Let's assume we want to deploy our application to '/git'. GitLab needs to know t
605605
docker run --name gitlab -it --rm \
606606
--env 'GITLAB_RELATIVE_URL_ROOT=/git' \
607607
--volume /srv/docker/gitlab/gitlab:/home/git/data \
608-
sameersbn/gitlab:17.3.5
608+
sameersbn/gitlab:17.3.6
609609
```
610610

611611
GitLab will now be accessible at the `/git` path, e.g. `http://www.example.com/git`.
@@ -811,14 +811,14 @@ Also the container processes seem to be executed as the host's user/group `1000`
811811
```bash
812812
docker run --name gitlab -it --rm [options] \
813813
--env "USERMAP_UID=$(id -u git)" --env "USERMAP_GID=$(id -g git)" \
814-
sameersbn/gitlab:17.3.5
814+
sameersbn/gitlab:17.3.6
815815
```
816816

817817
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:
818818

819819
```bash
820820
docker run --name gitlab -d [OPTIONS] \
821-
sameersbn/gitlab:17.3.5 app:sanitize
821+
sameersbn/gitlab:17.3.6 app:sanitize
822822
```
823823

824824
#### Piwik
@@ -2561,7 +2561,7 @@ Execute the rake task to create a backup.
25612561

25622562
```bash
25632563
docker run --name gitlab -it --rm [OPTIONS] \
2564-
sameersbn/gitlab:17.3.5 app:rake gitlab:backup:create
2564+
sameersbn/gitlab:17.3.6 app:rake gitlab:backup:create
25652565
```
25662566

25672567
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.
@@ -2596,14 +2596,14 @@ you need to prepare the database:
25962596

25972597
```bash
25982598
docker run --name gitlab -it --rm [OPTIONS] \
2599-
sameersbn/gitlab:17.3.5 app:rake db:setup
2599+
sameersbn/gitlab:17.3.6 app:rake db:setup
26002600
```
26012601

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

26042604
```bash
26052605
docker run --name gitlab -it --rm [OPTIONS] \
2606-
sameersbn/gitlab:17.3.5 app:rake gitlab:backup:restore
2606+
sameersbn/gitlab:17.3.6 app:rake gitlab:backup:restore
26072607
```
26082608

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

26132613
```bash
26142614
docker run --name gitlab -it --rm [OPTIONS] \
2615-
sameersbn/gitlab:17.3.5 app:rake gitlab:backup:restore BACKUP=1515629493_2020_12_06_13.0.6
2615+
sameersbn/gitlab:17.3.6 app:rake gitlab:backup:restore BACKUP=1515629493_2020_12_06_13.0.6
26162616
```
26172617

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

26622662
```bash
26632663
docker run --name gitlab -it --rm [OPTIONS] \
2664-
sameersbn/gitlab:17.3.5 app:rake gitlab:env:info
2664+
sameersbn/gitlab:17.3.6 app:rake gitlab:env:info
26652665
```
26662666

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

26752675
```bash
26762676
docker run --name gitlab -it --rm [OPTIONS] \
2677-
sameersbn/gitlab:17.3.5 app:rake gitlab:import:repos
2677+
sameersbn/gitlab:17.3.6 app:rake gitlab:import:repos
26782678
```
26792679

26802680
Or
@@ -2705,7 +2705,7 @@ Copy all the **bare** git repositories to the `repositories/` directory of the [
27052705

27062706
```bash
27072707
docker run --name gitlab -it --rm [OPTIONS] \
2708-
sameersbn/gitlab:17.3.5 app:rake gitlab:import:repos
2708+
sameersbn/gitlab:17.3.6 app:rake gitlab:import:repos
27092709
```
27102710

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

27302730
> **Note**
27312731
>
2732-
> Upgrading to `sameersbn/gitlab:17.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.
2732+
> Upgrading to `sameersbn/gitlab:17.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.
27332733

27342734
- **Step 1**: Update the docker image.
27352735

27362736
```bash
2737-
docker pull sameersbn/gitlab:17.3.5
2737+
docker pull sameersbn/gitlab:17.3.6
27382738
```
27392739

27402740
- **Step 2**: Stop and remove the currently running image
@@ -2760,7 +2760,7 @@ Replace `x.x.x` with the version you are upgrading from. For example, if you are
27602760
> **Note**: Since Gitlab 13.7 you need to provide the `GITLAB_SECRETS_ENCRYPTED_SETTINGS_KEY_BASE` parameter while starting the image. If not provided, the key will be generated by gitlab. So you can start the image without setting this parameter. But you will lose the key when you shutting down the container without taking a backup of `secrets.yml`.
27612761

27622762
```bash
2763-
docker run --name gitlab -d [OPTIONS] sameersbn/gitlab:17.3.5
2763+
docker run --name gitlab -d [OPTIONS] sameersbn/gitlab:17.3.6
27642764
```
27652765

27662766
### Shell Access
@@ -2798,7 +2798,7 @@ version: '2.3'
27982798
27992799
services:
28002800
gitlab:
2801-
image: sameersbn/gitlab:17.3.5
2801+
image: sameersbn/gitlab:17.3.6
28022802
healthcheck:
28032803
test: ["CMD", "/usr/local/sbin/healthcheck"]
28042804
interval: 1m

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
17.3.5
1+
17.3.6

contrib/docker-swarm/docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ services:
2222

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

docker-compose.swarm.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ services:
6363
- traefik-public
6464

6565
gitlab:
66-
image: sameersbn/gitlab:17.3.5
66+
image: sameersbn/gitlab:17.3.6
6767
depends_on:
6868
- redis
6969
- postgresql

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ services:
2222

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

docs/container_registry.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ docker stop registry gitlab && docker rm registry gitlab
289289
Execute the rake task with a removeable container.
290290
```bash
291291
docker run --name gitlab -it --rm [OPTIONS] \
292-
sameersbn/gitlab:17.3.5 app:rake gitlab:backup:create
292+
sameersbn/gitlab:17.3.6 app:rake gitlab:backup:create
293293
```
294294
## Restoring Backups
295295

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

306306
```bash
307307
docker run --name gitlab -it --rm [OPTIONS] \
308-
sameersbn/gitlab:17.3.5 app:rake gitlab:backup:restore
308+
sameersbn/gitlab:17.3.6 app:rake gitlab:backup:restore
309309
```
310310

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

315315
```bash
316316
docker run --name gitlab -it --rm [OPTIONS] \
317-
sameersbn/gitlab:17.3.5 app:rake gitlab:backup:restore BACKUP=1417624827
317+
sameersbn/gitlab:17.3.6 app:rake gitlab:backup:restore BACKUP=1417624827
318318
```
319319

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

327327
```bash
328-
docker pull sameersbn/gitlab:17.3.5
328+
docker pull sameersbn/gitlab:17.3.6
329329
```
330330

331331
- **Step 2**: Stop and remove the currently running image
@@ -378,7 +378,7 @@ docker run --name gitlab -d [PREVIOUS_OPTIONS] \
378378
--env 'GITLAB_REGISTRY_CERT_PATH=/certs/registry-auth.crt' \
379379
--env 'GITLAB_REGISTRY_KEY_PATH=/certs/registry-auth.key' \
380380
--link registry:registry
381-
sameersbn/gitlab:17.3.5
381+
sameersbn/gitlab:17.3.6
382382
```
383383

384384

docs/docker-compose-keycloak.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ services:
2222

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

docs/docker-compose-registry.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ services:
2222

2323
gitlab:
2424
restart: always
25-
image: sameersbn/gitlab:17.3.5
25+
image: sameersbn/gitlab:17.3.6
2626
volumes:
2727
- gitlab-data:/home/git/data:Z
2828
- gitlab-logs:/var/log/gitlab

kubernetes/gitlab-rc.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ spec:
1414
spec:
1515
containers:
1616
- name: gitlab
17-
image: sameersbn/gitlab:17.3.5
17+
image: sameersbn/gitlab:17.3.6
1818
env:
1919
- name: TZ
2020
value: Asia/Kolkata

0 commit comments

Comments
 (0)