Draft: Add snippet triggers to run pipelines
What does this MR do and why?
This MR closes #456465. It is intended to let individuals run arbitrary executions from a Snippet. Currently, this uses the Pipeline Trigger capability so a project needs to have at least one project trigger. You will need to use the No Git option for the project .gitlab-ci.yml
file and then update it to clone the snippet.
variables:
GIT_STRATEGY: none
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Add a project trigger token
- Create a new snippet in a project
- Add a
gitlab-ci.yml
to the project - Click the
Run snippet
button in the edit snippet view.