fix(staging): extend Gitea publish timeout
Staging Backend Quality Gate / validate (push) Successful in 20m7s
Staging Backend Quality Gate / publish (push) Successful in 14m51s

This commit is contained in:
Jesse_Chen
2026-08-07 15:24:55 +08:00
parent 162d0b252a
commit 07223b6b4a
3 changed files with 18 additions and 1 deletions
@@ -125,6 +125,7 @@ test("Gitea quality gate validates before publishing an immutable ACR manifest",
assert.match(workflow, /push:\n\s+branches: \[staging\]/);
assert.match(workflow, /workflow_dispatch:/);
assert.equal((workflow.match(/runs-on: manman-linux/g) ?? []).length, 2);
assert.match(workflow, /validate:[\s\S]*?timeout-minutes: 45[\s\S]*?publish:[\s\S]*?timeout-minutes: 60/);
assert.match(workflow, /GITEA_SHA: \$\{\{ gitea\.sha \}\}/);
assert.equal((workflow.match(/git clean -ffdx/g) ?? []).length, 2);
assert.equal((workflow.match(/git status --porcelain --untracked-files=all/g) ?? []).length, 2);