fix: bound Gitea checkout latency
Deploy staging to test server / deploy (push) Failing after 7m40s

This commit is contained in:
linmeng
2026-07-28 17:25:44 +08:00
parent d81713527b
commit 56f0ee089b
3 changed files with 5 additions and 2 deletions
@@ -467,6 +467,8 @@ test("Gitea staging push builds ACR images and deploys them on the test server",
assert.match(workflow, /push:\n\s+branches: \[staging\]/);
assert.doesNotMatch(workflow, /pull_request:|workflow_dispatch:|needs: validate/);
assert.match(workflow, /crpi-d1feco6itet73spp\.cn-hongkong\.personal\.cr\.aliyuncs\.com\/copse\/jyotisha/);
assert.match(workflow, /fetch --depth=1 --no-tags origin "\$GITEA_SHA"/);
assert.match(workflow, /http\.lowSpeedTime=30/);
assert.match(workflow, /docker build .*railway-api\.Dockerfile/);
assert.match(workflow, /docker build .*railway-web\.Dockerfile/);
assert.match(workflow, /docker push "\$IMAGE_REPOSITORY:api-\$GITEA_SHA"/);