Run tests with CCM

This commit is contained in:
Tamar Ben-Shachar
2015-09-08 13:34:16 -07:00
parent 2d74fa4225
commit f2acfb80a1
19 changed files with 184 additions and 52 deletions

View File

@@ -1,7 +1,12 @@
#!/bin/bash -x
# move the dcos package
cd dcos-cli
# This script expects the following env vars:
# DCOS_URL
# DCOS_CONFIG (this path will be overwritten)
# CLI_TEST_SSH_KEY_PATH (path to cluster ssh key)
# CLI_TEST_MASTER_PROXY (true or false, depending on if DCOS_URL points to an AWS cluster)
#
# CWD is assumed to be the dcos-cli repo root
make clean env
source env/bin/activate
@@ -12,7 +17,6 @@ deactivate
cd cli
cp tests/data/dcos.toml $DCOS_CONFIG
echo "$VBOX_IP dcos.snakeoil.mesosphere.com" | sudo tee -a /etc/hosts > /dev/null
make clean env
source env/bin/activate