From 3cd83cb0ab5796b48c995fdcf075e6e42fdd48b9 Mon Sep 17 00:00:00 2001 From: Tristan Vuong Date: Mon, 22 Jul 2024 20:54:43 +0000 Subject: [PATCH] make job run every 5 minutes for testing --- .github/workflows/deploy-kingdom.yml | 2 +- src/main/k8s/dev/kingdom_gke.cue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-kingdom.yml b/.github/workflows/deploy-kingdom.yml index 92554e5ca6f..ddf107c2978 100644 --- a/.github/workflows/deploy-kingdom.yml +++ b/.github/workflows/deploy-kingdom.yml @@ -30,4 +30,4 @@ jobs: secrets: inherit with: environment: dev - apply: false + apply: true diff --git a/src/main/k8s/dev/kingdom_gke.cue b/src/main/k8s/dev/kingdom_gke.cue index bd86171c933..cc978689e47 100644 --- a/src/main/k8s/dev/kingdom_gke.cue +++ b/src/main/k8s/dev/kingdom_gke.cue @@ -99,7 +99,7 @@ kingdom: #Kingdom & { ] + _spannerConfig.flags spec: { concurrencyPolicy: "Forbid" - schedule: "15 * * * *" // Hourly, 15 minutes past the hour + schedule: "*/5 * * * *" // Hourly, 15 minutes past the hour jobTemplate: spec: template: spec: #ServiceAccountPodSpec & { serviceAccountName: #OperationalMetricsServiceAccount }