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 details)
Built Distribution
File details
Details for the file python-fly-0.0.2.tar.gz
.
File metadata
- Download URL: python-fly-0.0.2.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7d5e3ad8b646a14370027d1f926b845eecd59906b5a0d4b571988ad7d957d21 |
|
MD5 | f0450d1b14942a2eb15aa364257aefd3 |
|
BLAKE2b-256 | 6a5abf399cf300da20d068461a5280f5f396f04d18ccd4566f172c66451e1dad |
File details
Details for the file python_fly-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: python_fly-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 674a59ca9612aa2c62cbbeef31f9df7cb8e87e1f148d255917481c90920ce2af |
|
MD5 | 06ef03d8e01dfc0bc305475320af0d7b |
|
BLAKE2b-256 | 94ce5a98fc866a59f752e5fad7328f2d498eae1c72d5e65be7cc751d86d7ae84 |