Skip to content

Implement GraphQL Mutation to modify runner details

What does this MR do?

This MR provides a mutation for administrators and users with sufficient privileges to modify the runner with our GraphQL API.

mutation runnerUpdate($input: RunnerUpdateInput!) {
  runnerUpdate(input: $input) {
    runner {
      description # New runner state
      id
      active
    }
    errors
  }
}
{
  "input": {
    "id": "gid://gitlab/Ci::Runner/2",
    "description": "docker-runner - updated"
  }
}

Screenshots (strongly suggested)

image

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Closes #328549 (closed)

Merge request reports