bob-cd / bob

This is what CI/CD should've been.
https://bob-cd.github.io
MIT License
218 stars 16 forks source link

Add webhook for bob to notice new/changed resources #114

Open lispyclouds opened 2 years ago

emgrasmeder commented 1 year ago

can you point vaguely to where this change would happen @lispyclouds? I never know where to start investigating.

lispyclouds commented 1 year ago

So these would be the directions I'd take:

What's your thoughts?

aldosolorzano commented 1 year ago

From my little understanding so far about Bob and following the philosophy of it, this seems to relate to the UI problem. It is something that bob-cd can provide as an opinionated way of consuming the data from Bob and translate it to the UI, although it is optional and not part of the core of bob. As you said, maybe a service that supports the most common code hosting paltforms (gihub, gitlab, bitbucket) and then it could:

A good benefit about it is that it provides a fast setup of bob with the git platform of choice and then if needed, it can be replaced for something that suits the needs of the particular user (this is one of the things I really like about bob).

Bob-cd could provide the whole package, but as user you are free to own some parts of it if it makes sense to do so, otherwise you can leverage the opinionated version of Bob.

The trade-off is that we would add something extra to maintain.

lispyclouds commented 1 year ago

@aldosolorzano I think this makes sense. We can create a reference service like the artifact store and the resource provider which runs alongside the Bob cluster and listens for webhooks and interacts with Bob. Yes, it could even do the CRUD for the pipeline too.

Lemme know if you're interested and I can add you an repo here and you and use that 😄