Conditionally trigger child pipelines based on labels
What does this MR do?
Conditionally run gemnasium child pipelines bas... (gitlab-org/gitlab#365313 - closed) added the ability to selectively run child pipelines, however, it requires modifying the MR title, and the danger-review
job will fail if a merge request has a title longer than 72 characters. An alternative is to use labels to control which child pipelines to run, which is what this MR does.
The following labels can now be used to conditionally trigger child pipelines:
What are the relevant issue numbers?
Update gemnasium to conditionally trigger child... (gitlab-org/gitlab#385399 - closed)
Testing
-
✅ When using trigger-gemnasium and trigger-gemnasium-python labels, only those child pipelines are triggered: -
✅ When not using any labels, all child pipelines are triggered:
Does this MR meet the acceptance criteria?
- [-] Changelog entry added
-
Documentation created/updated for GitLab EE, if necessary -
Documentation created/updated for this project, if necessary -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Job definition updated, if necessary -
Conforms to the code review guidelines -
Conforms to the Go guidelines -
Security reports checked/validated by reviewer
Edited by Adam Cohen