- origin → GitHub (源代码主仓库) - cicd → Gitea (CI/CD触发仓库) - 添加部署流程说明
This commit is contained in:
28
CONTEXT.md
28
CONTEXT.md
@@ -104,6 +104,34 @@
|
|||||||
- **端口**: 3306
|
- **端口**: 3306
|
||||||
- **数据库**: kaopeilian
|
- **数据库**: kaopeilian
|
||||||
|
|
||||||
|
### Git 仓库配置
|
||||||
|
|
||||||
|
| Remote | 地址 | 用途 |
|
||||||
|
|--------|------|------|
|
||||||
|
| `origin` | github.com/nongjun/ai-development-workspace | 源代码主仓库 |
|
||||||
|
| `cicd` | git.ai.ireborn.com.cn/admin/012-kaopeilian | CI/CD 触发仓库 |
|
||||||
|
|
||||||
|
**服务器路径**: `/root/aiedu`
|
||||||
|
|
||||||
|
**使用方式**:
|
||||||
|
```bash
|
||||||
|
# 常规开发(推送到 GitHub)
|
||||||
|
git push origin main
|
||||||
|
|
||||||
|
# 触发 CI/CD 部署
|
||||||
|
git push cicd main # 生产环境(6个租户)
|
||||||
|
git push cicd test # 测试环境(kpl.ireborn.com.cn)
|
||||||
|
```
|
||||||
|
|
||||||
|
### CI/CD 配置
|
||||||
|
|
||||||
|
| 分支 | 环境 | 域名 | 动作 |
|
||||||
|
|------|------|------|------|
|
||||||
|
| `test` | 测试环境 | https://kpl.ireborn.com.cn | 重建 dev 容器 |
|
||||||
|
| `main` | 生产环境 | 6个租户域名 | 前端编译 + 后端重建 |
|
||||||
|
|
||||||
|
**生产租户**: hua, yy, hl, xy, fw, ex
|
||||||
|
|
||||||
## 六、文件访问边界
|
## 六、文件访问边界
|
||||||
|
|
||||||
| 区域 | 读取 | 写入 |
|
| 区域 | 读取 | 写入 |
|
||||||
|
|||||||
Reference in New Issue
Block a user