Skip to content

Filter Admin Runners by Group and Project

What does this MR do and why?

This MR aims to allow admins to search by runner group or project on the admin runners page. This MR includes only the relevant back-end changes. This works by exposing existing scopes to filter runners to GraphQl API.

Related: &7164 (closed)

How to set up and validate locally

Make sure you have at least one GitLab runner registered and running.

  1. Go to http://gdk.test:3000/-/graphql-explorer

  2. Use the following query:

    {
      runners(projectId: "gid://gitlab/Project/2") {
        nodes {
          id,
          projects {
            edges {
              node {
                id
              }
            }
          }
        }
      }
    }
  3. The query will return any runners with project 2/GitLab Test.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Martin Duffy

Merge request reports