xiaoxia
29ca51da9c
fix(web): 烤入所有 nginx 配置,按 APP_ENV 运行时切换,彻底解决 staging/prod 配置错乱 ( #1853 )
...
CI/CD Pipeline / Dedup Check - skip PR tests when covered by push pipeline (push) Successful in 1s
CI/CD Pipeline / Check push changed paths (push) Successful in 18s
CI/CD Pipeline / Build Staging Worker Image (push) Successful in 14s
CI/CD Pipeline / Build Staging API Image (push) Successful in 1m0s
CI/CD Pipeline / Integration Tests (push) Successful in 1m32s
CI/CD Pipeline / Validate - Python (mypy + alembic) (push) Successful in 1m40s
CI/CD Pipeline / Validate - Style (push) Successful in 2m15s
CI/CD Pipeline / Build Staging Web Image (push) Successful in 2m16s
CI/CD Pipeline / Frontend Unit Tests (push) Successful in 4m44s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Failing after 2m12s
CI/CD Pipeline / Validate - Security (push) Successful in 5m30s
CI/CD Pipeline / Unit Tests (push) Successful in 7m44s
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Build Production Worker Image (push) Failing after 126h13m58s
CI/CD Pipeline / Retag skipped Staging Worker Image (push) Failing after 126h19m7s
CI/CD Pipeline / PR Build Worker Image (push) Failing after 126h21m46s
CI/CD Pipeline / PR Build Web Image (push) Failing after 126h21m33s
CI/CD Pipeline / PR Build API Image (push) Failing after 126h21m34s
CI/CD Pipeline / Retag skipped Staging Web Image (push) Failing after 126h18m54s
CI/CD Pipeline / Retag skipped Staging API Image (push) Failing after 126h18m54s
CI/CD Pipeline / CI Gate (push) Failing after 126h13m45s
CI/CD Pipeline / Build Production API Image (push) Failing after 126h13m45s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 126h21m35s
CI/CD Pipeline / Deploy Production (push) Failing after 126h13m42s
CI/CD Pipeline / Canary Release to Production (push) Failing after 126h13m42s
CI/CD Pipeline / Build Production Web Image (push) Failing after 126h13m45s
CI/CD Pipeline / Staging API Integration Tests (push) Failing after 126h16m37s
CI/CD Pipeline / Staging E2E Tests (push) Failing after 126h16m37s
CI/CD Pipeline / Frontend Lint (push) Failing after 126h21m29s
CI/CD Pipeline / ACR Image Cleanup (push) Failing after 126h51m43s
Co-authored-by: xiaoxia <dev@xiaoxiajianji.com >
Co-committed-by: xiaoxia <dev@xiaoxiajianji.com >
2026-09-11 09:02:01 +08:00
xiaoxia
bd18acd040
fix: Deploy阶段全面修复 - E2E服务器错位/Worker venv统一/内网Registry登录/生产构建缓存
Deploy / Deploy Staging (push) Failing after 135h54m40s
CI/CD Pipeline / Frontend Lint (push) Failing after 135h54m55s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 135h54m55s
Deploy / Staging E2E Tests (push) Failing after 1794h30m10s
Deploy / Production Browser E2E (push) Failing after 1794h30m17s
Deploy / Build Production Runtime Images (push) Failing after 1794h30m22s
Deploy / Deploy Production (push) Failing after 1795h1m44s
2026-07-03 20:59:29 +08:00
xiaoxia
a5f1d9685d
refactor(phase3): Docker 网络隔离 staging/production 环境
...
Deploy / Deploy Staging (push) Failing after 141h44m9s
CI/CD Pipeline / Frontend Lint (push) Failing after 141h44m18s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 141h44m18s
Deploy / Staging E2E Tests (push) Failing after 1800h19m46s
Deploy / Deploy Production (push) Failing after 1800h19m50s
Deploy / Build Production Runtime Images (push) Failing after 1800h19m52s
Deploy / Production Browser E2E (push) Failing after 1800h51m14s
- compose.yml: 网络名根据 ENV 变量区分 (xiaoxia-net-staging/xiaoxia-net-production)
- infra-production.yml: 使用 xiaoxia-net-production 网络
- infra.yml: 使用 xiaoxia-net-staging 网络
- 新增 nginx-staging.conf (proxy_pass -> xiaoxia-api-staging:8000)
- 新增 nginx-production.conf (proxy_pass -> xiaoxia-api-production:8000)
- nginx.conf 更新为 production 默认配置
- web-artifact.Dockerfile: 添加 ARG NGINX_CONF 支持构建时选择 nginx 配置
- deploy-staging.sh: 添加 ENV=staging、网络创建、nginx 配置选择
- deploy-production.sh: 添加 ENV=production、网络创建
- deploy.yml: CI 构建传入 NGINX_CONF 参数、远程部署脚本添加网络创建
- deploy.yml: 冒烟测试添加网络隔离验证
2026-07-03 15:09:54 +08:00
Audit Bot
c22ab58ff2
fix(deploy): build/push API+Worker images to registry for staging deploy
...
Deploy / Deploy Staging (push) Failing after 209h0m7s
CI/CD Pipeline / Frontend Lint (push) Failing after 209h0m36s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 209h0m45s
Deploy / Production Browser E2E (push) Failing after 1867h15m39s
Deploy / Deploy Production (push) Failing after 1867h15m41s
Deploy / Build Production Runtime Images (push) Failing after 1867h16m27s
- Add 'Build and push staging API/Worker images' step in deploy.yml
- Update inline deploy script to pass REGISTRY/API_IMAGE/WORKER_IMAGE
- Update deploy-staging.sh to default to registry-prefixed image names
- Fix infra container checks to use -staging suffix
2026-06-30 19:53:49 +08:00
CI Test
4f5e14862b
fix(deploy): check staging-suffixed infra container names in deploy-staging.sh
Deploy / Deploy Staging (push) Failing after 209h7m2s
CI/CD Pipeline / Frontend Lint (push) Failing after 209h7m37s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 209h7m48s
Deploy / Production Browser E2E (push) Failing after 1867h40m46s
Deploy / Build Production Runtime Images (push) Failing after 1867h40m49s
Deploy / Deploy Production (push) Failing after 1868h12m9s
2026-06-30 19:46:45 +08:00
Xiaoxia AI
a35abd155c
fix(deploy): guard staging builds on business host
2026-06-24 22:54:55 +08:00
Xiaoxia AI
1c883ec704
fix(deploy): make staging web build opt-in
2026-06-24 19:51:34 +08:00
Xiaoxia AI
bdb87508a1
fix(deploy): reuse staging backend images by default
2026-06-24 19:48:12 +08:00
Xiaoxia AI
aa2b190866
fix(deploy): allow direct staging deploy host prefix
2026-06-21 23:13:51 +08:00
Xiaoxia AI
238cffcbcf
fix(deploy): align staging deploy host prefix
2026-06-21 23:11:36 +08:00
Xiaoxia AI
2874ab0ac0
fix(deploy): rebuild web image during releases
2026-06-21 16:49:00 +08:00
Xiaoxia AI
a9751783b2
fix(deploy): parameterize alembic schema probe
2026-06-21 07:04:39 +08:00
Xiaoxia AI
654c0f3ab0
fix(deploy): preserve alembic version probe quoting
2026-06-21 07:02:46 +08:00
Xiaoxia AI
4c89d6b440
fix(deploy): handle alembic baseline stamping
2026-06-21 06:55:56 +08:00
Xiaoxia AI
0809a079c5
refactor(db): introduce alembic schema baseline
2026-06-21 06:48:16 +08:00
Xiaoxia AI
bcfad4ad6a
fix(deploy): expose generated video files
2026-06-20 23:40:47 +08:00
Xiaoxia AI
bd1c936635
fix(deploy): build compose services serially
2026-06-20 23:09:56 +08:00
Xiaoxia AI
554f7fc192
fix(deploy): rebuild only backend services on deploy
2026-06-20 23:01:50 +08:00
Xiaoxia AI
017277c152
fix(deploy): avoid remote metadata checks during compose build
2026-06-20 22:57:33 +08:00
Xiaoxia AI
d31c62d4e2
fix(deploy): align deployment with split infrastructure
2026-06-20 19:02:48 +08:00
Xiaoxia AI
6537a518fd
fix: correct paths in deployment scripts for container execution
2026-06-20 12:20:55 +08:00
Xiaoxia AI
9fe0614d43
feat: add deployment configs, systemd service, and tracker init scripts
2026-06-16 22:01:24 +08:00