Commit Graph

1628 Commits

Author SHA1 Message Date
Xiaoxia AI 388a20794e merge: fix worker generation task 2026-06-20 21:12:56 +08:00
Xiaoxia AI 93ca38d8ca trigger: validate prebuilt ci image 2026-06-20 21:05:53 +08:00
Xiaoxia AI 4dbdb0f853 chore(ci): use prebuilt python validation image 2026-06-20 21:05:10 +08:00
Xiaoxia AI 48fbe3d287 fix(worker): register generation task 2026-06-20 19:43:08 +08:00
Xiaoxia AI f280a9fd21 merge: fix deployment split infrastructure ci 2026-06-20 19:27:02 +08:00
Xiaoxia AI f1ba8ba6af fix(ci): checkout without git in slim runner image 2026-06-20 19:03:52 +08:00
Xiaoxia AI d31c62d4e2 fix(deploy): align deployment with split infrastructure 2026-06-20 19:02:48 +08:00
Xiaoxia AI 751d0edbba fix: 添加 psycopg 依赖,修复数据库连接错误
- 添加 psycopg==3.1.18(SQLAlchemy 2.0 推荐的 PostgreSQL 驱动)
- 保留 psycopg2-binary 作为备用
2026-06-20 16:36:54 +08:00
Xiaoxia AI 42a94e0a19 trigger: 重新触发 CI/CD(使用优化后的轻量级镜像) 2026-06-20 16:31:00 +08:00
Xiaoxia AI dd91c87ef0 perf: 优化 CI/CD 镜像,从 2.26GB 降到 179MB
- 替换 catthehacker/ubuntu:act-latest (2.26GB) 为 python:3.12-slim (179MB)
- 减少下载时间 90%+
- 加快 CI/CD 构建速度
2026-06-20 16:21:49 +08:00
Xiaoxia AI 94dd60108c refactor: 彻底迁移到阿里云 OSS 并重构基础设施
- 删除 MinIO 依赖,改用阿里云 OSS (oss2)
- 重写存储服务 storage.py(完全兼容原接口)
- 更新配置:config.py 改为 OSS_* 配置项
- 重构 Docker Compose:分离基础设施(infra.yml)和应用(compose.yml)
- 添加健康检查和自动重启配置
- 创建标准化部署脚本(init-server.sh + deploy.sh)
- 统一 Nginx 配置(主域名 api.xiaoxiajianji.com)
- 修复 Web Dockerfile 端口映射(80 not 3000)

服务器清理完成:
- 删除旧云控制台、监控系统、桌面版代码
- 删除 2.6GB 旧安装包
- 清理 Docker 缓存 2.5GB
- 磁盘使用率从 48% 降至 26%
2026-06-20 15:24:24 +08:00
Xiaoxia AI 0f42ca1a7b fix: correct web Dockerfile for Vite (not Next.js) 2026-06-20 14:08:27 +08:00
Xiaoxia AI 3b72307bee fix: remove unused import in useWorkspace 2026-06-20 12:38:22 +08:00
Xiaoxia AI 36b144487f fix: exclude test files from TypeScript build 2026-06-20 12:25:23 +08:00
Xiaoxia AI 6537a518fd fix: correct paths in deployment scripts for container execution 2026-06-20 12:20:55 +08:00
Xiaoxia AI 44398c2ce7 fix: support develop branch deployment and fix React Query v5 compatibility 2026-06-20 12:01:51 +08:00
Xiaoxia AI 3002160ad4 feat: 添加简化版认证API和配置文件 2026-06-20 11:29:46 +08:00
Xiaoxia AI 8493471c19 feat(project-d): implement real video generation pipeline with FFmpeg 2026-06-19 10:54:20 +08:00
Xiaoxia AI 9dfef32226 merge: complete Project C - doc quality verification 2026-06-19 10:14:39 +08:00
Xiaoxia AI a70efed8d8 docs(project-c): complete doc quality verification and update CHANGELOG 2026-06-19 10:14:05 +08:00
Xiaoxia AI 57d4f46196 docs(project-b): complete mainline clarity project - API catalog and code status 2026-06-19 10:02:12 +08:00
Xiaoxia AI ee7eefa6df docs(phase7): mark Phase 7 as completed 2026-06-19 09:49:32 +08:00
Xiaoxia AI 5e047972cd fix(phase7): resolve remaining TODOs - session_id in JWT and repository injection 2026-06-19 09:47:20 +08:00
Xiaoxia AI b1502fec85 merge: CI/CD stability fixes into develop 2026-06-19 09:12:11 +08:00
Xiaoxia AI 9b5a4a35b0 fix(ci): remove runtime dependencies from dev requirements 2026-06-19 08:46:05 +08:00
Xiaoxia AI f529c145d9 docs(ci): establish runner infrastructure governance 2026-06-19 08:39:33 +08:00
Xiaoxia AI 9385a9ee1e fix(ci): stabilize validation workflow 2026-06-19 07:22:17 +08:00
Xiaoxia AI 3582868456 fix(ci): avoid needs scheduling blockage on gitea 2026-06-19 06:53:05 +08:00
Xiaoxia AI 2b4a94ac95 fix(ci): align workflow triggers with branch policy 2026-06-19 06:41:20 +08:00
Xiaoxia AI c082f216a9 fix(ci): isolate quality toolchain from runtime dependencies 2026-06-19 03:33:04 +08:00
Xiaoxia AI 2f4d63eba5 feat(phase7): complete generation web flow and frontend build recovery 2026-06-18 21:50:52 +08:00
Xiaoxia AI 7f2f52bad8 feat(phase7): align generated video storage paths 2026-06-18 20:56:31 +08:00
Xiaoxia AI 642d01eee4 feat(phase7): prefer presigned generated video downloads 2026-06-18 20:49:31 +08:00
Xiaoxia AI 3d6b90c022 feat(phase7): add generated video download endpoint 2026-06-18 20:33:14 +08:00
Xiaoxia AI 58ab98689f feat(phase7): trigger generation worker from API 2026-06-18 20:13:08 +08:00
Xiaoxia AI 758c2c7e13 feat(phase7): align asset flow and scaffold generation pipeline 2026-06-18 19:59:37 +08:00
Xiaoxia AI 9c3fb6d4ff chore(ci): unify dev dependencies via requirements-dev 2026-06-18 17:26:40 +08:00
Xiaoxia AI 3760dcfc7e fix(ci): force official pypi in venv installs 2026-06-18 16:50:33 +08:00
Xiaoxia AI fdee6b71e1 fix(ci): use apt packages for python tooling 2026-06-18 16:46:57 +08:00
Xiaoxia AI 5e0b01b3f6 fix(ci): unify workflows and use venv for python tools 2026-06-18 16:42:55 +08:00
Xiaoxia AI e22a9ba2e3 fix(ci): use --break-system-packages for pip install
- Fix externally-managed-environment error
- Ubuntu 24.04 requires this flag for global pip installs
2026-06-18 16:36:14 +08:00
Xiaoxia AI a63de0dae0 fix(ci): use catthehacker/ubuntu:act-latest container
- Use pre-built container with git and Python
- Avoid timeout from apt-get install
- This container is specifically built for Gitea Actions/act
2026-06-18 16:31:21 +08:00
Xiaoxia AI 8285726c46 ci: fresh start after database cleanup - 2026-06-18 16:28:15 2026-06-18 16:28:16 +08:00
Xiaoxia AI 87aab4d16b fix(ci): simplify CI pipeline - install git manually
- Use runs-on: ubuntu-latest instead of container
- Install git before checkout
- Install Python manually
- Simplify to core functionality only
2026-06-18 16:23:48 +08:00
Xiaoxia AI bb0c8e3d89 ci: test container-based workflow - 2026-06-18 16:22:22 2026-06-18 16:22:22 +08:00
Xiaoxia AI bac10931b7 fix(ci): use container image instead of setup-python action
- Use python:3.12-slim container directly
- Remove setup-python action (not compatible with Gitea Actions)
- Simplify build pipeline
- Add error handling for missing requirements.txt
2026-06-18 16:20:42 +08:00
Xiaoxia AI 1a9832ac9a ci: final CI test - 2026-06-18 16:15:58 2026-06-18 16:15:58 +08:00
Xiaoxia AI bc9ea58423 ci: merge CI/CD pipeline configuration
- Add complete CI/CD workflow
- Use custom git clone to fix Gitea Actions URL issue
- Add Git workflow documentation
2026-06-18 16:13:44 +08:00
Xiaoxia AI af51c4901c ci: trigger CI test - 2026-06-18 16:11:49 2026-06-18 16:11:54 +08:00
Xiaoxia AI 8b39848116 fix(ci): use custom checkout to fix repository URL issue
- Replace actions/checkout@v4 with manual git clone
- Use correct Gitea URL with /git/ path
- This works around Gitea Actions URL bug
2026-06-18 16:02:00 +08:00