Skip to content

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

Snippet_Runner

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Add a project trigger token
  2. Create a new snippet in a project
  3. Add a gitlab-ci.yml to the project
  4. Click the Run snippet button in the edit snippet view.

Merge request reports