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

Use workflow to refresh TUF recordings for acceptance tests #1622

Open
lcarva opened this issue May 15, 2024 · 1 comment
Open

Use workflow to refresh TUF recordings for acceptance tests #1622

lcarva opened this issue May 15, 2024 · 1 comment

Comments

@lcarva
Copy link
Member

lcarva commented May 15, 2024

In #1577, we updated the TUF recordings used in the acceptance tests to use the staging deployment of Sigstore. This made it easier to manually refresh the data (required every 6 months). However, this means the image being tested is associated with my identity.

Let's create a GitHub Workflow that can execute the script to re-generate the test image and the TUF recordings, make it run periodically (monthly?), and submit a PR so all we have to do is merge it.

See this comment for additional context.

Acceptance Criteria

  • A workflow exists to keep the expiring TUF data up to date.
  • The identity used in the test image is not associated to an individual. Instead, it is the identity of the workflow.
@simonbaird
Copy link
Member

As mentioned in the PR, the expiration date is quite short using this technique. Some further exploration needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants