Skip to content

Add runner_manager to job entity

  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA

What does this MR do and why?

This PR replaces the Runner entity in Job entity with RunnerManager.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

image

How to set up and validate locally

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

  1. Run a job in some project

  2. Find the ID of the project. Let's assume it is 23.

  3. Run the following command:

    curl --url 'http://gdk.test:3000/api/v4/projects/23/jobs' --header "Authorization: Bearer $GITLAB_GDK_TOKEN" | jq '.[0]'

It should return the details for the runner manager, or null if none is associated with the job.

closes #415444 (closed)

Edited by Pedro Pombeiro

Merge request reports