-
-
Save dolph/1345633 to your computer and use it in GitHub Desktop.
OpenStack testing using devstack & openstack-integration-tests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# perform any necessary updates | |
apt-get update | |
apt-get upgrade -y | |
# install git so we can download devstack & integration tests | |
apt-get install git -y | |
# download, configure, and run devstack | |
git clone https://github.com/cloudbuilders/devstack.git | |
cd devstack | |
echo KEYSTONE_REPO=git://github.com/openstack/keystone.git >> localrc | |
echo KEYSTONE_BRANCH=master >> localrc | |
echo CITEST_BRANCH=master >> localrc | |
echo ADMIN_PASSWORD=password >> localrc | |
echo MYSQL_PASSWORD=password >> localrc | |
echo RABBIT_PASSWORD=password >> localrc | |
echo SERVICE_TOKEN=token >> localrc | |
echo SHELL_AFTER_RUN=no >> localrc | |
echo GUEST_IP=127.0.0.1 >> localrc | |
./stack.sh | |
cd /opt/stack/ | |
sudo git clone https://github.com/openstack/tempest.git | |
cd devstack | |
sudo ./tools/build_ci_config.sh ../tempest/etc/ | |
./exercise.sh | |
cd ../tempest | |
sudo ./run_tests.sh kong -N |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment