forgeboot/.gitlab-ci.yml
gewuyou 3bfcf98e21 ci: 添加 GitLab CI/CD 配置并实现自动化流程- 新增 .gitlab-ci.main.yml、.gitlab-ci.other.yml 和 .gitlab-ci.test.yml 文件
- 实现了 build、tag、publish、reset 和 mirror等阶段的自动化流程
- 添加了 check 和 test 分支的构建和发布配置
- 更新了 build.gradle.kts 和 settings.gradle.kts 文件,调整了项目配置
- 新增 MdcContextElement 和 CoroutineMdcWebFilter 类,用于协程中的 MDC 上下文传播
2025-07-16 12:16:32 +08:00

10 lines
355 B
YAML

include:
- local: '/.gitlab/workflows/.gitlab-ci.test.yml'
rules:
- if: '$CI_COMMIT_BRANCH == "test"'
- local: '/.gitlab/workflows/.gitlab-ci.main.yml'
rules:
- if: '$CI_COMMIT_BRANCH == "main"'
- local: '/.gitlab/workflows/.gitlab-ci.other.yml'
rules:
- if: '$CI_COMMIT_BRANCH != "main" && $CI_COMMIT_BRANCH != "test"'