Skip to content

Commit 5943ecb

Browse files
authored
Merge pull request #19984 from J0WI/trixie-tests
Update tests to Debian Trixie
2 parents a4427f3 + 4a393c9 commit 5943ecb

File tree

22 files changed

+36
-36
lines changed

22 files changed

+36
-36
lines changed

test/README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,44 +6,44 @@
66
$ ./run.sh
77

88
usage: run.sh [-t test ...] image:tag [...]
9-
ie: run.sh debian:bookworm
9+
ie: run.sh debian:trixie
1010
run.sh -t utc python:3
1111
run.sh -t utc python:3 -t python-imports
1212

1313
This script processes the specified Docker images to test their running
1414
environments.
1515
```
1616

17-
Run all the tests that are applicable to the `debian:bookworm` image:
17+
Run all the tests that are applicable to the `debian:trixie` image:
1818

1919
```console
20-
$ ./run.sh debian:bookworm
21-
testing debian:bookworm
20+
$ ./run.sh debian:trixie
21+
testing debian:trixie
2222
'utc' [1/4]...passed
2323
'no-hard-coded-passwords' [2/4]...passed
2424
'override-cmd' [3/4]...passed
2525
'debian-apt-get' [4/4]...passed
2626
```
2727

28-
Try to run just the `python-imports` test against the `debian:bookworm` image: (which doesn't contain Python)
28+
Try to run just the `python-imports` test against the `debian:trixie` image: (which doesn't contain Python)
2929

3030
```console
31-
$ ./run.sh -t python-imports debian:bookworm
32-
testing debian:bookworm
31+
$ ./run.sh -t python-imports debian:trixie
32+
testing debian:trixie
3333
image has no tests...skipping
3434
```
3535

36-
Run the `utc` and `python-imports` tests against `python:3`, `pypy:3`, and `debian:bookworm`:
36+
Run the `utc` and `python-imports` tests against `python:3`, `pypy:3`, and `debian:trixie`:
3737

3838
```console
39-
$ ./run.sh -t utc -t python-imports python:3 pypy:3 debian:bookworm
39+
$ ./run.sh -t utc -t python-imports python:3 pypy:3 debian:trixie
4040
testing python:3
4141
'utc' [1/2]...passed
4242
'python-imports' [2/2]...passed
4343
testing pypy:3
4444
'utc' [1/2]...passed
4545
'python-imports' [2/2]...passed
46-
testing debian:bookworm
46+
testing debian:trixie
4747
'utc' [1/1]...passed
4848
```
4949

test/run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ usage() {
99
cat <<EOUSAGE
1010
1111
usage: $self [-t test ...] image:tag [...]
12-
ie: $self debian:bookworm
12+
ie: $self debian:trixie
1313
$self -t utc python:3
1414
$self -t utc python:3 -t python-imports
1515
@@ -123,7 +123,7 @@ for dockerImage in "$@"; do
123123
variant='alpine'
124124
;;
125125
slim-*|*-slim-*)
126-
# "slim-bookworm" is still "slim"
126+
# "slim-trixie" is still "slim"
127127
variant='slim'
128128
;;
129129
psmdb-*)

test/tests/convertigo-hello-world/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dir="$(dirname "$(readlink -f "$BASH_SOURCE")")"
66
serverImage="$1"
77

88
# Use a client image with curl for testing
9-
clientImage='buildpack-deps:bookworm-curl'
9+
clientImage='buildpack-deps:trixie-curl'
1010
# ensure the clientImage is ready and available
1111
if ! docker image inspect "$clientImage" &> /dev/null; then
1212
docker pull "$clientImage" > /dev/null

test/tests/ghost-basics/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dir="$(dirname "$(readlink -f "$BASH_SOURCE")")"
66
serverImage="$1"
77

88
# Use a client image with curl for testing
9-
clientImage='buildpack-deps:bookworm-curl'
9+
clientImage='buildpack-deps:trixie-curl'
1010
# ensure the clientImage is ready and available
1111
if ! docker image inspect "$clientImage" &> /dev/null; then
1212
docker pull "$clientImage" > /dev/null

test/tests/haproxy-basics/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dir="$(dirname "$(readlink -f "$BASH_SOURCE")")"
88

99
image="$1"
1010

11-
clientImage='buildpack-deps:bookworm-curl'
11+
clientImage='buildpack-deps:trixie-curl'
1212
# ensure the clientImage is ready and available
1313
if ! docker image inspect "$clientImage" &> /dev/null; then
1414
docker pull "$clientImage" > /dev/null

test/tests/jetty-hello-web/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ dir="$(dirname "$(readlink -f "$BASH_SOURCE")")"
99
image="$1"
1010

1111
# Use a client image with curl for testing
12-
clientImage='buildpack-deps:bookworm-curl'
12+
clientImage='buildpack-deps:trixie-curl'
1313
# ensure the clientImage is ready and available
1414
if ! docker image inspect "$clientImage" &> /dev/null; then
1515
docker pull "$clientImage" > /dev/null

test/tests/logstash-basics/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ dir="$(dirname "$(readlink -f "$BASH_SOURCE")")"
99
image="$1"
1010

1111
# Use a client image with curl for testing
12-
clientImage='buildpack-deps:bookworm-curl'
12+
clientImage='buildpack-deps:trixie-curl'
1313
# ensure the clientImage is ready and available
1414
if ! docker image inspect "$clientImage" &> /dev/null; then
1515
docker pull "$clientImage" > /dev/null

test/tests/matomo-apache-run/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -eo pipefail
44
dir="$(dirname "$(readlink -f "$BASH_SOURCE")")"
55

66
# Use a client image with curl for testing
7-
clientImage='buildpack-deps:bookworm-curl'
7+
clientImage='buildpack-deps:trixie-curl'
88
# ensure the clientImage is ready and available
99
if ! docker image inspect "$clientImage" &> /dev/null; then
1010
docker pull "$clientImage" > /dev/null

test/tests/mongo-express-run/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ dir="$(dirname "$(readlink -f "$BASH_SOURCE")")"
55

66
serverImage="$1"
77

8-
clientImage='buildpack-deps:bookworm-curl'
8+
clientImage='buildpack-deps:trixie-curl'
99
# ensure the clientImage is ready and available
1010
if ! docker image inspect "$clientImage" &> /dev/null; then
1111
docker pull "$clientImage" > /dev/null

test/tests/monica-fpm-run/run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ image="$1"
88
# Build a client image with cgi-fcgi for testing
99
clientImage="librarytest/monica-fpm-run:fcgi-client"
1010
docker build -t "$clientImage" - > /dev/null <<'EOF'
11-
FROM debian:bookworm-slim
11+
FROM debian:trixie-slim
1212
13-
RUN set -x && apt-get update && apt-get install -y --no-install-recommends libfcgi-bin && rm -rf /var/lib/apt/lists/*
13+
RUN set -x && apt-get update && apt-get install -y --no-install-recommends libfcgi-bin && apt-get dist-clean
1414
1515
ENTRYPOINT ["cgi-fcgi"]
1616
EOF

0 commit comments

Comments
 (0)