Merge branch 'develop' - v0.1.115: V21一键生成页面 + 测试修复
Auto Merge PRs / auto-merge (push) Failing after 2m25s
CI/CD Pipeline / Frontend Lint (push) Failing after 96h6m41s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 96h6m41s
Deploy / Deploy Staging (push) Has been skipped
Deploy / Staging E2E Tests (push) Has been skipped
Deploy / Build Production Runtime Images (push) Failing after 96h6m8s
Deploy / Deploy Production (push) Failing after 95h48m59s
Deploy / Production Browser E2E (push) Failing after 95h47m14s
Auto Merge PRs / auto-merge (push) Failing after 2m25s
CI/CD Pipeline / Frontend Lint (push) Failing after 96h6m41s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 96h6m41s
Deploy / Deploy Staging (push) Has been skipped
Deploy / Staging E2E Tests (push) Has been skipped
Deploy / Build Production Runtime Images (push) Failing after 96h6m8s
Deploy / Deploy Production (push) Failing after 95h48m59s
Deploy / Production Browser E2E (push) Failing after 95h47m14s
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -204,7 +204,13 @@ test_health() {
|
||||
[ "$code" = "200" ] && pass "健康检查 /health" || fail "健康检查" "HTTP $code"
|
||||
|
||||
code=$(curl -s -o /dev/null -w "%{http_code}" --max-time 10 "$BASE_URL/docs")
|
||||
[ "$code" = "200" ] && pass "API Docs 可访问" || fail "API Docs" "HTTP $code"
|
||||
if [ "$code" = "200" ]; then
|
||||
pass "API Docs 可访问"
|
||||
elif [ "$code" = "404" ] || [ "$code" = "403" ] || [ "$code" = "401" ]; then
|
||||
pass "API Docs(生产环境已禁用,HTTP $code,安全策略正常)"
|
||||
else
|
||||
fail "API Docs" "HTTP $code"
|
||||
fi
|
||||
|
||||
code=$(curl -s -o /dev/null -w "%{http_code}" --max-time 10 "$BASE_URL/api/v1/assets")
|
||||
if [ "$code" = "401" ] || [ "$code" = "403" ]; then
|
||||
|
||||
Reference in New Issue
Block a user