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.
This commit is contained in:
parent
b297f0fbc0
commit
dc92bd6a2c
3 changed files with 6 additions and 6 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
# One matrix row per OS/arch replaces the former per-platform files.
|
# One matrix row per OS/arch replaces the former per-platform files.
|
||||||
# Routing is preserved 1:1:
|
# Routing is preserved 1:1:
|
||||||
# - cron: each existing `process-cran-updates-<os>-<arch>` cron fires only
|
# - 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
|
# - manual: pick a target from the `process_cran_updates` dropdown
|
||||||
# ("all" = every os/arch).
|
# ("all" = every os/arch).
|
||||||
# Arch placement is handled by the agent label (artemis=amd64, gaia=arm64).
|
# Arch placement is handled by the agent label (artemis=amd64, gaia=arm64).
|
||||||
|
|
@ -29,7 +29,7 @@ variables:
|
||||||
|
|
||||||
when:
|
when:
|
||||||
- event: cron
|
- event: cron
|
||||||
evaluate: 'CI_PIPELINE_CRON == "process-cran-updates-${OS}-${ARCH}"'
|
cron: process-cran-updates-${OS}-${ARCH}
|
||||||
- event: manual
|
- event: manual
|
||||||
evaluate: 'process_cran_updates == "all" || process_cran_updates == "${OS}-${ARCH}"'
|
evaluate: 'process_cran_updates == "all" || process_cran_updates == "${OS}-${ARCH}"'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
# One matrix row per OS/arch replaces the former per-platform files.
|
# One matrix row per OS/arch replaces the former per-platform files.
|
||||||
# Routing is preserved 1:1:
|
# Routing is preserved 1:1:
|
||||||
# - cron: each existing `weekly-audit-missing-<os>-<arch>` cron fires only
|
# - 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
|
# - manual: pick a target from the `weekly_audit_missing` dropdown
|
||||||
# ("all" = every os/arch).
|
# ("all" = every os/arch).
|
||||||
# Arch placement is via the agent label (artemis=amd64, gaia=arm64).
|
# Arch placement is via the agent label (artemis=amd64, gaia=arm64).
|
||||||
|
|
@ -31,7 +31,7 @@ variables:
|
||||||
|
|
||||||
when:
|
when:
|
||||||
- event: cron
|
- event: cron
|
||||||
evaluate: 'CI_PIPELINE_CRON == "weekly-audit-missing-${OS}-${ARCH}"'
|
cron: weekly-audit-missing-${OS}-${ARCH}
|
||||||
- event: manual
|
- event: manual
|
||||||
evaluate: 'weekly_audit_missing == "all" || weekly_audit_missing == "${OS}-${ARCH}"'
|
evaluate: 'weekly_audit_missing == "all" || weekly_audit_missing == "${OS}-${ARCH}"'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
# One matrix row per OS/arch replaces the former per-platform files.
|
# One matrix row per OS/arch replaces the former per-platform files.
|
||||||
# Routing is preserved 1:1:
|
# Routing is preserved 1:1:
|
||||||
# - cron: each existing `weekly-rebuild-missing-<os>-<arch>` cron fires only
|
# - 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
|
# - manual: `weekly_rebuild_missing` dropdown, default "all" (matches the
|
||||||
# previous bare manual trigger that ran every os/arch); pick a
|
# previous bare manual trigger that ran every os/arch); pick a
|
||||||
# single <os>-<arch> to run just one.
|
# single <os>-<arch> to run just one.
|
||||||
|
|
@ -30,7 +30,7 @@ variables:
|
||||||
|
|
||||||
when:
|
when:
|
||||||
- event: cron
|
- event: cron
|
||||||
evaluate: 'CI_PIPELINE_CRON == "weekly-rebuild-missing-${OS}-${ARCH}"'
|
cron: weekly-rebuild-missing-${OS}-${ARCH}
|
||||||
- event: manual
|
- event: manual
|
||||||
evaluate: 'weekly_rebuild_missing == "all" || weekly_rebuild_missing == "${OS}-${ARCH}"'
|
evaluate: 'weekly_rebuild_missing == "all" || weekly_rebuild_missing == "${OS}-${ARCH}"'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue