Allow tags as target of pipeline schedules
What does this MR do and why?
This MR makes it possible to use tags as the target of pipeline schedules. It is already documented and possible via the API, so this only makes the feature work on the frontend.
The ref selector is the RefSelector
component that’s already used across GitLab, for example when creating a new release.
Related to #23292 (closed)
Screenshots or screen recordings
Before | After |
---|---|
feature flag disabled
WithScreenshots |
---|
How to set up and validate locally
- Enable the feature flag (in
bin/rails c
)Feature.enable(:pipeline_schedules_with_tags)
- Go to a project
- Set up CI
- Create a tag
- Go to CI/CD > Schedules
- Click on New schedule
- Enter a description
- Select the created tag
- Save the schedule
- (after some time): see that a pipeline was created for the tag
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Kev