Go to file

DCOS Command Line Interface

The DCOS Command Line Interface (CLI) is a command line utility supporting several commands to provide an user friendly yet powerful way to manage DCOS installations.

Dependencies

  1. git must be installed and on the system path in order to fetch packages from git sources.

Setup

  1. Make sure you meet requirements for installing packages

  2. Clone git repo for the dcos cli:

    git clone git@github.com:mesosphere/dcos-cli.git
  3. Change directory to the repo directory:

    cd dcos-cli
  4. Make sure that you have virtualenv installed. If not type:

    sudo pip install virtualenv
  5. Create a virtualenv for the dcos cli project:

    make env

Configure Development Environment

  1. Activate the virtualenv:

    source env/bin/activate
  2. Export DCOS_PATH:

    export DCOS_PATH=$(pwd)/env
  3. Export DCOS_CONFIG:

    export DCOS_CONFIG=$(pwd)/tests/data/Dcos.toml

Running POC

  1. Get started by calling DCOS CLI help:

    dcos --help

Running Tests:

  1. Run all DCOS CLI tests (make sure that you are running Zookeeper, Mesos and Marathon):

    tox
  2. List all of the supported test environments:

    tox --listenvs
  3. Run a specific set of tests:

    tox -e <testenv>
Description
RETIRED, further work has moved to Debian project infrastructure
Readme 9.4 MiB
Languages
Python 89.4%
Mustache 4%
HTML 4%
Shell 2.1%
reStructuredText 0.4%
Other 0.1%