Concourse to refresh pipelines in cases of an update to the pipeline itself or in the case of a new concourse environment

Hi Can someone please help with Develop system for concourse to refresh pipelines in cases of an update to the pipeline itself or in the case of a new concourse environment.

Thanks.

We have a reconfigure pipeline that we use to set all our other pipelines, including reconfigure! It makes use of the set_pipeline step. The pipeline triggers on any pushes to a repo where all of our pipeline config’s are.

The pipeline yaml is here: https://github.com/concourse/ci/blob/master/pipelines/reconfigure.yml

Hope those links help :slightly_smiling_face:

1 Like

Thank you so much!!.

1 Like

Hi,

I have question in https://github.com/concourse/ci/blob/master/pipelines/reconfigure.yml file where it says - set_pipeline . Wondering how to the set the target here like wise when you run the fly command to set pipeline manually we pass in the target.
Example :
fly -t $target(sandbox) set-pipeline -p test ~/test/pipeline.yml --load-vars-from ~/test/test.inputs.
How does it works with -set_pipeline that specified in reconfigure.yml

Thanks,
Kalyan

The target is something that only exists on your local machine to tell fly which of potentially multiple Concourses to talk to. The set_pipeline step runs as part of a job in a pipeline and will only target the Concourse it is running on. Therefore it doesn’t need a target to be specified.

You can find more in the set_pipeline step docs.