All Projects → dcos → Shakedown

dcos / Shakedown

Licence: apache-2.0
DC/OS test harness

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Shakedown

dcos-vagrant-box
Vagrant box packer for building boxes for dcos-vagrant
Stars: ✭ 54 (+80%)
Mutual labels:  dcos
Artifactory Docker Examples
Examples for using Artifactory Docker distribution in various environments
Stars: ✭ 292 (+873.33%)
Mutual labels:  dcos
Mesos Dns
DNS-based service discovery for Mesos.
Stars: ✭ 481 (+1503.33%)
Mutual labels:  dcos
spark-build
Used to build the mesosphere/spark docker image and the DC/OS Spark package
Stars: ✭ 51 (+70%)
Mutual labels:  dcos
drax
DC/OS Resilience Automated Xenodiagnosis tool
Stars: ✭ 42 (+40%)
Mutual labels:  dcos
Predator
A powerful open-source platform for load testing APIs.
Stars: ✭ 356 (+1086.67%)
Mutual labels:  dcos
dcos-k8s-rust-skaffold-demo
A demo of pipelining Rust application development to Kubernetes on DC/OS with Skaffold.
Stars: ✭ 40 (+33.33%)
Mutual labels:  dcos
Linkerdcosdockerfile
Linker Dcos DockerFile&DockerCompose yml file
Stars: ✭ 8 (-73.33%)
Mutual labels:  dcos
net-modules
Apache Mesos modules for network isolation.
Stars: ✭ 56 (+86.67%)
Mutual labels:  dcos
Marathon Lb
Marathon-lb is a service discovery & load balancing tool for DC/OS
Stars: ✭ 449 (+1396.67%)
Mutual labels:  dcos
mesosaurus
Mesos task load simulator framework for (cluster and Mesos) performance analysis
Stars: ✭ 58 (+93.33%)
Mutual labels:  dcos
dcos-autoscaler
Autoscaler for DC/OS hosted in a cloud provider
Stars: ✭ 12 (-60%)
Mutual labels:  dcos
Marathon
Deploy and manage containers (including Docker) on top of Apache Mesos at scale.
Stars: ✭ 4,035 (+13350%)
Mutual labels:  dcos
dcos-openvpn
No description or website provided.
Stars: ✭ 14 (-53.33%)
Mutual labels:  dcos
Kubernetes Mesos
A Kubernetes Framework for Apache Mesos
Stars: ✭ 640 (+2033.33%)
Mutual labels:  dcos
dcos-deploy
Deploy, manage and orchestrate services and apps on DC/OS
Stars: ✭ 21 (-30%)
Mutual labels:  dcos
Universe
The Mesosphere Universe package repository.
Stars: ✭ 308 (+926.67%)
Mutual labels:  dcos
Marathon Client
Java Integration Library for Mesosphere Marathon
Stars: ✭ 15 (-50%)
Mutual labels:  dcos
Mesos Dns Pkg
Packaging utilities for Mesos-DNS
Stars: ✭ 16 (-46.67%)
Mutual labels:  dcos
Playa Mesos
Quickly build Mesos sandbox environments using Vagrant. Run apps on top!
Stars: ✭ 437 (+1356.67%)
Mutual labels:  dcos

Shakedown Build Status

DC/OS test harness.

Overview

A shakedown is a period of testing or a trial journey undergone by a ship, aircraft or other craft and its crew before being declared operational. — https://en.wikipedia.org/wiki/Shakedown_(testing)

Installation

Shakedown requires Python 3.4+.

Installing from PyPI

The recommended Shakedown installation method is via the PyPI Python Package Index repository at https://pypi.python.org/pypi/dcos-shakedown. To install the latest version and all required modules:

pip3 install dcos-shakedown

dcos-shakedown has a number of dependencies which need to be available. One of those dependencies, the cryptography module requires a number of OS level libraries in order to install correctly which include: build-essential libssl-dev libffi-dev python-dev. For environments other than linux please read Stackoverflow. On a new ubuntu environment the following should install dcos-shakedown.

  • apt-get update
  • apt-get install python3 python3-pip build-essential libssl-dev libffi-dev python-dev
  • pip3 install dcos-shakedown

Development and bleeding edge

To pull and install from our master branch on GitHub:

git clone https://github.com/dcos/shakedown.git
cd shakedown
pip3 install -r requirements.txt && pip3 install -e .

Or if you do not wish to pin to a version of dcos-cli:

pip3 install -r requirements-edge.txt && pip3 install -e .

Setting up a new Shakedown virtual environment

If you'd like to isolate your Shakedown Python environment, you can do so using the virtualenv tool. To create a new virtual environment in $HOME/shakedown:

pip3 install virtualenv
virtualenv $HOME/shakedown
source $HOME/shakedown/bin/activate
pip3 install dcos-shakedown

This virtual environment can then be activated in new terminal sessions with:

source $HOME/shakedown/bin/activate

Usage

shakedown --dcos-url=http://dcos.example.com [options] [path_to_tests]

  • --dcos-url is required.
  • tests within the current working directory will be auto-discovered unless specified.
  • arguments can be stored in a ~/.shakedown TOML file (command-line takes precedence)
  • shakedown --help is your friend.

Running in parallel

Shakedown can be run against multiple DC/OS clusters in parallel by setting the DCOS_CONFIG_ENV environmental variable to a unique file, eg:

DCOS_CONFIG_ENV='shakedown-custom-01.toml' shakedown --dcos-url=http://dcos.example.com [options] [path_to_tests]

Helper methods

Shakedown is a testing tool as well as a library. Many helper functions are available via from shakedown import * in your tests. See the API documentation for more information.

License

Shakedown is licensed under the Apache License, Version 2.0. For additional information, see the LICENSE file included at the root of this repository.

Reporting issues

Please report issues and submit feature requests for Shakedown by creating an issue in the DC/OS JIRA with the "Shakedown" component (JIRA account required).

Contributing

See the CONTRIBUTING file in the root of this repository.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].