fix(backup): make Gitea dump fail-safe
This commit is contained in:
@@ -18,6 +18,9 @@ EXPECTED_FILES = {
|
||||
"backup-host188-products.sh",
|
||||
"verify-host188-products-backup.sh",
|
||||
"verify-host188-products-archive.py",
|
||||
"backup-gitea.sh",
|
||||
"gitea-full-backup-restore-drill.sh",
|
||||
"backup-configs.sh",
|
||||
"check-backup-integrity.sh",
|
||||
"sync-offsite-backups.sh",
|
||||
"backup-offsite-readiness-gate.sh",
|
||||
@@ -26,7 +29,7 @@ EXPECTED_FILES = {
|
||||
}
|
||||
|
||||
|
||||
def test_backup_runtime_deploy_is_fixed_to_host_110_and_fourteen_files() -> None:
|
||||
def test_backup_runtime_deploy_is_fixed_to_host_110_and_seventeen_files() -> None:
|
||||
plays = yaml.safe_load(PLAYBOOK.read_text(encoding="utf-8"))
|
||||
assert len(plays) == 1
|
||||
play = plays[0]
|
||||
|
||||
Reference in New Issue
Block a user