I’m using the Concourse pipeline resource to deploy autogenerated pipeline yaml files.
Among the things that it does is watch our source repos for changes that should lead to updated pipelines. For instance, if a new release branch is created, then it will automatically deploy a pipeline for that new branch.
This is all working really well.
But then there’s a snag. What happens when a branch is deleted? Since there is a
get for each whitelisted branch, the check step fails and the get step also fails. To work around this, I did a “try get”.
The try+get worked in so far as it let the pipeline run. However it came to a screeching halt because the
inputs were not satisfied.
So, my question is how can I get past this?