jku / repository-playground

Community artifact repository workflow experiments
Other
7 stars 4 forks source link

setup metadata publishing #5

Open jku opened 2 years ago

jku commented 2 years ago

once #4 is handled we should start publishing metadata, even if it's manually built (as having metadata enables client development and makes it easier to reason about workflows): the real pipeline will likely involve a separate cloud service but MVP could be just GitHub Pages (like I've done with https://jku.github.io/tuf-demo/). I think we want the metadata working storage to be git for easy debugging -- we can start by storing it in this repository but in reality possibly want it in a separate one.

joshuagl commented 2 years ago

sigstore/root-signing uses Git as storage but replicates that to a cloud bucket – something similar probably makes sense here? As you've suggested, git gives us that highly desirable observability. Whereas replicating it to a cloud storage that the client interacts with better reflects standard content repositories.

jku commented 2 years ago

My current thinking on the publishing pipeline is:

A drawback of a setup like this is that it's not super easy to replicate as you need all of these:

That said, replicating containerized "testing install" would not be horribly difficult:

(this is not something I plan to implement now and would be comparable to the Warehouse local install, not a way to deploy to production)