Python library to parse Thoughtworks GoCD server APIs
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
gocd_parser
tests
.gitignore
CHANGELOG.md
LICENSE
MANIFEST.in
README.md
requirements-testing.txt
requirements.txt
setup.cfg
setup.py

README.md

gocd-parser

This Python library parses Thoughtworks GoCD server APIs.

Usage

Scripts

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.

Modules

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.

Installation

  • See requirements.txt.

Ubuntu

  • apt-get install libz-dev liblz-dev libxslt1-dev python-dev

Testing

Automated

  • pip install -r requirements-testing.txt
  • py.test

As a user

  • 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
  • To test value stream status detection, pause the Consumer_Website pipeline.
  • Now get_value_stream_status.py will show the above pipeline is blocking.

Authors