add prune-woodpecker.py

This commit is contained in:
Martin Matous 2025-03-18 19:47:44 +01:00
parent 02e59ce7e2
commit 2cef97f92b
Signed by: mmatous
GPG key ID: 8BED4CD352953224
2 changed files with 51 additions and 0 deletions

View file

@ -107,6 +107,15 @@ Dependencies: imagemagick
Usage: Run next to `logo.png` and `workdir` directory with photos
## prune-woodpecker.py
Prune Woodpecker CI's DB. Expects `woodpecker.sqlite` in the same directory. Useful for getting rid of a string
of failed pipelines while setting things up.
Tested with Woodpecker 2.8.x and sqlite backend.
Status: one-off
Usage: `./prune-woodpecker.py <start> <stop>`
## sync-apparmor.py
Scan source directory of profiles and binaries in the system.