Run tests with CCM
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user