30 -1 -1 -1 false false ZUUL_BRANCH master compass-trusty-bare 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 brctl show |grep installation > /dev/null if [[ $? -eq 0 ]] ; then echo "bridge already exists" else brctl addbr installation brctl addif installation eth1 fi ifconfig installation 172.16.0.1 broadcast 172.16.0.0 netmask 255.255.0.0 up ifconfig eth1 up # kill the dhcp service started by libvirt to avoid conflict with dhcpd #!/bin/bash -x source compass-core/install/install.conf.template export tempest=true export tempest_network=true #export tempest_full=true export REGTEST_CONF=allinone.conf ./compass-core/regtest/ansible/ci/deploy.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 $LOG_PATH chef_logs/** true false true 180