Skip to content

Commit 7982d9b

Browse files
authored
Merge pull request #3277 from sachilles/upgrade-to-19.2.0
Upgrade GitLab CE to 19.2.0
2 parents 89f5ace + d6d3e7c commit 7982d9b

11 files changed

Lines changed: 54 additions & 45 deletions

Changelog.md

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

6+
## 19.2.0
7+
8+
- gitlab: upgrade CE to v19.2.0
9+
- gitaly: upgrade to v19.2.0
10+
- gitlab-pages: upgrade to v19.2.0
11+
- gitlab-shell: upgrade to v14.56.1
12+
- ruby: upgrade to v3.3.12
13+
- rubygems: upgrade to v4.0.16
14+
615
## 19.1.2
716

817
- gitlab: upgrade CE to v19.1.2

Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
FROM ubuntu:noble-20260610
22

3-
ARG VERSION=19.1.2
3+
ARG VERSION=19.2.0
44

55
ENV GITLAB_VERSION=${VERSION} \
6-
RUBY_VERSION=3.3.11 \
7-
RUBY_SOURCE_SHA256SUM="59f0fafb1a59a05dc3765117af3fa68e153eb48254708549f321c1e9e078d7a0" \
8-
RUBYGEMS_VERSION=4.0.15 \
6+
RUBY_VERSION=3.3.12 \
7+
RUBY_SOURCE_SHA256SUM="b06d63beae271933033e27f0a389bc582a009e7845357d44365c39de525a051b" \
8+
RUBYGEMS_VERSION=4.0.16 \
99
GOLANG_VERSION=1.26.5 \
10-
GITLAB_SHELL_VERSION=14.54.0 \
11-
GITLAB_PAGES_VERSION=19.1.2 \
12-
GITALY_SERVER_VERSION=19.1.2 \
10+
GITLAB_SHELL_VERSION=14.56.1 \
11+
GITLAB_PAGES_VERSION=19.2.0 \
12+
GITALY_SERVER_VERSION=19.2.0 \
1313
GITLAB_USER="git" \
1414
GITLAB_HOME="/home/git" \
1515
GITLAB_LOG_DIR="/var/log/gitlab" \

README.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# sameersbn/gitlab:19.1.2
1+
# sameersbn/gitlab:19.2.0
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

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

131131
```bash
132-
docker pull sameersbn/gitlab:19.1.2
132+
docker pull sameersbn/gitlab:19.2.0
133133
```
134134

135135
You can also pull the `latest` tag which is built from the repository *HEAD*
@@ -211,7 +211,7 @@ docker run --name gitlab -d \
211211
--env 'GITLAB_SECRETS_ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY=["long-and-random-alpha-numeric-string"]' \
212212
--env 'GITLAB_SECRETS_ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT=long-and-random-alpha-numeric-string' \
213213
--volume /srv/docker/gitlab/gitlab:/home/git/data \
214-
sameersbn/gitlab:19.1.2
214+
sameersbn/gitlab:19.2.0
215215
```
216216

217217
*Please refer to [Available Configuration Parameters](#available-configuration-parameters) to understand `GITLAB_PORT` and other configuration options*
@@ -246,7 +246,7 @@ Volumes can be mounted in docker by specifying the `-v` option in the docker run
246246
```bash
247247
docker run --name gitlab -d \
248248
--volume /srv/docker/gitlab/gitlab:/home/git/data \
249-
sameersbn/gitlab:19.1.2
249+
sameersbn/gitlab:19.2.0
250250
```
251251

252252
### Database
@@ -309,7 +309,7 @@ docker run --name gitlab -d \
309309
--env 'DB_NAME=gitlabhq_production' \
310310
--env 'DB_USER=gitlab' --env 'DB_PASS=password' \
311311
--volume /srv/docker/gitlab/gitlab:/home/git/data \
312-
sameersbn/gitlab:19.1.2
312+
sameersbn/gitlab:19.2.0
313313
```
314314

315315
##### Linking to PostgreSQL Container
@@ -353,7 +353,7 @@ We are now ready to start the GitLab application.
353353
```bash
354354
docker run --name gitlab -d --link gitlab-postgresql:postgresql \
355355
--volume /srv/docker/gitlab/gitlab:/home/git/data \
356-
sameersbn/gitlab:19.1.2
356+
sameersbn/gitlab:19.2.0
357357
```
358358

359359
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:
@@ -391,7 +391,7 @@ The image can be configured to use an external redis server. The configuration s
391391
```bash
392392
docker run --name gitlab -it --rm \
393393
--env 'REDIS_HOST=192.168.1.100' --env 'REDIS_PORT=6379' \
394-
sameersbn/gitlab:19.1.2
394+
sameersbn/gitlab:19.2.0
395395
```
396396

397397
#### Linking to Redis Container
@@ -418,7 +418,7 @@ We are now ready to start the GitLab application.
418418

419419
```bash
420420
docker run --name gitlab -d --link gitlab-redis:redisio \
421-
sameersbn/gitlab:19.1.2
421+
sameersbn/gitlab:19.2.0
422422
```
423423

424424
#### Mail
@@ -431,7 +431,7 @@ If you are using Gmail then all you need to do is:
431431
docker run --name gitlab -d \
432432
--env 'SMTP_USER=USER@gmail.com' --env 'SMTP_PASS=PASSWORD' \
433433
--volume /srv/docker/gitlab/gitlab:/home/git/data \
434-
sameersbn/gitlab:19.1.2
434+
sameersbn/gitlab:19.2.0
435435
```
436436

437437
Please refer the [Available Configuration Parameters](#available-configuration-parameters) section for the list of SMTP parameters that can be specified.
@@ -471,7 +471,7 @@ docker run --name gitlab -d \
471471
--env 'IMAP_USER=USER@gmail.com' --env 'IMAP_PASS=PASSWORD' \
472472
--env 'GITLAB_INCOMING_EMAIL_ADDRESS=USER+%{key}@gmail.com' \
473473
--volume /srv/docker/gitlab/gitlab:/home/git/data \
474-
sameersbn/gitlab:19.1.2
474+
sameersbn/gitlab:19.2.0
475475
```
476476

477477
Please refer the [Available Configuration Parameters](#available-configuration-parameters) section for the list of IMAP parameters that can be specified.
@@ -555,7 +555,7 @@ docker run --name gitlab -d \
555555
--env 'GITLAB_SSH_PORT=10022' --env 'GITLAB_PORT=10443' \
556556
--env 'GITLAB_HTTPS=true' --env 'SSL_SELF_SIGNED=true' \
557557
--volume /srv/docker/gitlab/gitlab:/home/git/data \
558-
sameersbn/gitlab:19.1.2
558+
sameersbn/gitlab:19.2.0
559559
```
560560

561561
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.
@@ -571,7 +571,7 @@ docker run --name gitlab -d \
571571
--env 'GITLAB_HTTPS=true' --env 'SSL_SELF_SIGNED=true' \
572572
--env 'NGINX_HSTS_MAXAGE=2592000' \
573573
--volume /srv/docker/gitlab/gitlab:/home/git/data \
574-
sameersbn/gitlab:19.1.2
574+
sameersbn/gitlab:19.2.0
575575
```
576576

577577
If you want to completely disable HSTS set `NGINX_HSTS_ENABLED` to `false`.
@@ -594,7 +594,7 @@ docker run --name gitlab -d \
594594
--env 'GITLAB_SSH_PORT=10022' --env 'GITLAB_PORT=443' \
595595
--env 'GITLAB_HTTPS=true' --env 'SSL_SELF_SIGNED=true' \
596596
--volume /srv/docker/gitlab/gitlab:/home/git/data \
597-
sameersbn/gitlab:19.1.2
597+
sameersbn/gitlab:19.2.0
598598
```
599599

600600
Again, drop the `--env 'SSL_SELF_SIGNED=true'` option if you are using CA certified SSL certificates.
@@ -642,7 +642,7 @@ Let's assume we want to deploy our application to '/git'. GitLab needs to know t
642642
docker run --name gitlab -it --rm \
643643
--env 'GITLAB_RELATIVE_URL_ROOT=/git' \
644644
--volume /srv/docker/gitlab/gitlab:/home/git/data \
645-
sameersbn/gitlab:19.1.2
645+
sameersbn/gitlab:19.2.0
646646
```
647647

648648
GitLab will now be accessible at the `/git` path, e.g. `http://www.example.com/git`.
@@ -869,14 +869,14 @@ Also the container processes seem to be executed as the host's user/group `1000`
869869
```bash
870870
docker run --name gitlab -it --rm [options] \
871871
--env "USERMAP_UID=$(id -u git)" --env "USERMAP_GID=$(id -g git)" \
872-
sameersbn/gitlab:19.1.2
872+
sameersbn/gitlab:19.2.0
873873
```
874874

875875
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:
876876

877877
```bash
878878
docker run --name gitlab -d [OPTIONS] \
879-
sameersbn/gitlab:19.1.2 app:sanitize
879+
sameersbn/gitlab:19.2.0 app:sanitize
880880
```
881881

882882
#### Piwik
@@ -2675,7 +2675,7 @@ Execute the rake task to create a backup.
26752675

26762676
```bash
26772677
docker run --name gitlab -it --rm [OPTIONS] \
2678-
sameersbn/gitlab:19.1.2 app:rake gitlab:backup:create
2678+
sameersbn/gitlab:19.2.0 app:rake gitlab:backup:create
26792679
```
26802680

26812681
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.
@@ -2710,14 +2710,14 @@ you need to prepare the database:
27102710

27112711
```bash
27122712
docker run --name gitlab -it --rm [OPTIONS] \
2713-
sameersbn/gitlab:19.1.2 app:rake db:setup
2713+
sameersbn/gitlab:19.2.0 app:rake db:setup
27142714
```
27152715

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

27182718
```bash
27192719
docker run --name gitlab -it --rm [OPTIONS] \
2720-
sameersbn/gitlab:19.1.2 app:rake gitlab:backup:restore
2720+
sameersbn/gitlab:19.2.0 app:rake gitlab:backup:restore
27212721
```
27222722

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

27272727
```bash
27282728
docker run --name gitlab -it --rm [OPTIONS] \
2729-
sameersbn/gitlab:19.1.2 app:rake gitlab:backup:restore BACKUP=1515629493_2020_12_06_13.0.6
2729+
sameersbn/gitlab:19.2.0 app:rake gitlab:backup:restore BACKUP=1515629493_2020_12_06_13.0.6
27302730
```
27312731

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

27762776
```bash
27772777
docker run --name gitlab -it --rm [OPTIONS] \
2778-
sameersbn/gitlab:19.1.2 app:rake gitlab:env:info
2778+
sameersbn/gitlab:19.2.0 app:rake gitlab:env:info
27792779
```
27802780

27812781
You can also use `docker exec` to run rake tasks on running gitlab instance. For example,
@@ -2788,7 +2788,7 @@ Similarly, to import bare repositories into GitLab project instance
27882788

27892789
```bash
27902790
docker run --name gitlab -it --rm [OPTIONS] \
2791-
sameersbn/gitlab:19.1.2 app:rake gitlab:import:repos
2791+
sameersbn/gitlab:19.2.0 app:rake gitlab:import:repos
27922792
```
27932793

27942794
Or
@@ -2819,7 +2819,7 @@ Copy all the **bare** git repositories to the `repositories/` directory of the [
28192819

28202820
```bash
28212821
docker run --name gitlab -it --rm [OPTIONS] \
2822-
sameersbn/gitlab:19.1.2 app:rake gitlab:import:repos
2822+
sameersbn/gitlab:19.2.0 app:rake gitlab:import:repos
28232823
```
28242824

28252825
Watch the logs and your repositories should be available into your new gitlab container.
@@ -2856,7 +2856,7 @@ To upgrade to newer gitlab releases, simply follow this 4 step upgrade procedure
28562856
- **Step 1**: Update the docker image.
28572857

28582858
```bash
2859-
docker pull sameersbn/gitlab:19.1.2
2859+
docker pull sameersbn/gitlab:19.2.0
28602860
```
28612861

28622862
- **Step 2**: Stop and remove the currently running image
@@ -2886,7 +2886,7 @@ Replace `x.x.x` with the version you are upgrading from. For example, if you are
28862886
> **Note**: Since Gitlab 17.8 you need to provide `GITLAB_SECRETS_ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY`,`GITLAB_SECRETS_ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY` and `GITLAB_SECRETS_ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT`. If not provided, these keys will be generated by gitlab. The image can be started without setting these parameters, **but you will lose the settings when you shutting down the container without taking a backup of `secrets.yml` and settings stored securely (such as the Dependency Proxy) will be unusable and unrecoverable.**
28872887

28882888
```bash
2889-
docker run --name gitlab -d [OPTIONS] sameersbn/gitlab:19.1.2
2889+
docker run --name gitlab -d [OPTIONS] sameersbn/gitlab:19.2.0
28902890
```
28912891

28922892
### Shell Access
@@ -2922,7 +2922,7 @@ You can also set your `docker-compose.yml` [healthcheck](https://docs.docker.com
29222922
```yml
29232923
services:
29242924
gitlab:
2925-
image: sameersbn/gitlab:19.1.2
2925+
image: sameersbn/gitlab:19.2.0
29262926
healthcheck:
29272927
test: ["CMD", "/usr/local/sbin/healthcheck"]
29282928
interval: 1m

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
19.1.2
1+
19.2.0

contrib/docker-swarm/docker-compose.yml

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

2121
gitlab:
2222
restart: always
23-
image: sameersbn/gitlab:19.1.2
23+
image: sameersbn/gitlab:19.2.0
2424
depends_on:
2525
- redis
2626
- postgresql

docker-compose.swarm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ services:
6262
- traefik-public
6363

6464
gitlab:
65-
image: sameersbn/gitlab:19.1.2
65+
image: sameersbn/gitlab:19.2.0
6666
depends_on:
6767
- redis
6868
- postgresql

docker-compose.yml

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

2222
gitlab:
2323
restart: always
24-
image: sameersbn/gitlab:19.1.2
24+
image: sameersbn/gitlab:19.2.0
2525
depends_on:
2626
- redis
2727
- postgresql

docs/container_registry.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ Execute the rake task with a removeable container.
298298

299299
```bash
300300
docker run --name gitlab -it --rm [OPTIONS] \
301-
sameersbn/gitlab:19.1.2 app:rake gitlab:backup:create
301+
sameersbn/gitlab:19.2.0 app:rake gitlab:backup:create
302302
```
303303

304304
### Restoring Backups
@@ -315,7 +315,7 @@ Execute the rake task to restore a backup. Make sure you run the container in in
315315

316316
```bash
317317
docker run --name gitlab -it --rm [OPTIONS] \
318-
sameersbn/gitlab:19.1.2 app:rake gitlab:backup:restore
318+
sameersbn/gitlab:19.2.0 app:rake gitlab:backup:restore
319319
```
320320

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

325325
```bash
326326
docker run --name gitlab -it --rm [OPTIONS] \
327-
sameersbn/gitlab:19.1.2 app:rake gitlab:backup:restore BACKUP=1417624827
327+
sameersbn/gitlab:19.2.0 app:rake gitlab:backup:restore BACKUP=1417624827
328328
```
329329

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

336336
```bash
337-
docker pull sameersbn/gitlab:19.1.2
337+
docker pull sameersbn/gitlab:19.2.0
338338
```
339339

340340
- **Step 2**: Stop and remove the currently running image
@@ -388,7 +388,7 @@ docker run --name gitlab -d [PREVIOUS_OPTIONS] \
388388
--env 'GITLAB_REGISTRY_CERT_PATH=/certs/registry-auth.crt' \
389389
--env 'GITLAB_REGISTRY_KEY_PATH=/certs/registry-auth.key' \
390390
--link registry:registry
391-
sameersbn/gitlab:19.1.2
391+
sameersbn/gitlab:19.2.0
392392
```
393393

394394
[storage-config]: https://docs.docker.com/registry/configuration/#storage

docs/docker-compose-keycloak.yml

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

2121
gitlab:
2222
restart: always
23-
image: sameersbn/gitlab:19.1.2
23+
image: sameersbn/gitlab:19.2.0
2424
depends_on:
2525
- redis
2626
- postgresql

docs/docker-compose-registry.yml

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

2121
gitlab:
2222
restart: always
23-
image: sameersbn/gitlab:19.1.2
23+
image: sameersbn/gitlab:19.2.0
2424
volumes:
2525
- gitlab-data:/home/git/data:Z
2626
- gitlab-logs:/var/log/gitlab

0 commit comments

Comments
 (0)