osmo-ci-docker-rebuild: don't always build osmo-gsm-tester

Currently there is only one jenkins node labeled as
osmo-gsm-tester-build. Build the osmo-gsm-tester container only there,
not on all x86_64 nodes.

The /var/tmp/osmo-gsm-tester/state directory is set up by
ansible/roles/gsm-tester/tasks/main.yml.

Related: https://jenkins.osmocom.org/jenkins/label/osmo-gsm-tester-build/
Change-Id: I9191d6d54d516ce75f3f576f34463dcaad22c85a
This commit is contained in:
Oliver Smith 2022-06-29 10:27:05 +02:00 committed by osmith
parent 4f8cf4049f
commit 9139e76baa
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ else
"debian-bullseye-erlang"
fi
if [ "$(arch)" = "x86_64" ]; then
if [ -d "/var/tmp/osmo-gsm-tester/state" ]; then
docker_images_require \
"osmo-gsm-tester"
fi