This Python library parses Thoughtworks GoCD server APIs.
Run the scripts in bin with option --help.
All of these scripts output json. So they should be usable by any other scripts on your system, without needing to import as a Python module.
You can also import the modules and use them directly. For examples of
how to do this, refer to the scripts in the bin directory.
- See
requirements.txt.
apt-get install libz-dev liblz-dev libxslt1-dev python-dev
pip install -r requirements-testing.txtpy.test
- Follow the Thoughtworks instructions to set up a testing GoCD server
- Run your tests against the test VM
- Example invocation:
get_value_stream_status.py -g http://localhost:8153/go -n Deploy_Consumer
- Example invocation:
- To test value stream status detection, pause the
Consumer_Websitepipeline. - Now
get_value_stream_status.pywill show the above pipeline is blocking.
- Dustin Spicuzza (dustin@virtualroadside.com)
- kneecapped
- Kurt Yoder (kyoder@gmail.com)