Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publishing state (prod/preprod) should be more visible #471

Open
jku opened this issue Oct 17, 2022 · 5 comments
Open

Publishing state (prod/preprod) should be more visible #471

jku opened this issue Oct 17, 2022 · 5 comments
Labels
enhancement New feature or request
Milestone

Comments

@jku
Copy link
Member

jku commented Oct 17, 2022

It is difficult to see what is currently available in prod and preprod, compared to git content -- and difficult to see if their current state is a result of correct operation or a publishing issue.

I don't know what the correct fix is: just throwing some ideas out there:

  1. An action that runs after every sync (and maybe also on cron) that actually fetches the prod, preprod and git main branch metadata as a TUF client, and publishes the received metadata version numbers (at a minimum root+timestamp) on a web page somewhere
  2. In the sync* GitHub actions, once the process is successful, move a git tag or a branch to point to the commit that was synced
  3. other approaches? Is there a solution where it's easy to tell which environments a particular PR has reached?

Out of these I like option 1 because it actually documents what clients see, not what our CI/CD thinks the sync state should be: It could also be further improved by sanity checks that file issues if the versions are not what we expected.

@jku jku added the enhancement New feature or request label Oct 17, 2022
@jku
Copy link
Member Author

jku commented Oct 17, 2022

Option 1 is similar to tuf_client_tests.yml, except

  • depends on prod and preprod to be reachable
  • publishes metadata versions somewhere
  • optional sanity checks on expected metadata versions

@asraa
Copy link
Contributor

asraa commented Oct 17, 2022

It is difficult to see what is currently available in prod and preprod, compared to git content -- and difficult to see if their current state is a result of correct operation or a publishing issue.

Weirdly enough I had a dream this weekend where we dynamically published the values on the root-signing repository. +1 to this idea!

a web page somewhere

Having a table on the sigstore dashboard would be good -- the probers can probably manage this. I'm not sure how the sigstore dash is built or where it's hosted/what we can put on it, but that would b likely be the best way for on-callers to monitor state as well.

@asraa
Copy link
Contributor

asraa commented Oct 17, 2022

@asraa
Copy link
Contributor

asraa commented Oct 17, 2022

@priyawadhwa is the sigstore dashboard a thing or an idea? We can probably just start with a root-signing status page too.

@haydentherapper
Copy link
Contributor

Idea, it hasn’t been created yet. However, it was meant for debugging purposes and would be internal, not for public consumption, probably using Cloud Monitoring. If you want it for TUF, I’d create something else.

@asraa asraa added this to the v6 milestone Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants