Disable rally in CI

* CI uses local repo only
* rally related pacakges have not been included in the local repo
* temporarily disable rally installation in CI

Change-Id: I302e93c4f396d444a667cab8aea95001bf27efe3
This commit is contained in:
Xicheng Chang 2015-06-18 16:15:59 -07:00
parent 2fb2edb35c
commit d42d3285c7
3 changed files with 7 additions and 2 deletions

View File

@ -89,7 +89,10 @@ if [[ "$?" != "0" ]]; then
else
echo "cookbooks are added to chef server"
fi
# disable compass-rally when in regtest
if $REGTEST; then
sed -i '/compass-rally/d' /var/roles/os-identity.json
fi
knife role from file /var/chef/roles/*.json
if [[ "$?" != "0" ]]; then
echo "failed to add roles"

View File

@ -1,7 +1,7 @@
#####################################
# Config File for Compass Installer #
#####################################
export REGTEST="False"
# OS_INSTALLER indicates the tool for OS provisioning, default is 'cobbler'.
export OS_INSTALLER=${OS_INSTALLER:-cobbler}

View File

@ -1,6 +1,8 @@
#####################################
# Config File for Compass Installer #
#####################################
# flag for regtest
export REGTEST="True"
# REPO_URL indicates the source where to download compass-web and compass-adapters from
#export REPO_URL=https://review.openstack.org