diff --git a/pages/common/fly.md b/pages/common/fly.md new file mode 100644 index 0000000000..9f4324742b --- /dev/null +++ b/pages/common/fly.md @@ -0,0 +1,35 @@ +# fly + +> Command line tool for concourse-ci. + +- 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}}`