Skip to content

Commit d347652

Browse files
authored
Merge pull request sameersbn#3157 from sachilles/upgrade-to-18.3.0
Upgrade GitLab CE to 18.3.0
2 parents c86909a + 9ed7f75 commit d347652

File tree

11 files changed

+48
-42
lines changed

11 files changed

+48
-42
lines changed

Changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
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+
## 18.3.0
7+
8+
- gitlab: upgrade CE to v18.3.0
9+
- gitaly: upgrade to v18.3.0
10+
- gitlab-pages: upgrade to v18.3.0
11+
612
## 18.2.4
713

814
- gitlab: upgrade CE to v18.2.4

Dockerfile

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

3-
ARG VERSION=18.2.4
3+
ARG VERSION=18.3.0
44

55
ENV GITLAB_VERSION=${VERSION} \
66
RUBY_VERSION=3.2.9 \
77
RUBY_SOURCE_SHA256SUM="abbad98db9aeb152773b0d35868e50003b8c467f3d06152577c4dfed9d88ed2a" \
88
RUBYGEMS_VERSION=3.7.1 \
99
GOLANG_VERSION=1.24.6 \
1010
GITLAB_SHELL_VERSION=14.44.0 \
11-
GITLAB_PAGES_VERSION=18.2.4 \
12-
GITALY_SERVER_VERSION=18.2.4 \
11+
GITLAB_PAGES_VERSION=18.3.0 \
12+
GITALY_SERVER_VERSION=18.3.0 \
1313
GITLAB_USER="git" \
1414
GITLAB_HOME="/home/git" \
1515
GITLAB_LOG_DIR="/var/log/gitlab" \

README.md

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

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

130130
```bash
131-
docker pull sameersbn/gitlab:18.2.4
131+
docker pull sameersbn/gitlab:18.3.0
132132
```
133133

134134
You can also pull the `latest` tag which is built from the repository *HEAD*
@@ -210,7 +210,7 @@ docker run --name gitlab -d \
210210
--env 'GITLAB_SECRETS_ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY=["long-and-random-alpha-numeric-string"]' \
211211
--env 'GITLAB_SECRETS_ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT=long-and-random-alpha-numeric-string' \
212212
--volume /srv/docker/gitlab/gitlab:/home/git/data \
213-
sameersbn/gitlab:18.2.4
213+
sameersbn/gitlab:18.3.0
214214
```
215215

216216
*Please refer to [Available Configuration Parameters](#available-configuration-parameters) to understand `GITLAB_PORT` and other configuration options*
@@ -245,7 +245,7 @@ Volumes can be mounted in docker by specifying the `-v` option in the docker run
245245
```bash
246246
docker run --name gitlab -d \
247247
--volume /srv/docker/gitlab/gitlab:/home/git/data \
248-
sameersbn/gitlab:18.2.4
248+
sameersbn/gitlab:18.3.0
249249
```
250250

251251
### Database
@@ -310,7 +310,7 @@ docker run --name gitlab -d \
310310
--env 'DB_NAME=gitlabhq_production' \
311311
--env 'DB_USER=gitlab' --env 'DB_PASS=password' \
312312
--volume /srv/docker/gitlab/gitlab:/home/git/data \
313-
sameersbn/gitlab:18.2.4
313+
sameersbn/gitlab:18.3.0
314314
```
315315

316316
##### Linking to PostgreSQL Container
@@ -354,7 +354,7 @@ We are now ready to start the GitLab application.
354354
```bash
355355
docker run --name gitlab -d --link gitlab-postgresql:postgresql \
356356
--volume /srv/docker/gitlab/gitlab:/home/git/data \
357-
sameersbn/gitlab:18.2.4
357+
sameersbn/gitlab:18.3.0
358358
```
359359

360360
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:
@@ -392,7 +392,7 @@ The image can be configured to use an external redis server. The configuration s
392392
```bash
393393
docker run --name gitlab -it --rm \
394394
--env 'REDIS_HOST=192.168.1.100' --env 'REDIS_PORT=6379' \
395-
sameersbn/gitlab:18.2.4
395+
sameersbn/gitlab:18.3.0
396396
```
397397

398398
#### Linking to Redis Container
@@ -419,7 +419,7 @@ We are now ready to start the GitLab application.
419419

420420
```bash
421421
docker run --name gitlab -d --link gitlab-redis:redisio \
422-
sameersbn/gitlab:18.2.4
422+
sameersbn/gitlab:18.3.0
423423
```
424424

425425
#### Mail
@@ -432,7 +432,7 @@ If you are using Gmail then all you need to do is:
432432
docker run --name gitlab -d \
433433
--env '[email protected]' --env 'SMTP_PASS=PASSWORD' \
434434
--volume /srv/docker/gitlab/gitlab:/home/git/data \
435-
sameersbn/gitlab:18.2.4
435+
sameersbn/gitlab:18.3.0
436436
```
437437

438438
Please refer the [Available Configuration Parameters](#available-configuration-parameters) section for the list of SMTP parameters that can be specified.
@@ -452,7 +452,7 @@ docker run --name gitlab -d \
452452
--env '[email protected]' --env 'IMAP_PASS=PASSWORD' \
453453
--env 'GITLAB_INCOMING_EMAIL_ADDRESS=USER+%{key}@gmail.com' \
454454
--volume /srv/docker/gitlab/gitlab:/home/git/data \
455-
sameersbn/gitlab:18.2.4
455+
sameersbn/gitlab:18.3.0
456456
```
457457

458458
Please refer the [Available Configuration Parameters](#available-configuration-parameters) section for the list of IMAP parameters that can be specified.
@@ -536,7 +536,7 @@ docker run --name gitlab -d \
536536
--env 'GITLAB_SSH_PORT=10022' --env 'GITLAB_PORT=10443' \
537537
--env 'GITLAB_HTTPS=true' --env 'SSL_SELF_SIGNED=true' \
538538
--volume /srv/docker/gitlab/gitlab:/home/git/data \
539-
sameersbn/gitlab:18.2.4
539+
sameersbn/gitlab:18.3.0
540540
```
541541

542542
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.
@@ -552,7 +552,7 @@ docker run --name gitlab -d \
552552
--env 'GITLAB_HTTPS=true' --env 'SSL_SELF_SIGNED=true' \
553553
--env 'NGINX_HSTS_MAXAGE=2592000' \
554554
--volume /srv/docker/gitlab/gitlab:/home/git/data \
555-
sameersbn/gitlab:18.2.4
555+
sameersbn/gitlab:18.3.0
556556
```
557557

558558
If you want to completely disable HSTS set `NGINX_HSTS_ENABLED` to `false`.
@@ -575,7 +575,7 @@ docker run --name gitlab -d \
575575
--env 'GITLAB_SSH_PORT=10022' --env 'GITLAB_PORT=443' \
576576
--env 'GITLAB_HTTPS=true' --env 'SSL_SELF_SIGNED=true' \
577577
--volume /srv/docker/gitlab/gitlab:/home/git/data \
578-
sameersbn/gitlab:18.2.4
578+
sameersbn/gitlab:18.3.0
579579
```
580580

581581
Again, drop the `--env 'SSL_SELF_SIGNED=true'` option if you are using CA certified SSL certificates.
@@ -623,7 +623,7 @@ Let's assume we want to deploy our application to '/git'. GitLab needs to know t
623623
docker run --name gitlab -it --rm \
624624
--env 'GITLAB_RELATIVE_URL_ROOT=/git' \
625625
--volume /srv/docker/gitlab/gitlab:/home/git/data \
626-
sameersbn/gitlab:18.2.4
626+
sameersbn/gitlab:18.3.0
627627
```
628628

629629
GitLab will now be accessible at the `/git` path, e.g. `http://www.example.com/git`.
@@ -850,14 +850,14 @@ Also the container processes seem to be executed as the host's user/group `1000`
850850
```bash
851851
docker run --name gitlab -it --rm [options] \
852852
--env "USERMAP_UID=$(id -u git)" --env "USERMAP_GID=$(id -g git)" \
853-
sameersbn/gitlab:18.2.4
853+
sameersbn/gitlab:18.3.0
854854
```
855855

856856
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:
857857

858858
```bash
859859
docker run --name gitlab -d [OPTIONS] \
860-
sameersbn/gitlab:18.2.4 app:sanitize
860+
sameersbn/gitlab:18.3.0 app:sanitize
861861
```
862862

863863
#### Piwik
@@ -2612,7 +2612,7 @@ Execute the rake task to create a backup.
26122612

26132613
```bash
26142614
docker run --name gitlab -it --rm [OPTIONS] \
2615-
sameersbn/gitlab:18.2.4 app:rake gitlab:backup:create
2615+
sameersbn/gitlab:18.3.0 app:rake gitlab:backup:create
26162616
```
26172617

26182618
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.
@@ -2647,14 +2647,14 @@ you need to prepare the database:
26472647

26482648
```bash
26492649
docker run --name gitlab -it --rm [OPTIONS] \
2650-
sameersbn/gitlab:18.2.4 app:rake db:setup
2650+
sameersbn/gitlab:18.3.0 app:rake db:setup
26512651
```
26522652

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

26552655
```bash
26562656
docker run --name gitlab -it --rm [OPTIONS] \
2657-
sameersbn/gitlab:18.2.4 app:rake gitlab:backup:restore
2657+
sameersbn/gitlab:18.3.0 app:rake gitlab:backup:restore
26582658
```
26592659

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

26642664
```bash
26652665
docker run --name gitlab -it --rm [OPTIONS] \
2666-
sameersbn/gitlab:18.2.4 app:rake gitlab:backup:restore BACKUP=1515629493_2020_12_06_13.0.6
2666+
sameersbn/gitlab:18.3.0 app:rake gitlab:backup:restore BACKUP=1515629493_2020_12_06_13.0.6
26672667
```
26682668

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

27132713
```bash
27142714
docker run --name gitlab -it --rm [OPTIONS] \
2715-
sameersbn/gitlab:18.2.4 app:rake gitlab:env:info
2715+
sameersbn/gitlab:18.3.0 app:rake gitlab:env:info
27162716
```
27172717

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

27262726
```bash
27272727
docker run --name gitlab -it --rm [OPTIONS] \
2728-
sameersbn/gitlab:18.2.4 app:rake gitlab:import:repos
2728+
sameersbn/gitlab:18.3.0 app:rake gitlab:import:repos
27292729
```
27302730

27312731
Or
@@ -2756,7 +2756,7 @@ Copy all the **bare** git repositories to the `repositories/` directory of the [
27562756

27572757
```bash
27582758
docker run --name gitlab -it --rm [OPTIONS] \
2759-
sameersbn/gitlab:18.2.4 app:rake gitlab:import:repos
2759+
sameersbn/gitlab:18.3.0 app:rake gitlab:import:repos
27602760
```
27612761

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

27882788
> **Note**
27892789
>
2790-
> Upgrading to `sameersbn/gitlab:18.2.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.
2790+
> Upgrading to `sameersbn/gitlab:18.3.0` 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.
27912791

27922792
- **Step 1**: Update the docker image.
27932793

27942794
```bash
2795-
docker pull sameersbn/gitlab:18.2.4
2795+
docker pull sameersbn/gitlab:18.3.0
27962796
```
27972797

27982798
- **Step 2**: Stop and remove the currently running image
@@ -2822,7 +2822,7 @@ Replace `x.x.x` with the version you are upgrading from. For example, if you are
28222822
> **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.**
28232823

28242824
```bash
2825-
docker run --name gitlab -d [OPTIONS] sameersbn/gitlab:18.2.4
2825+
docker run --name gitlab -d [OPTIONS] sameersbn/gitlab:18.3.0
28262826
```
28272827

28282828
### Shell Access
@@ -2858,7 +2858,7 @@ You can also set your `docker-compose.yml` [healthcheck](https://docs.docker.com
28582858
```yml
28592859
services:
28602860
gitlab:
2861-
image: sameersbn/gitlab:18.2.4
2861+
image: sameersbn/gitlab:18.3.0
28622862
healthcheck:
28632863
test: ["CMD", "/usr/local/sbin/healthcheck"]
28642864
interval: 1m

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18.2.4
1+
18.3.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:18.2.4
23+
image: sameersbn/gitlab:18.3.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:18.2.4
65+
image: sameersbn/gitlab:18.3.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:18.2.4
24+
image: sameersbn/gitlab:18.3.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
@@ -291,7 +291,7 @@ Execute the rake task with a removeable container.
291291

292292
```bash
293293
docker run --name gitlab -it --rm [OPTIONS] \
294-
sameersbn/gitlab:18.2.4 app:rake gitlab:backup:create
294+
sameersbn/gitlab:18.3.0 app:rake gitlab:backup:create
295295
```
296296

297297
### Restoring Backups
@@ -308,7 +308,7 @@ Execute the rake task to restore a backup. Make sure you run the container in in
308308

309309
```bash
310310
docker run --name gitlab -it --rm [OPTIONS] \
311-
sameersbn/gitlab:18.2.4 app:rake gitlab:backup:restore
311+
sameersbn/gitlab:18.3.0 app:rake gitlab:backup:restore
312312
```
313313

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

318318
```bash
319319
docker run --name gitlab -it --rm [OPTIONS] \
320-
sameersbn/gitlab:18.2.4 app:rake gitlab:backup:restore BACKUP=1417624827
320+
sameersbn/gitlab:18.3.0 app:rake gitlab:backup:restore BACKUP=1417624827
321321
```
322322

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

329329
```bash
330-
docker pull sameersbn/gitlab:18.2.4
330+
docker pull sameersbn/gitlab:18.3.0
331331
```
332332

333333
- **Step 2**: Stop and remove the currently running image
@@ -381,7 +381,7 @@ docker run --name gitlab -d [PREVIOUS_OPTIONS] \
381381
--env 'GITLAB_REGISTRY_CERT_PATH=/certs/registry-auth.crt' \
382382
--env 'GITLAB_REGISTRY_KEY_PATH=/certs/registry-auth.key' \
383383
--link registry:registry
384-
sameersbn/gitlab:18.2.4
384+
sameersbn/gitlab:18.3.0
385385
```
386386

387387
[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:18.2.4
23+
image: sameersbn/gitlab:18.3.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:18.2.4
23+
image: sameersbn/gitlab:18.3.0
2424
volumes:
2525
- gitlab-data:/home/git/data:Z
2626
- gitlab-logs:/var/log/gitlab

0 commit comments

Comments
 (0)