Skip to content

Commit 73e04b5

Browse files
committed
build: skip deployment for 8.[0123456] BC
1 parent 927a087 commit 73e04b5

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

deploy.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,13 @@ source "_common.sh";
66

77
push () {
88
declare -r image="${1}";
9-
docker image push "${image}";
9+
10+
# Avoid pushing images with broken SSL up to Docker Hub. Working
11+
# versions of these images have already been pushed. See the note in
12+
# test.sh for details.
13+
if ! [[ "${image}" =~ racket:8.[0123456]-bc ]]; then
14+
docker image push "${image}";
15+
fi
1016
};
1117

1218
for image in $(find_images "${DOCKER_REPOSITORY}"); do

test.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ test-image () {
88
declare -r image="${1}";
99
docker container run "${image}" racket -e "(+ 1 2 3)";
1010

11-
# Skip this test on Racket 8.{0-6} BC since those versions have issues
12-
# loading OpenSSL on recent Debian versions.
13-
if ! [[ "${image}" =~ racket:8.[0123456] ]]; then
11+
# Skip this test on Racket 8.{0-6} BC since these versions have issues
12+
# loading OpenSSL on Debian bookworm and up. The CS variants of these
13+
# versions don't have the same problem because we install the natipkg
14+
# distros.
15+
if ! [[ "${image}" =~ racket:8.[0123456]-bc ]]; then
1416
# The "nevermore" package is an empty package that never changes
1517
# which we created specifically for this test. This lets us test
1618
# that package installation works and the default package catalogs

0 commit comments

Comments
 (0)