Add get all pipelineTriggers graphql support
What does this MR do and why?
For #346054 (closed)
This MR adds a get all pipelineTriggers graphql endpoint.
Screenshots or screen recordings
Get all pipelineTriggers
How to set up and validate locally
- Run gdk/gitpod server
- Login and navigate to Settings > CI/CD > Pipeline Triggers > Expand, then create at least one trigger
- Visit
http://127.0.0.1:3000/-/graphql-explorer
and query for all pipelineTriggers:
query {
project(fullPath: "gitlab-org/gitlab-test") {
pipelineTriggers {
edges {
node {
token
id
canAccessProject
description
hasTokenExposed
owner {
id
}
}
}
}
}
}
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 Missy Davies