Skip to content

PoC: Support Resource Group For Cross-Project pipelines

Shinya Maeda requested to merge poc-resource-group-bridge-job into master

What does this MR do?

This MR provides PoC for Support Resource Group for cross-project and parent-child pipelines

Example: Parent-Child Pipelines

# .gitlab-ci.yml (parent)

deploy-downstream:
  trigger:
    include: child.gitlab-ci.yml
    strategy: depend
  resource_group: iOS                # New
# child.gitlab-ci.yml (child)

deployment:
  script: sleep 5s

Bridge jobs (concurrent deployment pipelines) are correctly waiting for the current deployment pipeline has finished.

screenshot_229

screenshot_230

Example: Cross-Project Pipelines

# .gitlab-ci.yml (upstream project)

deploy-downstream:
  trigger:
    project: root/cross-project-resource-group-downstream
    strategy: depend
  resource_group: iOS
# .gitlab-ci.yml (downstream project)

deployment:
  script: sleep 5s

Bridge jobs (concurrent deployment pipelines) are correctly waiting for the current deployment pipeline has finished.

screenshot_232

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Shinya Maeda

Merge request reports