2025-03-14 21:59:59 -06:00
|
|
|
# fly
|
|
|
|
|
|
2025-07-24 22:27:13 -06:00
|
|
|
> Tool for concourse-ci.
|
2025-03-14 21:59:59 -06:00
|
|
|
> More information: <https://concourse-ci.org/fly.html>.
|
|
|
|
|
|
|
|
|
|
- Authenticate with and save concourse target:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`fly {{[-t|--target]}} {{target_name}} login {{[-n|--team-name]}} {{team_name}} {{[-c|--concourse-url]}} {{https://ci.example.com}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- List targets:
|
|
|
|
|
|
|
|
|
|
`fly targets`
|
|
|
|
|
|
|
|
|
|
- List pipelines:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`fly {{[-t|--target]}} {{target_name}} pipelines`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Upload or update a pipeline:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`fly {{[-t|--target]}} {{target_name}} set-pipeline {{[-c|--config]}} {{pipeline.yml}} {{[-p|--pipeline]}} {{pipeline_name}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Unpause pipeline:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`fly {{[-t|--target]}} {{target_name}} unpause-pipeline {{[-p|--pipeline]}} {{pipeline_name}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Show pipeline configuration:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`fly {{[-t|--target]}} {{target_name}} get-pipeline {{[-p|--pipeline]}} {{pipeline_name}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Update local copy of fly:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`fly {{[-t|--target]}} {{target_name}} sync`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Destroy pipeline:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`fly {{[-t|--target]}} {{target_name}} destroy-pipeline {{[-p|--pipeline]}} {{pipeline_name}}`
|