From 8f5e3ca05a8536e21dfa772ea7aa97c381854190 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Wed, 6 Dec 2017 15:20:38 +0100 Subject: [PATCH] ceph-ansible: get CEPH_STABLE_RELEASE back to tox get CEPH_STABLE_RELEASE back to tox.ini so we do not have to set explicitely CEPH_STABLE_RELEASE when running test locally. Signed-off-by: Guillaume Abrioux --- scripts/build_utils.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/build_utils.sh b/scripts/build_utils.sh index 6b8353b5..fad4a9d3 100644 --- a/scripts/build_utils.sh +++ b/scripts/build_utils.sh @@ -513,11 +513,10 @@ update_vagrant_boxes() { start_tox() { # $1 = CEPH_DOCKER_IMAGE_TAG -# $2 = CEPH_STABLE_RELEASE (default value to $RELEASE which is injected by the job template) # the $SCENARIO var is injected by the job template. It maps # to an actual, defined, tox environment local release=${2:-$RELEASE} - if ! CEPH_DOCKER_IMAGE_TAG=$1 CEPH_STABLE_RELEASE=$release timeout 3h $VENV/tox -rv -e=$RELEASE-$ANSIBLE_VERSION-$SCENARIO --workdir=$WORKDIR -- --provider=libvirt; then + if ! CEPH_DOCKER_IMAGE_TAG=$1 timeout 3h $VENV/tox -rv -e=$RELEASE-$ANSIBLE_VERSION-$SCENARIO --workdir=$WORKDIR -- --provider=libvirt; then echo "ERROR: Job didn't complete successfully or got stuck for more than 3h." exit 1 fi -- 2.39.5