mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 00:41:42 +00:00
42 lines
896 B
Plaintext
42 lines
896 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# fly
|
|
|
|
> Command-line tool for concourse-ci.
|
|
> More information: <https://concourse-ci.org/fly.html>.
|
|
|
|
- Authenticate with and save concourse target:
|
|
|
|
`fly --target {{target_name}} login --team-name {{team_name}} -c {{https://ci.example.com}}`
|
|
|
|
- List targets:
|
|
|
|
`fly targets`
|
|
|
|
- List pipelines:
|
|
|
|
`fly -t {{target_name}} pipelines`
|
|
|
|
- Upload or update a pipeline:
|
|
|
|
`fly -t {{target_name}} set-pipeline --config {{pipeline.yml}} --pipeline {{pipeline_name}}`
|
|
|
|
- Unpause pipeline:
|
|
|
|
`fly -t {{target_name}} unpause-pipeline --pipeline {{pipeline_name}}`
|
|
|
|
- Show pipeline configuration:
|
|
|
|
`fly -t {{target_name}} get-pipeline --pipeline {{pipeline_name}}`
|
|
|
|
- Update local copy of fly:
|
|
|
|
`fly -t {{target_name}} sync`
|
|
|
|
- Destroy pipeline:
|
|
|
|
`fly -t {{target_name}} destroy-pipeline --pipeline {{pipeline_name}}`
|