Skip to content

Commit 618a75f

Browse files
authored
Move time forward instead of backwards (#2426)
We are seeing the reproducibility check failing due to an SSL error. This appears to be because GitHub renewed their TLS certificate, with a "not before" date of today, which is in conflict with the change we are making to that VM. To avoid removing the check, this changes it to move time forward by a day and 11 hours instead of backwards, with the **assumption** that GitHub would renew the certificate with more than two days left in its expiry. If this fails again we might have to remove the check altogether.
1 parent b080b2a commit 618a75f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ jobs:
238238
done
239239
return 1
240240
}
241-
set_time "$(date -d '1 day ago 11 hours ago' "+%Y-%m-%d %H:%M:%S")"
241+
set_time "$(date -d '1 day 11 hours' "+%Y-%m-%d %H:%M:%S")"
242242
243243
echo "After time change: $(date)"
244244

0 commit comments

Comments
 (0)