30
10
-1
-1
false
true
ZUUL_BRANCH
master
centos-install
false
false
false
false
true
#!/bin/bash -x
if [[ -e compass-core ]]; then
rm -rf compass-core
fi
git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH
cd compass-core
if [[ -z $ZUUL_PROJECT ]]; then
echo "ZUUL_PROJECT is not set"
elif [[ -z $ZUUL_BRANCH ]]; then
echo "ZUUL_BRANCH is not set"
elif [[ -z $ZUUL_REF ]]; then
echo "ZUUL_REF is not set"
elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then
echo "$ZUUL_PROJECT is not stackforge/compass-core"
else
git_repo=$ZUUL_URL/stackforge/compass-core
git_ref=$ZUUL_REF
git_branch=$ZUUL_BRANCH
git reset --hard remotes/origin/$git_branch
git fetch $git_repo $git_ref
git merge FETCH_HEAD
git clean -x -f
fi
#!/bin/bash -x
cp compass-core/misc/ci/*.sh .
export tempest=true
./test-install.sh
local_log_server
$LOG_PATH
true
true
true
$LOG_PATH
cobbler_logs/**
true
false
true
$LOG_PATH
compass_logs/compass.log
true
false
true
$LOG_PATH
compass_logs/*.py
true
false
true