Skip to main content

Spin environments for StreamSets products

Project description

This repository is home to the StreamSets Test Environments (STE). It is designed to be run as a command line program. STE provides mechanism to start and stop environments which you can use to test against. For example, a command such as ` ste start CDH_5.12.0 ` will start a 2 node clusterdock CDH 5.12.0 cluster without requiring knowledge of the specific arguments to pass to clusterdock. Similarly ` ste stop CDH_5.12.0 ` will stop the clusterdock CDH 5.12.0 cluster and do any necessary cleanup. The goal of STE is to simplify starting and stopping environments so as they can be easily used for testing or development.

Installation

Pre-requisites

  • Python 3.X

  • A recent version of Docker

Installation

To install STE, simply use pip (or pipenv):

$ pip3 install streamsets-testenvironments

Commands

The following are some commands you can use with STE. In the examples here, we’ll use MySQL_5.7

Start an environment:

$ ste start MySQL_5.7

Stop an environment:

$ ste stop MySQL_5.7

Dry run without starting an environment (and also running in verbose mode):

$ ste -v start --dry-run MySQL_5.7

STE general help:

$ ste -h

STE start environment help (lists available environments which can be started):

$ ste start -h

STE stop environment help (lists available environments which can be stopped):

$ ste stop -h

STE start help for an environment:

$ ste start MySQL_5.7 -h

STE stop help for an environment:

$ ste stop MySQL_5.7 -h

History

0.0.1 (2018.06.22)

  • First release on PyPI.

0.0.2 (2018.06.22)

  • Environment execution compatible for shebang long path’s.

0.0.3 (2018.07.11)

  • Environments added for Amazon_EMR, CDH 5.14.0, CDH 5.15.0, Couchbase.

0.0.4 (2018.08.08)

  • Support for extra arguments.

  • Print STF usage information.

  • PostgreSQL CDC environment support added.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

streamsets-testenvironments-0.0.4.tar.gz (24.8 kB view details)

Uploaded Source

File details

Details for the file streamsets-testenvironments-0.0.4.tar.gz.

File metadata

File hashes

Hashes for streamsets-testenvironments-0.0.4.tar.gz
Algorithm Hash digest
SHA256 2564501da3c0ff48b290d868689029420445351d25bfce1f6a96a0f9bf1648ab
MD5 7787dd35b83fe65ccde27a49cb1322b6
BLAKE2b-256 fa0c217a5b04c79d401c557d156990d3d906850208414c2082b006667aad0c8d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page