Skip to main content

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for python-fly, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size python_fly-0.0.2-py3-none-any.whl (3.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size python-fly-0.0.2.tar.gz (2.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page