Trigger the restore drill on demand via drill-* tags (#87)
All checks were successful
Restore drill / Restore the latest backup into a scratch stack (push) Successful in 28s
CD / Build and push images (push) Successful in 1m4s
CD / Deploy to Test (push) Successful in 11s
CD / Smoke tests against Test (push) Successful in 1m9s
CD / Promote to Int (push) Successful in 12s
CI / Lint, typecheck, test (push) Successful in 3m19s
CI / Build container images (push) Has been skipped
CI / Import/export fidelity gate (push) Successful in 45s
CI / Auth e2e pack (push) Successful in 5m9s

Gitea 1.22 cannot dispatch workflows through the API or UI (that lands in
1.23), so pushing a drill-* tag is the on-demand path next to the monthly
schedule.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EwZ4jR4KFAPvpjWevfUGX1
This commit is contained in:
Claude Fable 5 2026-07-11 21:01:00 +02:00
parent d95c18e9e8
commit 6e99cb35fc
2 changed files with 8 additions and 3 deletions

View File

@ -10,7 +10,11 @@ on:
schedule:
# 04:17 UTC on the 1st — after the 03:00 stage-local nightly backups.
- cron: '17 4 1 * *'
workflow_dispatch:
# On demand: push a `drill-<anything>` tag (`git tag drill-$(date +%s) &&
# git push origin --tags`). Gitea 1.22 cannot dispatch workflows via API
# or UI (that arrives in 1.23 — then add workflow_dispatch here).
push:
tags: ['drill-*']
env:
IMAGE_BASE: gitea.101010.cloud/stwaidele/dorfteich

View File

@ -34,8 +34,9 @@ never corruption.
## Automated monthly drill (`.gitea/workflows/drill.yml`)
Runs on the 1st of each month (and on demand via _Run workflow_): it
executes `deploy/backup/drill.sh`, which
Runs on the 1st of each month — and on demand by pushing a `drill-*` tag
(`git tag drill-$(date +%s) && git push origin --tags`; Gitea 1.22 has no
workflow-dispatch button yet). It executes `deploy/backup/drill.sh`, which
- reads the drilled stage's backups volume **read-only** (stage volumes are
never touched — everything scratch lives under a unique