A python package to run concourse fly
Project description
Snakes on a plane
A python package to run concourse fly
Useage
from fly import Fly
fly = Fly(
concourse_url='http://127.0.0.1:8080'
)
fly.get_fly()
fly.login(username='admin', password='admin', team_name='main')
fly.get_json('pipelines')
fly.run(
'set-pipeline',
'-p', 'concourse-build',
'-c', '/path/to/resource/pipeline.yaml',
'-v', 'app-name=app_name',
'-v', 'github-org=github-org',
'-v', 'github-repo=https://github.com/ministryofjustice/concourse-build',
'-n'
)
Tests
python -m unittest tests.test_commands_run -v
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
python-fly-0.0.2.tar.gz
(2.0 kB
view hashes)
Built Distribution
Close
Hashes for python_fly-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 674a59ca9612aa2c62cbbeef31f9df7cb8e87e1f148d255917481c90920ce2af |
|
MD5 | 06ef03d8e01dfc0bc305475320af0d7b |
|
BLAKE2b-256 | 94ce5a98fc866a59f752e5fad7328f2d498eae1c72d5e65be7cc751d86d7ae84 |