Skip to content

Commit 946d809

Browse files
authored
Bug 1990986: Use newer Postgres images, clean up dockerhub build (#149)
1 parent b4d74af commit 946d809

18 files changed

+151
-483
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
ARG BZDB="-mysql8"
2-
FROM bugzilla/bugzilla-perl-slim${BZDB}:20240419.1
1+
ARG BZDB="-mysql"
2+
FROM bugzilla/bugzilla-perl-slim${BZDB}:20250925.1
33

44
ENV DEBIAN_FRONTEND noninteractive
55

Makefile.PL

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ my %requires = (
9090
'Role::Tiny' => '2.000003',
9191
'Scope::Guard' => '0.21',
9292
'Sereal' => '4.004',
93+
'Sub::Identify' => 0,
9394
'Sub::Quote' => '2.005000',
9495
'Template' => '3.008',
9596
'Text::CSV_XS' => '1.26',
@@ -199,7 +200,7 @@ my %optional_features = (
199200
jsonrpc => {
200201
description => 'JSON-RPC Interface',
201202
prereqs => {
202-
runtime => {requires => {'JSON::RPC' => '== 1.01', 'Test::Taint' => '1.06'}}
203+
runtime => {requires => {'JSON::RPC' => '1.01', 'Test::Taint' => '1.06'}}
203204
}
204205
},
205206
linux_pdeath => {
@@ -283,7 +284,7 @@ my %optional_features = (
283284
rest => {
284285
description => 'REST Interface',
285286
prereqs => {
286-
runtime => {requires => {'Test::Taint' => '1.06', 'JSON::RPC' => '==1.01',}}
287+
runtime => {requires => {'Test::Taint' => '1.06', 'JSON::RPC' => '1.01',}}
287288
}
288289
},
289290
s3 => {

cpanfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ requires 'Role::Tiny', '2.000003';
6868
requires 'SOAP::Lite', '0.712';
6969
requires 'Scope::Guard', '0.21';
7070
requires 'Sereal', '4.004';
71+
requires 'Sub::Identify';
7172
requires 'Sub::Quote', '2.005000';
7273
requires 'Sys::Syslog';
7374
requires 'Template', '3.008';

docker-compose.test-mariadb.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ services:
88
bugzilla6.test:
99
build:
1010
args:
11-
- BZDB=-mariadb106
11+
- BZDB=-mariadb
1212
context: .
1313
dockerfile: Dockerfile
1414
command: dev_httpd

docker-compose.test-pg.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ services:
88
bugzilla6.test:
99
build:
1010
args:
11-
- BZDB=-pg9
11+
- BZDB=-pg
1212
context: .
1313
dockerfile: Dockerfile
1414
command: dev_httpd
@@ -18,7 +18,7 @@ services:
1818
environment:
1919
- 'BMO_inbound_proxies=*'
2020
- BMO_db_driver=pg
21-
- BMO_db_host=bugzilla6.pgsql9
21+
- BMO_db_host=bugzilla6.pgsql13
2222
- BMO_db_name=bugs
2323
- BMO_db_pass=bugs
2424
- BMO_db_user=bugs
@@ -40,12 +40,12 @@ services:
4040
- TWD_HOST=selenium
4141
- TWD_PORT=4444
4242
depends_on:
43-
- bugzilla6.pgsql9
43+
- bugzilla6.pgsql13
4444
- memcached
4545
- selenium
4646

47-
bugzilla6.pgsql9:
48-
image: postgres:9.0
47+
bugzilla6.pgsql13:
48+
image: postgres:13.22
4949
tmpfs:
5050
- /tmp
5151
logging:

docker-compose.test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ services:
4343
- selenium
4444

4545
bugzilla6.mysql8:
46-
build:
47-
context: .
48-
dockerfile: docker/images/Dockerfile.mysql8
46+
image: mysql:8
47+
command:
48+
- '--max_allowed_packet=64M'
4949
tmpfs:
5050
- /tmp
5151
logging:

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ services:
9595
# - memcached
9696

9797
bugzilla6.mysql8:
98-
build:
99-
context: .
100-
dockerfile: docker/images/Dockerfile.mysql8
98+
image: mysql:8
99+
command:
100+
- '--max_allowed_packet=64M'
101101
volumes:
102102
- bugzilla6-mysql-db:/var/lib/mysql
103103
tmpfs:

docker/gen-bugzilla-perl-slim.sh

Lines changed: 0 additions & 115 deletions
This file was deleted.

docker/gen-bugzilla-slim-mariadb106.sh

Lines changed: 0 additions & 113 deletions
This file was deleted.

0 commit comments

Comments
 (0)