]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-volume-nightly: fix broken tests
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 19 Sep 2022 13:14:46 +0000 (15:14 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 19 Sep 2022 13:14:46 +0000 (15:14 +0200)
ceph-volume nightly jobs are broken for a while because it
picks 'main' as ceph-ansible branch for any ceph release being tested.

With this commit, the right ceph-ansible branch will be picked.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
ceph-volume-nightly/build/build

index a8762f258b2d8e9fef5e9b0679cad5dee2fcd61e..485631c244ebe0fd3fc5bfd5ab0264ae2f69c923 100644 (file)
@@ -16,8 +16,10 @@ update_vagrant_boxes
 
 cd src/ceph-volume/ceph_volume/tests/functional/$SUBCOMMAND
 
-if [ "$CEPH_BRANCH" = "nautilus" ]; then
-    CEPH_ANSIBLE_BRANCH="stable-4.0"
+if [[ "$CEPH_BRANCH" == "pacific" ]]; then
+    CEPH_ANSIBLE_BRANCH="stable-6.0"
+elif [[ "$CEPH_BRANCH" == "quincy" ]]; then
+    CEPH_ANSIBLE_BRANCH="stable-7.0"
 else
     CEPH_ANSIBLE_BRANCH="main"
 fi