xiaoxia
f28a732f8b
fix(api): add /app/apps/api to PYTHONPATH in api.Dockerfile
...
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 46s
AI Code Review / AI Code Review (pull_request) Successful in 1m16s
PR Automation / Auto Merge on CI Green + Approved (pull_request) Successful in 1m35s
CI/CD Pipeline / PR Build API Image (pull_request) Successful in 12s
Preview Deploy / Deploy Preview Environment (pull_request) Successful in 2m31s
CI/CD Pipeline / Validate - Migration (alembic) (pull_request) Successful in 2m35s
CI/CD Pipeline / Validate - Type Check (mypy) (pull_request) Successful in 2m51s
PR Automation / Auto Approve on CI Green (pull_request) Successful in 3m49s
CI/CD Pipeline / Validate - Code Quality (pull_request) Successful in 8m43s
CI/CD Pipeline / Unit Tests (pull_request) Successful in 11m37s
CI/CD Pipeline / Integration Tests (pull_request) Successful in 5m26s
CI/CD Pipeline / PR Build Worker Image (pull_request) Successful in 13m31s
CI/CD Pipeline / CI Gate (pull_request) Successful in 6s
ACR Cleanup / ACR Image Cleanup (pull_request_target) Successful in 27s
Preview Cleanup / Cleanup Preview Environment (pull_request) Successful in 56s
CI/CD Pipeline / Canary Release to Production (pull_request) Failing after 690h45m28s
CI/CD Pipeline / Build Production Worker Image (pull_request) Failing after 690h45m30s
CI/CD Pipeline / Production Browser E2E (pull_request) Failing after 690h45m28s
CI/CD Pipeline / Build Production Web Image (pull_request) Failing after 690h45m30s
CI/CD Pipeline / Build Production API Image (pull_request) Failing after 690h45m31s
CI/CD Pipeline / PR Build Web Image (pull_request) Failing after 690h56m6s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 690h57m10s
CI/CD Pipeline / ACR Image Cleanup (pull_request) Failing after 690h57m48s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 690h57m52s
CI/CD Pipeline / Build Staging Web Image (pull_request) Failing after 690h57m57s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 690h57m54s
CI/CD Pipeline / Build Staging API Image (pull_request) Failing after 690h57m57s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 691h19m11s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Failing after 691h30m50s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 691h31m32s
CI/CD Pipeline / Build Staging Worker Image (pull_request) Failing after 691h31m38s
API container startup fails because Python cannot find the app package
under /app/apps/api/. Adding /app/apps/api to PYTHONPATH allows imports
to resolve correctly for both /app and /app/apps/api paths.
Fixes #1421
2026-08-18 20:28:16 +08:00
xiaoxia
4bb1c4205d
perf: 删除 psycopg2-binary 依赖 + 预构建 API 基础镜像 ( #1422 )
...
Worker Base Image Build / Build Worker Base Images (worker-base-runtime-cache, infra/docker/worker-base-runtime.Dockerfile, worker-base-runtime, runtime) (push) Failing after 1m19s
API Base Image Build / Build API Base Image (push) Successful in 1m40s
CI/CD Pipeline / Validate - Migration (alembic) (push) Successful in 3m5s
CI/CD Pipeline / Validate - Type Check (mypy) (push) Successful in 3m20s
CI/CD Pipeline / Frontend Unit Tests (push) Successful in 5m24s
CI/CD Pipeline / Validate - Code Quality (push) Successful in 8m22s
CI/CD Pipeline / Integration Tests (push) Successful in 3m3s
Worker Base Image Build / Build Worker Base Images (worker-base-builder-cache, infra/docker/worker-base-builder.Dockerfile, worker-base-builder, builder) (push) Failing after 11m48s
CI/CD Pipeline / Build Staging Web Image (push) Failing after 11m49s
CI/CD Pipeline / Unit Tests (push) Successful in 12m22s
CI/CD Pipeline / Build Staging API Image (push) Has been cancelled
CI/CD Pipeline / Build Staging Worker Image (push) Has been cancelled
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Has been cancelled
CI/CD Pipeline / Staging E2E Tests (push) Has been cancelled
CI/CD Pipeline / Staging API Integration Tests (push) Has been cancelled
CI/CD Pipeline / ACR Image Cleanup (push) Has been cancelled
CI/CD Pipeline / Canary Release to Production (push) Has been cancelled
CI/CD Pipeline / Production Browser E2E (push) Failing after 693h7m59s
CI/CD Pipeline / CI Gate (push) Failing after 693h8m0s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 693h8m0s
CI/CD Pipeline / Build Production Web Image (push) Failing after 693h8m0s
CI/CD Pipeline / PR Build Worker Image (push) Failing after 693h19m9s
CI/CD Pipeline / PR Build Web Image (push) Failing after 693h19m11s
CI/CD Pipeline / PR Build API Image (push) Failing after 693h19m13s
CI/CD Pipeline / Frontend Lint (push) Failing after 693h19m21s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 693h20m26s
CI/CD Pipeline / Deploy Production (push) Failing after 693h41m41s
CI/CD Pipeline / Build Production API Image (push) Failing after 693h41m41s
Co-authored-by: xiaoxia <dev@xiaoxiajianji.com >
Co-committed-by: xiaoxia <dev@xiaoxiajianji.com >
2026-08-18 18:06:01 +08:00
xiaoxia
0896f3e161
fix: add ffmpeg to API runtime image for cover fallback ( #1362 )
...
CI/CD Pipeline / Validate - Migration (alembic) (push) Successful in 2m55s
CI/CD Pipeline / Validate - Type Check (mypy) (push) Successful in 3m20s
CI/CD Pipeline / Build Staging Web Image (push) Successful in 3m20s
CI/CD Pipeline / Frontend Unit Tests (push) Successful in 3m20s
CI/CD Pipeline / Build Staging Worker Image (push) Successful in 5m59s
CI/CD Pipeline / Validate - Code Quality (push) Successful in 8m18s
CI/CD Pipeline / Unit Tests (push) Successful in 10m54s
CI/CD Pipeline / Integration Tests (push) Successful in 4m28s
CI/CD Pipeline / Build Staging API Image (push) Successful in 22m28s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Successful in 59s
CI/CD Pipeline / ACR Image Cleanup (push) Successful in 39s
CI/CD Pipeline / Staging E2E Tests (push) Failing after 1m9s
CI/CD Pipeline / Staging API Integration Tests (push) Successful in 2m49s
CI/CD Pipeline / Canary Release to Production (push) Failing after 809h20m8s
CI/CD Pipeline / Deploy Production (push) Failing after 809h35m28s
CI/CD Pipeline / CI Gate (push) Failing after 809h33m39s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 809h35m28s
CI/CD Pipeline / PR Build Worker Image (push) Failing after 809h46m22s
CI/CD Pipeline / Build Production Web Image (push) Failing after 809h35m29s
CI/CD Pipeline / PR Build Web Image (push) Failing after 809h46m23s
CI/CD Pipeline / PR Build API Image (push) Failing after 809h46m24s
CI/CD Pipeline / Frontend Lint (push) Failing after 809h46m25s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 809h46m26s
CI/CD Pipeline / Production Browser E2E (push) Failing after 810h8m57s
CI/CD Pipeline / Build Production API Image (push) Failing after 810h8m59s
fix: add ffmpeg to API runtime image for cover fallback (#1362 )
2026-08-13 21:40:22 +08:00
xiaoxia
faf018030f
perf(ci): Dockerfile优化 - cache mount加速 + API多阶段瘦身 ( #679 )
...
CI/CD Pipeline / Frontend Unit Tests (push) Failing after 2m21s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 3m2s
CI/CD Pipeline / Integration Tests (push) Failing after 1m3s
CI/CD Pipeline / Build Staging Worker Image (push) Has been cancelled
CI/CD Pipeline / ACR Image Cleanup (push) Failing after 0s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Failing after 0s
CI/CD Pipeline / Staging API Integration Tests (push) Failing after 0s
CI/CD Pipeline / Production Browser E2E (push) Failing after 1368h48m36s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 1368h48m40s
CI/CD Pipeline / Build Production Web Image (push) Failing after 1368h48m42s
CI/CD Pipeline / Unit Tests (push) Has been skipped
CI/CD Pipeline / Frontend Lint (push) Has been skipped
CI/CD Pipeline / Build Staging API Image (push) Has been skipped
CI/CD Pipeline / Build Staging Web Image (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Failing after 1369h20m49s
CI/CD Pipeline / Build Production API Image (push) Failing after 1369h20m55s
CI/CD Pipeline / Staging E2E Tests (push) Failing after 0s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 1369h20m56s
Co-authored-by: xiaoxia <dev@xiaoxiajianji.com >
Co-committed-by: xiaoxia <dev@xiaoxiajianji.com >
2026-07-21 14:00:29 +08:00
xiaoxia
4ab641f765
feat(docker): 将 APP_VERSION 构建进镜像,解决 Watchtower 更新后版本号显示不准的问题 ( #200 )
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 9s
CI/CD Pipeline / Production Browser E2E (push) Failing after 1625h20m41s
CI/CD Pipeline / Deploy Production (push) Failing after 1625h20m43s
CI/CD Pipeline / Staging API Integration Tests (push) Failing after 1625h20m43s
CI/CD Pipeline / Staging E2E Tests (push) Failing after 1625h20m43s
CI/CD Pipeline / Build Production Runtime Images (push) Failing after 1625h20m45s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Failing after 1625h20m45s
CI/CD Pipeline / Frontend Lint (push) Has been skipped
2026-07-10 22:07:25 +08:00
lingying
92c71fa57b
ci(foundation): 所有Dockerfile基础镜像替换为私有Registry
...
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Has been cancelled
CI/CD Pipeline / Staging E2E Tests (push) Has been cancelled
CI/CD Pipeline / Build Production Runtime Images (push) Has been cancelled
CI/CD Pipeline / Deploy Production (push) Has been cancelled
CI/CD Pipeline / Production Browser E2E (push) Has been cancelled
- api/worker/ci: python:3.12-slim -> 私有Registry
- web/node: node:20 -> 私有Registry
- web/nginx: nginx:alpine -> 私有Registry
- 彻底摆脱公网镜像依赖,构建更快更稳
2026-07-08 20:34:28 +08:00
xiaoxia
bcb1663de4
ci: 启用BuildKit分布式缓存+Gitea Registry,优化构建速度
...
Deploy / Deploy Staging (push) Failing after 138h40m13s
CI/CD Pipeline / Frontend Lint (push) Failing after 138h40m24s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 138h40m24s
Deploy / Production Browser E2E (push) Failing after 1797h15m29s
Deploy / Staging E2E Tests (push) Failing after 1797h15m31s
Deploy / Build Production Runtime Images (push) Failing after 1797h15m38s
Deploy / Deploy Production (push) Failing after 1797h46m56s
- 拆分 requirements.txt: 稳定大包放 requirements-base.txt(numpy/scipy/opencv/Pillow/sqlalchemy 等),业务依赖留 requirements.txt
- 优化 Dockerfile: 分两层安装依赖,基础层缓存命中率高
- CI 改用 docker buildx build,缓存存 Gitea Container Registry
- 启用 Gitea Packages/Container Registry(git.xiaoxiajianji.com)
- 镜像仍推内网 Registry(172.30.18.198:5000),缓存独立存 Gitea Registry
2026-07-03 18:13:49 +08:00
API文档维护Agent
4f9feb8c5a
fix: API Dockerfile 添加 scripts/ 目录拷贝
...
Tests / lint (pull_request) Failing after 243h40m17s
Tests / test (pull_request) Failing after 243h40m17s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 243h40m52s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 243h40m53s
deploy-production.sh 在 API 容器内执行
python /app/scripts/validate_release_env.py,
当前 Dockerfile 未 COPY scripts 目录导致文件不存在、Deploy 步骤失败。
添加 COPY scripts/ /app/scripts/ 使部署验证脚本可用。
2026-06-29 09:13:27 +08:00
xiaoxia
71825df8b2
fix: include alembic directory in API Docker image for migrations
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Build Production Runtime Images (push) Has been cancelled
Deploy / Deploy Production (push) Has been cancelled
Deploy / Production Browser E2E (push) Has been cancelled
2026-06-28 16:36:37 +08:00
CI Test
46d9b9edfe
fix: add Chinese apt mirrors to both Dockerfiles for faster builds
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Build Production Runtime Images (push) Has been cancelled
Deploy / Deploy Production (push) Has been cancelled
Deploy / Production Browser E2E (push) Has been cancelled
Tests / lint (push) Failing after 1938h51m54s
Tests / test (push) Failing after 1938h51m59s
2026-06-27 20:38:37 +08:00
CI Test
aade9fa938
fix: add HTTPS pip mirror to api.Dockerfile to fix build failure
2026-06-27 20:26:41 +08:00
xiaoxia
e915c0d6df
fix: 创建 API 和 Worker Dockerfiles
...
- 创建 infra/docker/api.Dockerfile 用于 FastAPI 应用
- 创建 infra/docker/worker.Dockerfile 用于 Celery Worker
- 使用 python:3.12-slim-bookworm 作为基础镜像
- Worker 包含 ffmpeg 和 opencv 依赖(用于视频处理)
- API 包含 PostgreSQL 开发库(用于 psycopg2 编译)
- 分离镜像减少不必要的依赖
2026-06-27 00:04:15 +08:00
xiaoxia
df8fe4dba3
fix: P3-3 add multi-stage build to api.Dockerfile
2026-06-26 17:56:51 +08:00
Xiaoxia AI
46bd774742
build(docker): include maintenance scripts
2026-06-21 11:32:54 +08:00
Xiaoxia AI
0809a079c5
refactor(db): introduce alembic schema baseline
2026-06-21 06:48:16 +08:00
Xiaoxia AI
9fe0614d43
feat: add deployment configs, systemd service, and tracker init scripts
2026-06-16 22:01:24 +08:00
Xiaoxia AI
2c86106c08
fix: switch docker pip mirror to aliyun
2026-06-15 18:53:37 +08:00
Xiaoxia AI
ba4e672bf8
fix: use domestic pip mirror for docker builds
2026-06-15 18:52:33 +08:00
Xiaoxia AI
b5a62ee9a3
feat: initial SaaS scaffold
...
- domain: User, Workspace, Project, AssetLibrary, Asset, IngestJob
- ports: repository interfaces
- application: use cases
- adapters: in-memory
- API: FastAPI 5 routes
- worker: Celery ingest_asset
- tests: 4 passing
2026-06-15 15:17:40 +08:00