From dc92bd6a2c9339a26d37441c341a1e05d4c17fd7 Mon Sep 17 00:00:00 2001 From: pat-s Date: Wed, 17 Jun 2026 11:03:12 +0200 Subject: [PATCH] fix(ci): restore cron triggers via per-row cron name filter 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. --- .crow/process-updates.yaml | 4 ++-- .crow/weekly-audit-missing.yaml | 4 ++-- .crow/weekly-rebuild-missing.yaml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.crow/process-updates.yaml b/.crow/process-updates.yaml index 3c8141a..74a7b0f 100644 --- a/.crow/process-updates.yaml +++ b/.crow/process-updates.yaml @@ -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--` 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}"' diff --git a/.crow/weekly-audit-missing.yaml b/.crow/weekly-audit-missing.yaml index 7a44f2b..b10c108 100644 --- a/.crow/weekly-audit-missing.yaml +++ b/.crow/weekly-audit-missing.yaml @@ -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--` 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}"' diff --git a/.crow/weekly-rebuild-missing.yaml b/.crow/weekly-rebuild-missing.yaml index e06edf0..f6bf9e5 100644 --- a/.crow/weekly-rebuild-missing.yaml +++ b/.crow/weekly-rebuild-missing.yaml @@ -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--` 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 - 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}"'