diff --git a/.gitea/workflows/e2e-health.yaml b/.gitea/workflows/e2e-health.yaml index e77cba68..cdb5798f 100644 --- a/.gitea/workflows/e2e-health.yaml +++ b/.gitea/workflows/e2e-health.yaml @@ -2,7 +2,7 @@ # AWOOOI E2E Health Check (Gitea Actions - 方案 B) # ============================================================================= # 替代 GitHub Actions 的本地 CI/CD -# 2026-03-29 Claude Code +# 2026-03-29 Claude Code (ADR-039) name: E2E Health Check @@ -14,26 +14,12 @@ on: jobs: e2e-health: runs-on: ubuntu-latest - container: - image: ubuntu:24.04 - options: --network host steps: - uses: actions/checkout@v4 - - name: Setup Python - uses: actions/setup-python@v5 - with: - python-version: '3.11' - - - name: Install uv - run: pip install uv - - - name: Install dependencies - working-directory: apps/api - run: uv sync - - name: Check API Health run: | + # 使用 host.docker.internal 或直接 IP API_URL="http://192.168.0.121:32334" echo "🔗 檢查 API 健康狀態..." @@ -50,23 +36,3 @@ jobs: echo "❌ API 無法連線" exit 1 - - - name: Run E2E Verification - working-directory: apps/api - env: - WEBHOOK_HMAC_SECRET: ${{ secrets.WEBHOOK_HMAC_SECRET }} - run: | - API_URL="http://192.168.0.121:32334" - - for i in 1 2 3; do - echo "📡 E2E 嘗試 #$i..." - if uv run python -m scripts.e2e_tool_call_verification --api-url "$API_URL" --dry-run; then - echo "✅ E2E 驗證通過" - exit 0 - fi - sleep 5 - done - - echo "❌ E2E 驗證失敗" - exit 1 -# 2026-03-29 Claude Code: 網絡配置修復後測試