2017-10-14 18:27:22 +01:00
|
|
|
# fly
|
|
|
|
|
2017-10-24 13:38:39 +01:00
|
|
|
> Command line tool for concourse-ci.
|
2017-10-14 18:27:22 +01:00
|
|
|
|
2017-10-14 18:32:16 +01:00
|
|
|
- Authenticate with and save concourse target:
|
2017-10-14 18:27:22 +01:00
|
|
|
|
2017-10-24 13:38:39 +01:00
|
|
|
`fly --target {{target_name}} login --team-name {{team_name}} -c {{https://ci.example.com}}`
|
2017-10-14 18:27:22 +01:00
|
|
|
|
|
|
|
- List targets:
|
|
|
|
|
|
|
|
`fly targets`
|
|
|
|
|
|
|
|
- List pipelines:
|
|
|
|
|
2017-10-24 13:38:39 +01:00
|
|
|
`fly -t {{target_name}} pipelines`
|
2017-10-14 18:27:22 +01:00
|
|
|
|
2017-10-24 13:38:39 +01:00
|
|
|
- Upload or update a pipeline:
|
2017-10-14 18:27:22 +01:00
|
|
|
|
2017-10-24 13:38:39 +01:00
|
|
|
`fly -t {{target_name}} set-pipeline --config {{pipeline.yml}} --pipeline {{pipeline_name}}`
|
2017-10-14 18:27:22 +01:00
|
|
|
|
|
|
|
- Unpause pipeline:
|
|
|
|
|
2017-10-24 13:38:39 +01:00
|
|
|
`fly -t {{target_name}} unpause-pipeline --pipeline {{pipeline_name}}`
|
2017-10-14 18:27:22 +01:00
|
|
|
|
|
|
|
- Show pipeline configuration:
|
|
|
|
|
2017-10-24 13:38:39 +01:00
|
|
|
`fly -t {{target_name}} get-pipeline --pipeline {{pipeline_name}}`
|
2017-10-14 18:27:22 +01:00
|
|
|
|
|
|
|
- Update local copy of fly:
|
|
|
|
|
2017-10-24 13:38:39 +01:00
|
|
|
`fly -t {{target_name}} sync`
|
2017-10-14 18:27:22 +01:00
|
|
|
|
|
|
|
- Destroy pipeline:
|
|
|
|
|
2017-10-24 13:38:39 +01:00
|
|
|
`fly -t {{target_name}} destroy-pipeline --pipeline {{pipeline_name}}`
|