sigstore / root-signing-staging

Staging TUF repository for Sigstore trust root
https://tuf-repo-cdn.sigstage.dev/
Apache License 2.0
3 stars 6 forks source link

Review failure mode in publish process #101

Closed jku closed 5 months ago

jku commented 5 months ago

The upgrade test that is now part of publish process (https://github.com/sigstore/root-signing-staging/blob/main/.github/workflows/test.yml#L15) is useful as it prevents updates that would be seen as incompatible by clients...

However what if the situation is like this:

There's at least two possible alternatives:

jku commented 5 months ago

Make repository-test action survive this in tuf-on-ci: Maybe don't allow base repo (GCS bucket) to fail in every possible way, but allow it to fail with expired metadata...

Oh FFS, I've already implemented this in https://github.com/theupdateframework/tuf-on-ci/blob/main/repo/tuf_on_ci/client.py#L80