Skip to content

Add executorName to GraphQL API

Miguel Rincon requested to merge 352885-enable-executor-name into master

What does this MR do and why?

This change adds the executorName field to the runner definition for more details on the runner.

Changelog: added

Related to #352885 (closed)

Screenshots or screen recordings

Screen_Shot_2022-04-22_at_10.56.34

How to set up and validate locally

In the graphql-explorer e.g. http://gdk.test:3000/-/graphql-explorer

query getRunner($id: CiRunnerID!) {
  runner(id: $id) {
    id
    runnerType
    executorName
  }
}

Given an ID such as:

{
  "id": "gid://gitlab/Ci::Runner/79"
}

Check the executorName result is there.

MR acceptance checklist

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

Merge request reports

Loading