Skip to content

fix: separate cronjobs for different tasks - #868

Merged
micbar merged 2 commits into
mainfrom
fix-cache-purge
Oct 9, 2026
Merged

micbar merged 2 commits into
mainfrom
fix-cache-purge

Conversation

@micbar

@micbar micbar commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

Description

Move purge-cache out of push/PR pipelines into its own cron job purge-cache.

It ran in parallel with the start of every pipeline and finished in ~4s. Woodpecker posts a status for every workflow one at a time on each state change, and a delayed pending reliably landed after its success. The ci/woodpecker/pr/purge-cache check therefore stayed pending on almost every PR, e.g. #863.

The other workflows now trigger only on the cron job named nightly (cron: nightly), so the purge job doesn't start the test suite.

Fix notification depending on a non-existent test workflow (unit-test).

Notes

  • Requires a purge-cache cron job in the Woodpecker repo settings (daily is enough, flush_age: 1).

@micbar micbar added Type:DevOps Related to CI/CD Type:Test labels Oct 9, 2026
@v-scharf
v-scharf self-requested a review October 9, 2026 12:17
@micbar
micbar merged commit eb7813c into main Oct 9, 2026
17 of 19 checks passed
@micbar
micbar deleted the fix-cache-purge branch October 9, 2026 12:18
@openclouders openclouders mentioned this pull request Oct 9, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type:DevOps Related to CI/CD Type:Test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants