Commit Graph

20 Commits

Author SHA1 Message Date
DevOps Bot e6dfeafb85 ci: 优化生产镜像部署 - 改用Registry push/pull替代tar+scp\n\n- build_release_images.sh: 增加web镜像buildx缓存构建 + push到Gitea Registry\n- deploy-production.sh: 改用docker pull从Registry拉取镜像,替代docker load\n- ci-cd.yml: 简化build-production和deploy-production job\n - 移除docker save + scp传镜像tar的流程\n - 仅保留源码tar.gz scp(compose/migration脚本需要)\n - web镜像构建合并到build_release_images.sh统一管理
CI/CD Pipeline / Deploy Staging (pull_request) Has been skipped
CI/CD Pipeline / Staging E2E 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
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 60h28m37s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 60h30m7s
2026-07-06 19:20:03 +08:00
xiaoxia a5f1d9685d refactor(phase3): Docker 网络隔离 staging/production 环境
Deploy / Staging E2E Tests (push) Has been skipped
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
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
- 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
Xiaoxia AI 12b2eeb050 fix(deploy): load production web artifact on business host 2026-06-25 01:51:17 +08:00
Xiaoxia AI bf452e3510 fix(ops): prune old docker artifacts after deploy 2026-06-23 22:39:18 +08:00
Xiaoxia AI b7b0765ba6 docs(release): close package one boundary validation 2026-06-23 10:04:56 +08:00
Xiaoxia AI 816d98175a fix(ops): expose release version and limit worker concurrency 2026-06-23 07:52:19 +08:00
Xiaoxia AI fb633a8ed4 fix(deploy): recreate web after api release 2026-06-22 20:07:16 +08:00
Xiaoxia AI 8a9542274f fix(deploy): require runtime image artifact for production 2026-06-22 14:53:48 +08:00
Xiaoxia AI 6fb8d11cec fix(deploy): skip runtime image builds on production host 2026-06-22 10:04:26 +08:00
Xiaoxia AI 1cf43fa6a0 fix(deploy): isolate production web api proxy 2026-06-22 10:02:03 +08:00
Xiaoxia AI 1939878dec fix(deploy): require prebuilt web artifact for production 2026-06-22 09:34:27 +08:00
Xiaoxia AI d7ff0dceb1 fix(deploy): allow direct production deploy host prefix 2026-06-22 07:15:02 +08:00
Xiaoxia AI 2874ab0ac0 fix(deploy): rebuild web image during releases 2026-06-21 16:49:00 +08:00
Xiaoxia AI a186f367f3 fix(deploy): separate production application deployment 2026-06-21 15:50:40 +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