Skip to content

Commit

Permalink
Merge pull request #1449 from jku/stricter-validity-check
Browse files Browse the repository at this point in the history
tests: Require metadata to be valid for 5 days
  • Loading branch information
jku authored Feb 6, 2025
2 parents ca6d0de + 0908928 commit a1afc69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-gcs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
with:
metadata_url: https://tuf-repo-cdn.sigstore.dev/
# when workflow is reused in publish.yml, do not require future validity
valid_days: ${{ github.workflow == 'root-signing GCS repository tests' && 3 || 0 }}
valid_days: ${{ github.workflow == 'root-signing GCS repository tests' && 5 || 0 }}
offline_valid_days: ${{ github.workflow == 'root-signing GCS repository tests' && 30 || 0 }}

custom-smoke-test:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
metadata_url: https://sigstore.github.io/root-signing/
update_base_url: https://tuf-repo-cdn.sigstore.dev/
# when workflow is reused in publish.yml, do not require future validity
valid_days: ${{ github.workflow == 'TUF-on-CI repository tests' && 3 || 0 }}
valid_days: ${{ github.workflow == 'TUF-on-CI repository tests' && 5 || 0 }}
offline_valid_days: ${{ github.workflow == 'TUF-on-CI repository tests' && 30 || 0 }}

custom-smoke-test:
Expand Down

0 comments on commit a1afc69

Please sign in to comment.