fix(ci): ci-pipeline.yml E2E测试npm ci添加--registry镜像参数
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 42s
CI/CD Pipeline / Validate - Migration (alembic) (pull_request) Successful in 50s
Preview Deploy / Deploy Preview Environment (pull_request) Successful in 1m21s
CI/CD Pipeline / Validate - Type Check (mypy) (pull_request) Successful in 1m22s
AI Code Review / AI Code Review (pull_request) Successful in 1m39s
PR Automation / Auto Merge on CI Green + Approved (pull_request) Successful in 1m47s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Successful in 1m27s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 1m54s
CI/CD Pipeline / PR Build Web Image (pull_request) Successful in 2m5s
CI/CD Pipeline / PR Build Worker Image (pull_request) Successful in 1m59s
PR Automation / Auto Approve on CI Green (pull_request) Successful in 3m53s
CI/CD Pipeline / PR Build API Image (pull_request) Successful in 3m46s
CI/CD Pipeline / Validate - Code Quality (pull_request) Successful in 6m24s
CI/CD Pipeline / Integration Tests (pull_request) Successful in 2m35s
CI/CD Pipeline / Unit Tests (pull_request) Failing after 11m45s
CI/CD Pipeline / CI Gate (pull_request) Failing after 7s
CI/CD Pipeline / Production Browser E2E (pull_request) Failing after 958h22m42s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 958h22m43s
CI/CD Pipeline / Build Production Worker Image (pull_request) Failing after 958h22m44s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 958h35m12s
CI/CD Pipeline / Build Production Web Image (pull_request) Failing after 958h22m44s
CI/CD Pipeline / Build Production API Image (pull_request) Failing after 958h22m45s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 958h35m13s
CI/CD Pipeline / ACR Image Cleanup (pull_request) Failing after 958h35m11s
CI/CD Pipeline / Build Staging Web Image (pull_request) Failing after 958h35m14s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 958h35m12s
CI/CD Pipeline / Build Staging API Image (pull_request) Failing after 958h35m14s
CI/CD Pipeline / Canary Release to Production (pull_request) Failing after 958h56m2s
CI/CD Pipeline / Build Staging Worker Image (pull_request) Failing after 959h8m33s
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 42s
CI/CD Pipeline / Validate - Migration (alembic) (pull_request) Successful in 50s
Preview Deploy / Deploy Preview Environment (pull_request) Successful in 1m21s
CI/CD Pipeline / Validate - Type Check (mypy) (pull_request) Successful in 1m22s
AI Code Review / AI Code Review (pull_request) Successful in 1m39s
PR Automation / Auto Merge on CI Green + Approved (pull_request) Successful in 1m47s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Successful in 1m27s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 1m54s
CI/CD Pipeline / PR Build Web Image (pull_request) Successful in 2m5s
CI/CD Pipeline / PR Build Worker Image (pull_request) Successful in 1m59s
PR Automation / Auto Approve on CI Green (pull_request) Successful in 3m53s
CI/CD Pipeline / PR Build API Image (pull_request) Successful in 3m46s
CI/CD Pipeline / Validate - Code Quality (pull_request) Successful in 6m24s
CI/CD Pipeline / Integration Tests (pull_request) Successful in 2m35s
CI/CD Pipeline / Unit Tests (pull_request) Failing after 11m45s
CI/CD Pipeline / CI Gate (pull_request) Failing after 7s
CI/CD Pipeline / Production Browser E2E (pull_request) Failing after 958h22m42s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 958h22m43s
CI/CD Pipeline / Build Production Worker Image (pull_request) Failing after 958h22m44s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 958h35m12s
CI/CD Pipeline / Build Production Web Image (pull_request) Failing after 958h22m44s
CI/CD Pipeline / Build Production API Image (pull_request) Failing after 958h22m45s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 958h35m13s
CI/CD Pipeline / ACR Image Cleanup (pull_request) Failing after 958h35m11s
CI/CD Pipeline / Build Staging Web Image (pull_request) Failing after 958h35m14s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 958h35m12s
CI/CD Pipeline / Build Staging API Image (pull_request) Failing after 958h35m14s
CI/CD Pipeline / Canary Release to Production (pull_request) Failing after 958h56m2s
CI/CD Pipeline / Build Staging Worker Image (pull_request) Failing after 959h8m33s
This commit is contained in:
@@ -1100,7 +1100,7 @@ jobs:
|
||||
-e PLAYWRIGHT_HEADLESS=1 \
|
||||
-w /workspace/apps/web \
|
||||
git.xiaoxiajianji.com/xiaoxia/base/playwright:v1.45.0-jammy \
|
||||
sh -lc "npm ci && npx playwright test --reporter=line --project=chromium e2e/auth.spec.ts e2e/auth-guard.spec.ts e2e/core-upload.spec.ts e2e/core-generation.spec.ts"
|
||||
sh -lc "npm ci --registry=https://registry.npmmirror.com && npx playwright test --reporter=line --project=chromium e2e/auth.spec.ts e2e/auth-guard.spec.ts e2e/core-upload.spec.ts e2e/core-generation.spec.ts"
|
||||
docker cp apps "$CONTAINER_NAME:/workspace/"
|
||||
docker cp package-lock.json "$CONTAINER_NAME:/workspace/" 2>/dev/null || true
|
||||
docker start -a "$CONTAINER_NAME"
|
||||
@@ -1162,7 +1162,7 @@ jobs:
|
||||
-e E2E_API_BASE=https://staging-api.xiaoxiajianji.com/api/v1 \
|
||||
-w /workspace/apps/web \
|
||||
git.xiaoxiajianji.com/xiaoxia/base/playwright:v1.45.0-jammy \
|
||||
sh -lc 'npm ci && npx playwright test --reporter=line e2e/test_auth.spec.ts e2e/test_asset.spec.ts e2e/test_project.spec.ts'
|
||||
sh -lc 'npm ci --registry=https://registry.npmmirror.com && npx playwright test --reporter=line e2e/test_auth.spec.ts e2e/test_asset.spec.ts e2e/test_project.spec.ts'
|
||||
docker cp apps "$CONTAINER_NAME:/workspace/"
|
||||
docker cp package-lock.json "$CONTAINER_NAME:/workspace/" 2>/dev/null || true
|
||||
docker start -a "$CONTAINER_NAME"
|
||||
@@ -1506,7 +1506,7 @@ jobs:
|
||||
-v "$PWD:/workspace" \
|
||||
-w /workspace/apps/web \
|
||||
git.xiaoxiajianji.com/xiaoxia/base/playwright:v1.45.0-jammy \
|
||||
sh -lc 'npm ci && npx playwright test --reporter=line --project=chromium e2e/auth.spec.ts e2e/auth-guard.spec.ts e2e/core-upload.spec.ts e2e/core-generation.spec.ts e2e/core-titles.spec.ts'
|
||||
sh -lc 'npm ci --registry=https://registry.npmmirror.com && npx playwright test --reporter=line --project=chromium e2e/auth.spec.ts e2e/auth-guard.spec.ts e2e/core-upload.spec.ts e2e/core-generation.spec.ts e2e/core-titles.spec.ts'
|
||||
|
||||
- name: Job duration summary
|
||||
if: always()
|
||||
|
||||
Reference in New Issue
Block a user