]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
build_utils: when running dev-* scenarios set release to nautilus
authorAndrew Schoen <aschoen@redhat.com>
Tue, 5 Jun 2018 13:54:29 +0000 (08:54 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Tue, 5 Jun 2018 14:14:46 +0000 (09:14 -0500)
When running dev-* tests for ceph-ansible PRs we were setting
CEPH_STABLE_RELEASE to 'dev' which is not an actual release and our
functional tests break because of that.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
scripts/build_utils.sh

index 78c10cc279c0a45d2f4fdeb096deed2a1a55183c..f7a7c5d139b2ee9a674485b4c5411f5585eb503f 100644 (file)
@@ -662,6 +662,12 @@ while true; do
       ;;
   esac
 done
+if [ "$release" = "dev" ]; then
+    # dev runs will need to be set to the release
+    # that matches what the current ceph master
+    # branch is at
+    local release="nautilus"
+fi
 TOX_RUN_ENV=("timeout 3h")
 if [ -n "$ceph_docker_image_tag" ]; then
   TOX_RUN_ENV=("CEPH_DOCKER_IMAGE_TAG=$ceph_docker_image_tag" "${TOX_RUN_ENV[@]}")