The problem you want to solve:
I do not want my pipeline to check the Github resource each time it is run. I run a multi branch workflow and have a "parent" pipeline that is responsible for creating and managing the child pipelines, and for cleaning up the third party resources that those child pipelines use (e.g. terraform resources). I would like the parent pipeline to also manage the Github webhooks.
Your take on the correct solution to problem:
Add an optional arguments for pipeline and instance_vars to the github webhook resource, which would then allow me to set the webhook url correctly for the child pipelines. We may also need a vars argument to be able to correctly construct the URL to the pipeline instance (as described by the Concourse docs for resource.webhook_token).
Do you plan to submit a pull request to implement this change?
No
Change Request
Tell us about your environment
Describe your change request
The problem you want to solve: I do not want my pipeline to check the Github resource each time it is run. I run a multi branch workflow and have a "parent" pipeline that is responsible for creating and managing the child pipelines, and for cleaning up the third party resources that those child pipelines use (e.g. terraform resources). I would like the parent pipeline to also manage the Github webhooks.
Your take on the correct solution to problem: Add an optional arguments for
pipeline
andinstance_vars
to the github webhook resource, which would then allow me to set the webhook url correctly for the child pipelines. We may also need avars
argument to be able to correctly construct the URL to the pipeline instance (as described by the Concourse docs forresource.webhook_token
).Do you plan to submit a pull request to implement this change? No