Commit Graph

15 Commits

Author SHA1 Message Date
movingsam
ecafe1984c ci(workflows): 增加 Docker Buildx 设置步骤
Some checks failed
Build and Push Docker / build (push) Failing after 29m44s
- 在 GitHub Actions 工作流中添加 Docker Buildx 配置
- 使用最新的 moby/buildkit 镜像作为驱动选项
- 优化构建环境以支持多平台构建功能
2026-03-01 16:42:06 +08:00
movingsam
bce6aaa33f chore(docker): 优化 Docker 构建缓存管理
Some checks failed
Build and Push Docker / build (push) Failing after 31s
- 使用 actions/cache 缓存 Docker 构建层,加快构建速度
- 统一缓存路径改为 /tmp/.buildx-cache 以简化管理
- 更新构建缓存的来源和目标目录配置
- 确保构建结束时正确移动缓存文件,避免缓存丢失

docs(gateway): 新增网关插件系统技术方案文档

- 详细描述插件系统的设计目标和核心功能
- 规划基于 Razor Pages 的 Web UI 管理界面
- 设计插件类型接口及生命周期管理方案
2026-03-01 16:38:10 +08:00
movingsam
f163d6c92a fix(ci): 使用本地文件系统缓存替代GitHub Actions缓存
Some checks failed
Build and Push Docker / build (push) Failing after 47m55s
- 将 cache type 从 gha 改为 local
- 缓存路径设为 /data/.buildx-cache (Runner持久化目录)
- 添加 Move cache 步骤防止缓存损坏
2026-03-01 14:15:32 +08:00
movingsam
18813f905a fix(ci): 修正 Docker 构建配置和 Dockerfile 路径
Some checks failed
Build / build (push) Failing after 1m42s
Deploy to K8s / deploy (push) Failing after 2s
Build and Push Docker / build (push) Has been cancelled
- 修正 docker.yml 中 dockerfile 参数为 file 以匹配 action 版本要求
- 优化 Dockerfile,调整项目文件拷贝路径及恢复依赖步骤
- 统一工作目录路径,确保构建命令正确执行
- 删除多余的复制和恢复步骤,简化构建流程
2026-03-01 13:42:03 +08:00
movingsam
00e5bbad0e fix: 修复 docker.yml 重复的 dockerfile 键
Some checks failed
Build / build (push) Failing after 31s
Deploy to K8s / deploy (push) Failing after 3s
Build and Push Docker / build (push) Failing after 19s
2026-02-28 22:13:45 +08:00
movingsam
f109def90e fix: 修复 docker.yml context 为根目录
Some checks failed
Build / build (push) Failing after 33s
Deploy to K8s / deploy (push) Failing after 3s
2026-02-28 22:12:09 +08:00
movingsam
03a8c955ce fix: 修复 docker.yml YAML 语法错误 (重复 dockerfile 键)
Some checks failed
Build / build (push) Failing after 34s
Deploy to K8s / deploy (push) Failing after 4s
Build and Push Docker / build (push) Failing after 49s
2026-02-28 22:06:36 +08:00
movingsam
69b82966b5 fix: 修复 CI/CD Docker 构建 context 和 Dockerfile 路径
Some checks failed
Build / build (push) Failing after 31s
Deploy to K8s / deploy (push) Failing after 3s
- context 改为 ./src
- dockerfile 改为相对于 context 的路径
2026-02-28 21:55:15 +08:00
movingsam
feb1a733cd fix: 修复 CI/CD Dockerfile 路径
Some checks failed
Build / build (push) Failing after 34s
Deploy to K8s / deploy (push) Failing after 2s
Build and Push Docker / build (push) Failing after 16s
- 修改 dockerfile 路径为 ./src/Dockerfile
2026-02-28 21:52:11 +08:00
movingsam
7bf4c41e41 fix: 修复 CI/CD workflow 文件 YAML 语法错误
Some checks failed
Build / build (push) Failing after 1m19s
Deploy to K8s / deploy (push) Failing after 3s
Build and Push Docker / build (push) Failing after 19s
- 移除错误的语法前缀 #XX|#
- 确保 workflow 文件可被 GitHub Actions 正确解析
2026-02-28 18:07:20 +08:00
movingsam
c50615d8d1 refactor: 将项目文件迁移到 src 目录并创建 slnx 解决方案
- 将 Controllers, Services, Models, Properties 等目录移至 src/ 下
- 创建 Fengling.Console.slnx Rider 解决方案文件
- 更新 csproj 中的项目引用路径
- 修复 CI/CD 配置:
  - build.yml: 更新项目路径为 src/Fengling.Console.csproj
  - docker.yml: 添加 Dockerfile 路径指向 src/Dockerfile
  - Dockerfile: 修复 COPY 路径以匹配新的目录结构

Closes #重构项目结构
2026-02-28 18:04:16 +08:00
movingsam
ca491924ae feat: 添加 CPM 中央包管理和 CI/CD 配置
- 添加 global.json 统一 .NET SDK 版本 (10.0.103)
- 添加 Directory.Build.props 和 Directory.Packages.props 中央包管理
- 添加 NuGet.Config 包源映射 (gitea + nuget.org)
- 添加 CI 工作流: build.yml (编译), docker.yml (构建镜像), deploy.yml (K8s 部署)
- 添加 k8s/ 目录: deployment.yaml, service.yaml
- 修复项目引用路径
- 升级 Swashbuckle 7.1.0 + Microsoft.OpenApi 1.6.28 解决 .NET 10 兼容性
2026-02-28 14:05:38 +08:00
e945de5872 Update secret name to GITEATOKEN
Some checks failed
Build and Push Docker / build (push) Failing after 6m30s
2026-02-26 13:05:37 +08:00
573f135367 Update Docker CI for org
Some checks failed
Build and Push Docker / build (push) Failing after 30s
2026-02-26 13:00:18 +08:00
8495a8ad9e Add Docker CI workflow
Some checks failed
Build and Push Docker / build (push) Failing after 31s
2026-02-26 10:58:40 +08:00