Signed-off-by: David Galloway <dgallowa@redhat.com>
if [ ! -d teuthology ]; then
git clone https://github.com/ceph/teuthology
cd teuthology
+ git checkout $TEUTHOLOGYBRANCH
else
cd teuthology
+ git checkout master
git pull
+ git checkout $TEUTHOLOGYBRANCH
fi
# Bootstrap teuthology
# Clone or update ceph-cm-ansible
if [ ! -d ceph-cm-ansible ]; then
git clone https://github.com/ceph/ceph-cm-ansible
+ cd ceph-cm-ansible
+ git checkout $CMANSIBLEBRANCH
else
cd ceph-cm-ansible
+ git checkout master
git pull
+ git checkout $CMANSIBLEBRANCH
fi
cd $WORKSPACE
name: MACHINETYPES
default: "smithi mira"
description: "Machine types to capture images for. (e.g., 'smithi' or 'smithi mira' for multiple machine types)"
+ - string:
+ name: TEUTHOLOGYBRANCH
+ default: "master"
+ description: "Optionally define a different teuthology branch (useful for testing)"
+ - string:
+ name: CMANSIBLEBRANCH
+ default: "master"
+ description: "Optionally define a different ceph-cm-ansible branch (useful for testing)"
builders:
- shell: