tldr/pages/common/fly.md

37 lines
803 B
Markdown
Raw Normal View History

2017-10-14 18:27:22 +01:00
# fly
> Command-line tool for concourse-ci.
2019-06-07 11:58:15 +01:00
> More information: <https://concourse-ci.org/fly.html>.
2017-10-14 18:27:22 +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}}`