Forrest logo
back to the fly tool

fly:tldr:3cebf

fly: Upload or update a pipeline.
$ fly -t ${target_name} set-pipeline --config ${pipeline-yml} --pipeline ${pipeline_name}
try on your machine

This command is using the command-line interface (CLI) tool called "fly" to interact with Concourse, a continuous integration and delivery (CI/CD) platform.

Here is a breakdown of the command and its arguments:

  • fly: This is the command-line utility provided by Concourse. It is used to interact with the Concourse server.
  • -t ${target_name}: This specifies the target Concourse instance where the pipeline will be set. A target is a saved connection to a Concourse server, usually defined with a name and connection details.
  • set-pipeline: This command is used to create or update a pipeline in Concourse.
  • --config ${pipeline-yml}: This specifies the YAML file containing the configuration of the pipeline. The ${pipeline-yml} placeholder should be replaced with the actual file path or URL of the pipeline's YAML configuration file.
  • --pipeline ${pipeline_name}: This specifies the name of the pipeline. The ${pipeline_name} placeholder should be replaced with the desired name for the pipeline.

In summary, this command is used to set or update a pipeline in Concourse by providing a YAML configuration file and specifying the target Concourse instance and pipeline name.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the fly tool