Merge remote-tracking branch 'forgejo/master' into wizard/tripit-sub-mode
This commit is contained in:
commit
1eee2d6eb6
1 changed files with 9 additions and 5 deletions
|
|
@ -19,10 +19,13 @@ variable "schedule" {
|
||||||
default = "30 7 * * *"
|
default = "30 7 * * *"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Mirrors stacks/claude-agent-service image tag — the image ships curl + jq.
|
# :latest + Always per the owned-app CronJob convention. NOTE: the registry
|
||||||
|
# no longer holds the sha tag the other claude-agent-service CronJobs pin
|
||||||
|
# (2fd7670d) — they survive on node image caches only. When issue infra#19
|
||||||
|
# migrates claude-agent-service to ghcr, repoint this image too.
|
||||||
variable "image_tag" {
|
variable "image_tag" {
|
||||||
type = string
|
type = string
|
||||||
default = "2fd7670d"
|
default = "latest"
|
||||||
}
|
}
|
||||||
|
|
||||||
locals {
|
locals {
|
||||||
|
|
@ -119,9 +122,10 @@ resource "kubernetes_cron_job_v1" "sweep" {
|
||||||
name = "registry-credentials"
|
name = "registry-credentials"
|
||||||
}
|
}
|
||||||
container {
|
container {
|
||||||
name = "sweep"
|
name = "sweep"
|
||||||
image = local.image
|
image = local.image
|
||||||
command = ["/bin/sh", "/scripts/sweep.sh"]
|
image_pull_policy = "Always"
|
||||||
|
command = ["/bin/sh", "/scripts/sweep.sh"]
|
||||||
env_from {
|
env_from {
|
||||||
secret_ref {
|
secret_ref {
|
||||||
name = "ci-pipeline-health-creds"
|
name = "ci-pipeline-health-creds"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue