Skip to content

GraphQL: Add platform/architecture runner fields

Pedro Pombeiro requested to merge pedropombeiro/352885/1-add-graphql-fields into master

What does this MR do and why?

Describe in detail what your merge request does and why.

This MR exposes the platform and architecture fields on the RunnerType GraphQL type at the EE level.

Part of Add more details to runner read-only view (#352885 - closed)

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Ensure you have at least one runner registered on your GDK instance

  2. Visit http://gdk.test:3000/-/graphql-explorer

  3. Enter the following GraphQL query:

    {
      runners {
        count
        nodes {
          id
          description
          version
          architectureName
          platformName
        }
      }
    }
  4. The output should contain the new architectureName and platformName fields.

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 Pedro Pombeiro

Merge request reports

Loading