Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter specific pipelines for metric CI-pipeline duration #10426

Open
Sebastiaan127001 opened this issue Dec 2, 2024 · 3 comments
Open

Filter specific pipelines for metric CI-pipeline duration #10426

Sebastiaan127001 opened this issue Dec 2, 2024 · 3 comments
Assignees

Comments

@Sebastiaan127001
Copy link
Contributor

Sebastiaan127001 commented Dec 2, 2024

Is your feature request related to a problem? Please describe.
When using the metric CI-pipeline duration with GitLab as source, and configuring scheduled pipeline runs, GitLab may return multiple pipelines and it is not possible to further select a specific pipeline.

Describe the solution you'd like
A possibility to filter (scheduled) pipelines by description.
Also include the matched pipelines in the measurement entities.

Additional context
Unfortunately, the pipelines endpoints do not include the schedule id in the responses. So, to know which pipeline was triggered by which schedule, we need to retrieve the schedules via the schedules endpoint and then get the pipelines scheduled by the schedule via the pipelines triggered by a pipeline schedule endpoint.

The scheduled pipelines response includes the pipeline schedule description, so users can use that to filter schedules. No need to use the schedule id.

@Sebastiaan127001
Copy link
Contributor Author

Sebastiaan127001 commented Dec 2, 2024

this is for project C

@fniessink fniessink moved this from Inbox to To be refined in Quality-time backlog Dec 11, 2024
@fniessink fniessink changed the title filter specific scheduled pipelines for metric CI-pipeline duration Filter specific scheduled pipelines for metric CI-pipeline duration Dec 11, 2024
@fniessink fniessink changed the title Filter specific scheduled pipelines for metric CI-pipeline duration Filter specific pipelines for metric CI-pipeline duration Dec 11, 2024
@fniessink fniessink moved this from To be refined to Refinement in progress in Quality-time backlog Dec 11, 2024
@fniessink fniessink moved this from Refinement in progress to Ready in Quality-time backlog Dec 12, 2024
@fniessink fniessink removed the Feature label Jan 28, 2025
@fniessink fniessink moved this from Ready to Development in progress in Quality-time backlog Jan 29, 2025
@fniessink fniessink self-assigned this Jan 29, 2025
@fniessink
Copy link
Member

It's already possible to filter pipelines by trigger. One of the triggers is schedule. Can't you achieve the desired effect by setting the value of the "Pipeline triggers to include" parameter to all triggers except schedule?

@fniessink fniessink moved this from Development in progress to More information requested in Quality-time backlog Jan 29, 2025
@Sebastiaan127001
Copy link
Contributor Author

But it only the scheduled pipelines I'm interested in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: More information requested
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants