homedepot / github-webhook-resource Goto Github PK
View Code? Open in Web Editor NEWConcourse resource for remotely managing GitHub webhooks
License: Apache License 2.0
Concourse resource for remotely managing GitHub webhooks
License: Apache License 2.0
The problem you want to solve:
For pipelines using instances variables (instanced pipelines), this resource does not set up working webhooks. You need to append query params for each instance variable in the form of &var.some-var="someval"
.
Your take on the correct solution to problem:
Ideally the resource will automatically populate all instance variables in this way. An alternative is having a vars
attribute that can be manually populated in the pipeline script; however, if any vars are forgotten in this manual way then I don't think the webhook will work.
Do you plan to submit a pull request to implement this change?
I may try if I can find the time to do so.
No discussion in docs about the hosting situation.
It doesn't seem clear from the docs whether this is a resource to manage webhooks or to manage git via webhooks.
You should clarify. Is this used to create a resource on a pipeline which represents a git repo and is updated by a webhook which it creates, or is it for creating a webhook that is somehow used by a different resource?
In other words, it doesn't seem clear whether this is a resource that you can use to kick off a pipeline based on github or whether this is a tool for maintaining such things.
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
The problem you want to solve:
Be able to configure webhook per organization in addition to webhook per repository
Your take on the correct solution to problem:
Do you plan to submit a pull request to implement this change?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.