Concourse CI is an “open-source continuous thing-doer” designed to enable general automation with intuitive and re-usable components.
Resources represent all external inputs and outputs to and from the pipeline, and many of these have been implemented in open source.
In order to best leverage the Python ecosystem of open-source packages, Concourse Tools abstracts away the implementation details of Concourse resource types to allow users to focus on writing the code they want to run.
Installation
Install from GitHub, or from PyPI:
$ pip install concoursetools
Usage
Creating a Concourse resource type with Concourse Tools couldn’t be simpler:
- Create subclasses of
concoursetools.version.Version
andconcoursetools.resource.ConcourseResource
, taking care to implement any required functions. - Create a Dockerfile containing your requirements and calling your resource.
- Upload the Docker image to a registry, and use it in your pipelines!
For more information, see the documentation.