terraform/environment: run govulncheck every Mon, Wed, and Fri
And run compare mode late on Saturday.
The idea is to give enough time for both pipelines to finish while
having results often enough.
Change-Id: I72ebde148979d58a69eac7576b027b48dfaf0509
Reviewed-on: https://go-review.googlesource.com/c/pkgsite-metrics/+/539375
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Maceo Thompson <maceothompson@google.com>
Run-TryBot: Zvonimir Pavlinovic <zpavlinovic@google.com>
diff --git a/terraform/environment/worker.tf b/terraform/environment/worker.tf
index 59827a0..4b719ee 100644
--- a/terraform/environment/worker.tf
+++ b/terraform/environment/worker.tf
@@ -280,7 +280,7 @@
count = var.env == "prod" ? 1 : 0
name = "${var.env}-enqueueall"
description = "Enqueue modules for all modes that should be run frequently."
- schedule = "0 8 * * *" # 8 AM daily
+ schedule = "0 8 * * 1,3,5" # 8 AM every Mon, Wed, and Fri
time_zone = local.tz
project = var.project
@@ -299,7 +299,7 @@
count = var.env == "prod" ? 1 : 0
name = "${var.env}-enqueuecompare"
description = "Enqueue modules for compare mode."
- schedule = "0 5 * * SUN" # 5 AM every Sunday
+ schedule = "0 20 * * SAT" # 8PM every Saturday
time_zone = local.tz
project = var.project