osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/31045 )
Change subject: scripts/docker-rebuild: use minimal image for arm ......................................................................
scripts/docker-rebuild: use minimal image for arm
Building debian-buster-jenkins on the raspberry pis may take > 1h, depending on what changed. It has a lot of things we don't use, so build a minimal image on the rpis instead.
Closes: OS#5863 Depends: docker-playground I4fb4b48b233acaef815c4c27ec6f17f12cfe836b Change-Id: I73e62fbbf93824c0d37963039de4e00f26a43cbe --- M scripts/osmo-ci-docker-rebuild.sh 1 file changed, 8 insertions(+), 5 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/45/31045/1
diff --git a/scripts/osmo-ci-docker-rebuild.sh b/scripts/osmo-ci-docker-rebuild.sh index f409d45..85f3e2e 100755 --- a/scripts/osmo-ci-docker-rebuild.sh +++ b/scripts/osmo-ci-docker-rebuild.sh @@ -2,11 +2,14 @@ set -e -x cd "$(dirname "$0")/.." . scripts/common.sh -docker_images_require \ - "debian-buster-jenkins"
-if [ "$(arch)" = "x86_64" ]; then +case "$(arch)" in +x86_64) docker_images_require \ "debian-bullseye-erlang" \ - "debian-bullseye-jenkins" -fi + "debian-bullseye-jenkins" \ + "debian-buster-jenkins" +arm*) + docker_images_require \ + "debian-buster-jenkins-arm" +esac