fix(ci): restore cron triggers via per-row cron name filter
Some checks failed
ci/crow/cron/process-updates/3 Pipeline failed
ci/crow/cron/process-updates/13 Pipeline failed

The matrix consolidation routed cron events through
`evaluate: 'CI_PIPELINE_CRON == "..."'`, but CI_PIPELINE_CRON is not
exposed to the when.evaluate constraint context, so no matrix row ever
matched and the scheduled process-updates / weekly runs stopped firing.
Switch back to the first-class `cron:` name filter (still parameterized
per matrix row) which the server matches directly against the fired cron.
This commit is contained in:
Patrick Schratz 2026-06-17 11:03:12 +02:00
commit dc92bd6a2c
Signed by: pat-s
GPG key ID: 3C6318841EF78925
3 changed files with 6 additions and 6 deletions

View file

@ -2,7 +2,7 @@
# One matrix row per OS/arch replaces the former per-platform files.
# Routing is preserved 1:1:
# - cron: each existing `process-cran-updates-<os>-<arch>` cron fires only
# its matching matrix row (via CI_PIPELINE_CRON).
# its matching matrix row (via the per-row `cron:` name filter).
# - manual: pick a target from the `process_cran_updates` dropdown
# ("all" = every os/arch).
# Arch placement is handled by the agent label (artemis=amd64, gaia=arm64).
@ -29,7 +29,7 @@ variables:
when:
- event: cron
evaluate: 'CI_PIPELINE_CRON == "process-cran-updates-${OS}-${ARCH}"'
cron: process-cran-updates-${OS}-${ARCH}
- event: manual
evaluate: 'process_cran_updates == "all" || process_cran_updates == "${OS}-${ARCH}"'

View file

@ -2,7 +2,7 @@
# One matrix row per OS/arch replaces the former per-platform files.
# Routing is preserved 1:1:
# - cron: each existing `weekly-audit-missing-<os>-<arch>` cron fires only
# its matching matrix row (via CI_PIPELINE_CRON).
# its matching matrix row (via the per-row `cron:` name filter).
# - manual: pick a target from the `weekly_audit_missing` dropdown
# ("all" = every os/arch).
# Arch placement is via the agent label (artemis=amd64, gaia=arm64).
@ -31,7 +31,7 @@ variables:
when:
- event: cron
evaluate: 'CI_PIPELINE_CRON == "weekly-audit-missing-${OS}-${ARCH}"'
cron: weekly-audit-missing-${OS}-${ARCH}
- event: manual
evaluate: 'weekly_audit_missing == "all" || weekly_audit_missing == "${OS}-${ARCH}"'

View file

@ -2,7 +2,7 @@
# One matrix row per OS/arch replaces the former per-platform files.
# Routing is preserved 1:1:
# - cron: each existing `weekly-rebuild-missing-<os>-<arch>` cron fires only
# its matching matrix row (via CI_PIPELINE_CRON).
# its matching matrix row (via the per-row `cron:` name filter).
# - manual: `weekly_rebuild_missing` dropdown, default "all" (matches the
# previous bare manual trigger that ran every os/arch); pick a
# single <os>-<arch> to run just one.
@ -30,7 +30,7 @@ variables:
when:
- event: cron
evaluate: 'CI_PIPELINE_CRON == "weekly-rebuild-missing-${OS}-${ARCH}"'
cron: weekly-rebuild-missing-${OS}-${ARCH}
- event: manual
evaluate: 'weekly_rebuild_missing == "all" || weekly_rebuild_missing == "${OS}-${ARCH}"'