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>
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