We are introducing a new subcommand for managing your clusters. Configuring your CLI to talk to your cluster is a single command now `dcos cluster setup`. Moreover, the CLI can now be aware of multiple clusters with cluster specific configuration managed by the CLI. Subcommands will be installed for the current "attached" cluster only. To install a subcommand for all your configured clusters, use `--global`. Note that `DCOS_CONFIG` environment variable will not take effect in "cluster" mode since we are now managing different clusters in the CLI.
16 lines
245 B
Bash
Executable File
16 lines
245 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
BASEDIR=`dirname $0`/..
|
|
|
|
cd $BASEDIR
|
|
if [ -f "$BASEDIR/env/bin/activate" ]; then
|
|
source $BASEDIR/env/bin/activate
|
|
else
|
|
$BASEDIR/env/Scripts/activate
|
|
fi
|
|
echo "Virtualenv activated."
|
|
|
|
chmod 600 $BASEDIR/tests/data/dcos.toml
|
|
|
|
tox
|