#!/bin/bash
set -e
+export TEUTHOLOGY_BRANCH=${TEUTHOLOGY_BRANCH:-$(git branch --show-current)}
+export TEUTH_BRANCH=${TEUTHOLOGY_BRANCH}
if [ -n "$ANSIBLE_INVENTORY_REPO" ]; then
basename=$(basename $ANSIBLE_INVENTORY_REPO | cut -d. -f1)
if [ ! -d "$basename" ]; then
fi
source /teuthology/virtualenv/bin/activate
set -x
-cd /teuthology
-export TEUTHOLOGY_BRANCH=${TEUTHOLOGY_BRANCH:-$(git branch --show-current)}
if [ -n "$TESTNODES" ]; then
for node in $(echo $TESTNODES | tr , ' '); do
teuthology-update-inventory -m $MACHINE_TYPE $node
export MACHINE_TYPE=${MACHINE_TYPE:-testnode}
if [ -z "$TEUTHOLOGY_WAIT" ]; then
teuthology-suite -v \
- --teuthology-branch $TEUTHOLOGY_BRANCH \
+ --teuthology-branch $TEUTH_BRANCH \
--ceph-repo https://github.com/ceph/ceph.git \
--suite-repo https://github.com/ceph/ceph.git \
-c master \