gitlab多项目cicd构建方案

解决: 多应用构建场景、依赖服务构建场景

基于docker run -it --rm -p 4000:4000 registry.gitlab.com/gitlab-org/gitlab-docs:13.11

Moved to GitLab Free in 12.8.

http://0.0.0.0:4000/13.11/ee/ci/multi_project_pipelines.html

官方文档

好文

示例

stages:
  - trigger_stage
build_batch_1:
  stage: trigger_stage
  when: manual
  trigger:
    project: api/xxx-api
    branch: test
    strategy: depend
build_batch_2:
  stage: trigger_stage
  when: manual
  trigger:
    project: fe/xxx-fe
    branch: test
    strategy: depend