osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/27265 )
Change subject: scripts/osmo-ci-docker-rebuild: x86: skip deb11 ......................................................................
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 --- M scripts/osmo-ci-docker-rebuild.sh 1 file changed, 13 insertions(+), 2 deletions(-)
Approvals: Jenkins Builder: Verified pespin: Looks good to me, but someone else must approve fixeria: Looks good to me, approved
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 @@ . 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 \