2017-10-14 19:27:22 +02:00
|
|
|
# fly
|
|
|
|
|
2021-05-20 16:13:41 -04:00
|
|
|
> 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 19:27:22 +02:00
|
|
|
|
2017-10-14 19:32:16 +02:00
|
|
|
- Authenticate with and save concourse target:
|
2017-10-14 19:27:22 +02:00
|
|
|
|
2025-04-22 15:48:30 +03:00
|
|
|
`fly {{[-t|--target]}} {{target_name}} login {{[-n|--team-name]}} {{team_name}} {{[-c|--concourse-url]}} {{https://ci.example.com}}`
|
2017-10-14 19:27:22 +02:00
|
|
|
|
|
|
|
- List targets:
|
|
|
|
|
|
|
|
`fly targets`
|
|
|
|
|
|
|
|
- List pipelines:
|
|
|
|
|
2025-04-22 15:48:30 +03:00
|
|
|
`fly {{[-t|--target]}} {{target_name}} pipelines`
|
2017-10-14 19:27:22 +02:00
|
|
|
|
2017-10-24 14:38:39 +02:00
|
|
|
- Upload or update a pipeline:
|
2017-10-14 19:27:22 +02:00
|
|
|
|
2025-04-22 15:48:30 +03:00
|
|
|
`fly {{[-t|--target]}} {{target_name}} set-pipeline {{[-c|--config]}} {{pipeline.yml}} {{[-p|--pipeline]}} {{pipeline_name}}`
|
2017-10-14 19:27:22 +02:00
|
|
|
|
|
|
|
- Unpause pipeline:
|
|
|
|
|
2025-04-22 15:48:30 +03:00
|
|
|
`fly {{[-t|--target]}} {{target_name}} unpause-pipeline {{[-p|--pipeline]}} {{pipeline_name}}`
|
2017-10-14 19:27:22 +02:00
|
|
|
|
|
|
|
- Show pipeline configuration:
|
|
|
|
|
2025-04-22 15:48:30 +03:00
|
|
|
`fly {{[-t|--target]}} {{target_name}} get-pipeline {{[-p|--pipeline]}} {{pipeline_name}}`
|
2017-10-14 19:27:22 +02:00
|
|
|
|
|
|
|
- Update local copy of fly:
|
|
|
|
|
2025-04-22 15:48:30 +03:00
|
|
|
`fly {{[-t|--target]}} {{target_name}} sync`
|
2017-10-14 19:27:22 +02:00
|
|
|
|
|
|
|
- Destroy pipeline:
|
|
|
|
|
2025-04-22 15:48:30 +03:00
|
|
|
`fly {{[-t|--target]}} {{target_name}} destroy-pipeline {{[-p|--pipeline]}} {{pipeline_name}}`
|