Skip to content

Commit

Permalink
drop prober window from 15 to 7 days (#190)
Browse files Browse the repository at this point in the history
Signed-off-by: Bob Callaway <bcallaway@google.com>
  • Loading branch information
bobcallaway committed Mar 11, 2024
1 parent b1dcf85 commit 04342c3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/reusable-prober.yml
Expand Up @@ -158,9 +158,9 @@ jobs:
verify repository --repository ${{ inputs.tuf_repo }} --root ${ROOT_PATH} --valid-until ${EXPIRY}
echo "::endgroup::"
echo "::group::tuf-repo-cdn 15 day check"
export EXPIRY=$(date -d '+15 days' '+%s')
echo "Verifying root valid within 15 days..."
echo "::group::tuf-repo-cdn 7 day check"
export EXPIRY=$(date -d '+7 days' '+%s')
echo "Verifying root valid within 7 days..."
verify repository --repository ${{ inputs.tuf_repo }} --root ${ROOT_PATH} --valid-until ${EXPIRY} --role root.json --role targets.json
echo "::endgroup::"
Expand All @@ -170,9 +170,9 @@ jobs:
verify repository --repository ${{ inputs.tuf_preprod_repo }} --root ${ROOT_PATH} --valid-until ${EXPIRY}
echo "::endgroup::"
echo "::group::tuf-preprod-repo-cdn 15 day check"
export EXPIRY=$(date -d '+15 days' '+%s')
echo "Verifying root valid within 15 days..."
echo "::group::tuf-preprod-repo-cdn 7 day check"
export EXPIRY=$(date -d '+7 days' '+%s')
echo "Verifying root valid within 7 days..."
verify repository --repository ${{ inputs.tuf_preprod_repo }} --root ${ROOT_PATH} --valid-until ${EXPIRY} --role root.json --role targets.json
echo "::endgroup::"
Expand Down

0 comments on commit 04342c3

Please sign in to comment.