dcos-419 add support for SSL

This commit is contained in:
Tamar Ben-Shachar
2015-08-26 13:03:16 -07:00
parent 398c3190bd
commit f40e399634
13 changed files with 217 additions and 23 deletions

View File

@@ -65,6 +65,7 @@ ENV_SETUP="$VIRTUAL_ENV_PATH/bin/env-setup"
source "$ENV_SETUP"
dcos config set core.reporting true
dcos config set core.dcos_url $DCOS_URL
dcos config set core.ssl_verify false
dcos config set core.timeout 5
dcos config set package.cache ~/.dcos/cache
dcos config set package.sources '["https://github.com/mesosphere/universe/archive/version-1.x.zip"]'

View File

@@ -11,9 +11,8 @@ deactivate
# Move down to the dcoscli package
cd cli
# overwrite core.dcos_url in the dcos.toml
cp tests/data/dcos.toml $DCOS_CONFIG
sed -i "s/change.dcos.url/$VBOX_IP/g" $DCOS_CONFIG
echo "$VBOX_IP dcos.snakeoil.mesosphere.com" | sudo tee -a /etc/hosts > /dev/null
make clean env
source env/bin/activate