Skip to content
This repository has been archived by the owner on Jul 21, 2022. It is now read-only.

ministryofjustice/python-fly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages