aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2022-02-21 10:00:06 +0100
committerOliver Smith <osmith@sysmocom.de>2022-02-21 10:30:04 +0100
commit432aff8debb10bef6bba8168bf9fb6d240eca7e5 (patch)
treeeb4a1f36fc5bbc10fb6c2a23dae316276a02b80f
parentf225c1da761a5276cb4e37e1057b971ee13d4ea6 (diff)
scripts/osmo-ci-docker-rebuild: x86: skip deb11
Don't attempt to build debian-bullseye (11) in docker on debian 10 x86, as it results in: GPG error: http://security.debian.org/debian-security bullseye-security InRelease: At least one invalid signature was encountered. E: The repository 'http://security.debian.org/debian-security bullseye-security InRelease' is not signed. This is a temporary measure until we've upgraded the only jenkins node that runs debian 10 on x86, gtp0-deb10build32. Related: OS#5453 Change-Id: Iba7679c027ca89a29393c220d01b195cfce4fec3
-rwxr-xr-xscripts/osmo-ci-docker-rebuild.sh15
1 files changed, 13 insertions, 2 deletions
diff --git a/scripts/osmo-ci-docker-rebuild.sh b/scripts/osmo-ci-docker-rebuild.sh
index cf0b102..f46bec1 100755
--- a/scripts/osmo-ci-docker-rebuild.sh
+++ b/scripts/osmo-ci-docker-rebuild.sh
@@ -4,8 +4,19 @@ cd "$(dirname "$0")/.."
. scripts/common.sh
docker_images_require \
"debian-stretch-jenkins" \
- "debian-buster-jenkins" \
- "debian-bullseye-erlang" \
+ "debian-buster-jenkins"
+
+if [ "$(arch)" = "i686" ] && \
+ grep -q '^ID=debian' /etc/os-release && \
+ grep -q '^VERSION_ID="10"' /etc/os-release; then
+ # Attempting to run debian-bullseye (11) in docker on debian 10 x86
+ # doesn't work. Skip it here for gtp0-deb10build32 until we've moved it
+ # away from debian 10.
+ echo "Skipping build of debian-bullseye-erlang (OS#5453)"
+else
+ docker_images_require \
+ "debian-bullseye-erlang"
+fi
if [ "$(arch)" = "x86_64" ]; then
docker_images_require \