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
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:
parent
d95c18e9e8
commit
6e99cb35fc
@ -10,7 +10,11 @@ on:
|
|||||||
schedule:
|
schedule:
|
||||||
# 04:17 UTC on the 1st — after the 03:00 stage-local nightly backups.
|
# 04:17 UTC on the 1st — after the 03:00 stage-local nightly backups.
|
||||||
- cron: '17 4 1 * *'
|
- 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:
|
env:
|
||||||
IMAGE_BASE: gitea.101010.cloud/stwaidele/dorfteich
|
IMAGE_BASE: gitea.101010.cloud/stwaidele/dorfteich
|
||||||
|
|||||||
@ -34,8 +34,9 @@ never corruption.
|
|||||||
|
|
||||||
## Automated monthly drill (`.gitea/workflows/drill.yml`)
|
## Automated monthly drill (`.gitea/workflows/drill.yml`)
|
||||||
|
|
||||||
Runs on the 1st of each month (and on demand via _Run workflow_): it
|
Runs on the 1st of each month — and on demand by pushing a `drill-*` tag
|
||||||
executes `deploy/backup/drill.sh`, which
|
(`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
|
- reads the drilled stage's backups volume **read-only** (stage volumes are
|
||||||
never touched — everything scratch lives under a unique
|
never touched — everything scratch lives under a unique
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user