Compare commits

...

3 Commits

Author SHA1 Message Date
xiaoxia 1fbf14c72c feat: python-ci镜像改用本地仓库
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (pull_request) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (pull_request) Has been skipped
CI/CD Pipeline / Staging E2E Tests (pull_request) Has been skipped
CI/CD Pipeline / Staging API Integration Tests (pull_request) Has been skipped
CI/CD Pipeline / Deploy Production (pull_request) Has been skipped
CI/CD Pipeline / Production Browser E2E (pull_request) Has been skipped
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 41m20s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 41m20s
2026-07-09 12:13:07 +08:00
xiaoxia 796f3344e0 feat: postgres镜像改用本地仓库
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (pull_request) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (pull_request) Has been skipped
CI/CD Pipeline / Staging E2E Tests (pull_request) Has been skipped
CI/CD Pipeline / Staging API Integration Tests (pull_request) Has been skipped
CI/CD Pipeline / Deploy Production (pull_request) Has been skipped
CI/CD Pipeline / Production Browser E2E (pull_request) Has been skipped
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 41m35s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 41m35s
2026-07-09 12:12:55 +08:00
xiaoxia d2aee695f2 feat: 替换CI镜像为本地仓库 - .gitea/workflows/ci-cd.yml (1/1)
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 1h5m8s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 1h5m8s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (pull_request) Has been skipped
CI/CD Pipeline / Staging E2E Tests (pull_request) Has been skipped
CI/CD Pipeline / Staging API Integration Tests (pull_request) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (pull_request) Has been skipped
CI/CD Pipeline / Deploy Production (pull_request) Has been skipped
CI/CD Pipeline / Production Browser E2E (pull_request) Has been skipped
2026-07-09 11:49:23 +08:00
2 changed files with 7 additions and 7 deletions
+6 -6
View File
@@ -183,7 +183,7 @@ jobs:
--health-interval 5s \
--health-timeout 5s \
--health-retries 12 \
postgres:16
git.xiaoxiajianji.com/xiaoxia/base/postgres:16
# 获取随机映射的端口
PG_PORT=$(docker port "$PG_CONTAINER" 5432/tcp | cut -d: -f2)
echo "PostgreSQL port: $PG_PORT"
@@ -328,7 +328,7 @@ jobs:
docker run --rm \
-v "$PWD:/workspace" \
-w /workspace/apps/web \
docker.m.daocloud.io/library/node:20 \
git.xiaoxiajianji.com/xiaoxia/base/node:20 \
sh -lc 'npm ci'
- name: Run ESLint
@@ -338,7 +338,7 @@ jobs:
docker run --rm \
-v "$PWD:/workspace" \
-w /workspace/apps/web \
docker.m.daocloud.io/library/node:20 \
git.xiaoxiajianji.com/xiaoxia/base/node:20 \
sh -lc 'npx eslint src --ext .ts,.tsx --max-warnings 50'
- name: Run TypeScript type check
@@ -348,7 +348,7 @@ jobs:
docker run --rm \
-v "$PWD:/workspace" \
-w /workspace/apps/web \
docker.m.daocloud.io/library/node:20 \
git.xiaoxiajianji.com/xiaoxia/base/node:20 \
sh -lc 'npx tsc --noEmit'
- name: Run Prettier check
@@ -358,7 +358,7 @@ jobs:
docker run --rm \
-v "$PWD:/workspace" \
-w /workspace/apps/web \
docker.m.daocloud.io/library/node:20 \
git.xiaoxiajianji.com/xiaoxia/base/node:20 \
sh -lc 'npx prettier --check "src/**/*.{ts,tsx,md}"'
- name: Run Vitest tests
@@ -368,7 +368,7 @@ jobs:
docker run --rm \
-v "$PWD:/workspace" \
-w /workspace/apps/web \
docker.m.daocloud.io/library/node:20 \
git.xiaoxiajianji.com/xiaoxia/base/node:20 \
sh -lc 'npx vitest run src/test'
deploy-staging:
name: Build & Push Staging (Watchtower auto-deploy)
+1 -1
View File
@@ -18,7 +18,7 @@ jobs:
validate:
name: Validate Code Quality And Tests
runs-on: ubuntu-latest
container: xiaoxia-ci-python:3.12
container: git.xiaoxiajianji.com/xiaoxia/base/ci-python:3.12
steps:
- name: Checkout code