feat: 增加生产数据库每日备份与状态门禁
This commit is contained in:
1 parent
072a1037ac
commit
015947f8fb
9 files changed
+384
-55
No files matched your search
@@ -9,6 +9,9 @@ test("生产状态脚本不再要求 VPS 上运行 CI runner", () => {
|
||||
assert.doesNotMatch(script, /gitea-runner/);
|
||||
assert.match(script, /pm2 pid personal-brand-api/);
|
||||
assert.match(script, /pg_restore -l/);
|
||||
assert.match(script, /personal-brand-backup\.timer/);
|
||||
assert.match(script, /backup-age-hours/);
|
||||
assert.match(script, /BACKUP_MAX_AGE_HOURS/);
|
||||
});
|
||||
|
||||
test("生产状态脚本语法有效", () => {
|
||||
|
||||
Reference in new issue
Block a user