-
Notifications
You must be signed in to change notification settings - Fork 254
chore: modify ci #18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: modify ci #18
Conversation
|
@MonkeyCode-AI review |
代码评审意见
|
|
⏳ MonkeyCode-AI 正在分析,请稍等片刻... |
MonkeyCode-AI
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request 概述
- 此PR主要对前后端的CI/CD流程进行了调整,包括触发条件、构建逻辑和Docker镜像处理方式。同时更新了前端Nginx配置以代理后端API请求。
Pull Request 变更详情
| 文件路径 | 变更类型 | 变更内容 |
|---|---|---|
| .github/workflows/backend-ci-cd.yml | 修改 | 限制触发路径,移除wire和swagger生成步骤,调整Docker构建逻辑 |
| .github/workflows/frontend-ci-cd.yml | 修改 | 添加基于tag的触发,引入版本控制逻辑,更新Docker注册表和镜像标记 |
| backend/build/Dockerfile.nginx | 删除 | 删除后端管理的Nginx配置文件 |
| ui/.Dockerfile | 修改 | 更新Nginx基础镜像版本,简化配置 |
| ui/nginx.conf | 修改 | 更新worker_processes配置,添加后端代理配置 |
MonkeyCode-AI
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request 概述
- 本次PR主要对CI/CD流程进行了重构,优化了构建触发条件和Docker镜像管理。
- 后端工作流增加了路径过滤触发器,简化了构建步骤。
- 前端工作流增加了基于标签的触发器和版本处理逻辑,添加了构件上传步骤。
- 移除了后端独立的Nginx配置,将代理配置整合到前端Nginx配置中。
Pull Request 变更详情
| 文件路径 | 变更类型 | 变更内容 |
|---|---|---|
| .github/workflows/backend-ci-cd.yml | 修改 | 优化了触发条件和构建步骤 |
| .github/workflows/frontend-ci-cd.yml | 修改 | 增加了版本处理和构件上传 |
| backend/build/Dockerfile.nginx | 删除 | 移除了独立的Nginx Dockerfile |
| backend/build/nginx.conf | 删除 | 移除了独立的Nginx配置文件 |
| ui/.Dockerfile | 修改 | 更新了基础镜像版本 |
| ui/nginx.conf | 修改 | 增加了后端代理配置 |
MonkeyCode-AI
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request 概述
此 PR 主要对后端和前端的 CI/CD 工作流进行了优化,包括调整触发条件、构建过程和产物处理。同时更新了 Nginx 配置文件以优化代理设置和镜像构建。
Pull Request 变更详情
| 文件路径 | 变更类型 | 变更内容 |
|---|---|---|
| .github/workflows/backend-ci-cd.yml | 修改 | 添加了路径过滤触发条件,移除了 wire/swagger 生成步骤,调整了 Docker 构建/推送逻辑 |
| .github/workflows/frontend-ci-cd.yml | 修改 | 添加了标签触发,引入了版本标记,增加了产物上传功能,更新了 Docker 构建过程 |
| backend/build/Dockerfile.nginx | 删除 | 删除了后端 Nginx Dockerfile |
| backend/build/nginx.conf | 删除 | 删除了后端 Nginx 配置文件 |
| ui/.Dockerfile | 修改 | 更新了基础镜像版本,简化了配置 |
| ui/nginx.conf | 修改 | 调整了 worker_processes,添加了后端代理配置 |
No description provided.