Replies: 5 comments 2 replies
-
I think this is very much in/line with what we are aiming to do, and I think the ArtifactPackaged and ArtifactPublished events should make sure to cover container images as well. |
Beta Was this translation helpful? Give feedback.
-
When discussing this we should remember: Known repository providers
Types
|
Beta Was this translation helpful? Give feedback.
-
We also need to think of Security credentials for public versus private repositories
|
Beta Was this translation helpful? Give feedback.
-
Does someone want to take the lead in creating some of those event emitters by using the Go SDK? |
Beta Was this translation helpful? Give feedback.
-
I guess the question has two sides
For starters, we could define how the protocol would look like (what @salaboy was referring to above looking at https://github.com/cdfoundation/sig-events/blob/main/vocabulary-draft/continuous-integration-pipeline-events.md) |
Beta Was this translation helpful? Give feedback.
-
I often find myself wanting a standard API for receiving notifications of new container images in an image registry. Docker Hub and Quay have their own webhook APIs, GCR has Pub/Sub, probably every registry has their own unique snowflake -- it doesn't make it very easy to build something generic, so things tend to fallback to polling 😢.
It'd be great if there was a standard CloudEvents update mechanism, which defined a standard message shape and let registries produce messages of those types however they want (HTTP, Pub/Sub, etc.), with standard client libraries to consume the stream however it reaches you.
Is specifying such a thing of interest to SIG Events? If so, we could try to spec something out and add it as a non-required surface of the OCI distribution spec, which covers the standard container image registry API (push, pull, tag, etc.). If registries adopted it, clients could consume the standard events from many registries without having to build a bunch of one-off notification implementations.
cc @afrittoli @jonjohnsonjr
Beta Was this translation helpful? Give feedback.
All reactions