fix(backup): cover all gitea project bundles
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 1m3s
CD Pipeline / post-deploy-checks (push) Has been cancelled
CD Pipeline / build-and-deploy (push) Has been cancelled

This commit is contained in:
Your Name
2026-07-03 01:04:34 +08:00
parent 32c7c55c52
commit 4c897d23c9
4 changed files with 36 additions and 0 deletions

View File

@@ -78,6 +78,9 @@ if [ "${#REPOS[@]}" -eq 0 ]; then
"wooo/vibework"
"wooo/momo-pro-system"
"wooo/tsenyang-website"
"wooo/clawbot-v5"
"wooo/bitan-pharmacy"
"wooo/vtuber"
)
fi

View File

@@ -44,6 +44,9 @@ DEFAULT_GITEA_BUNDLE_EXPECTED_REPOS = [
"wooo/vibework",
"wooo/momo-pro-system",
"wooo/tsenyang-website",
"wooo/clawbot-v5",
"wooo/bitan-pharmacy",
"wooo/vtuber",
]
ESCROW_ITEMS = [
"restic_repository_password",

View File

@@ -18,6 +18,25 @@ def load_exporter():
return module
def test_default_gitea_bundle_expected_repos_cover_current_project_set() -> None:
exporter = load_exporter()
assert exporter.DEFAULT_GITEA_BUNDLE_EXPECTED_REPOS == [
"wooo/awoooi",
"wooo/ewoooc",
"wooo/2026FIFAWorldCup",
"wooo/agent-bounty-protocol",
"wooo/AwoooGo",
"wooo/stockplatform-v2",
"wooo/vibework",
"wooo/momo-pro-system",
"wooo/tsenyang-website",
"wooo/clawbot-v5",
"wooo/bitan-pharmacy",
"wooo/vtuber",
]
def test_gitea_bundle_metrics_require_all_expected_repos(tmp_path: Path, monkeypatch) -> None:
exporter = load_exporter()
bundle_root = tmp_path / "latest-private-complete"