Skip to content

Register runner with renamed paused argument

What does this MR do?

This MR renamed the active field in the runner registration request to paused, to follow the change that was done on the GitLab side (gitlab#347211 (closed)).

Why was this MR needed?

To ensure that the Runner can register with newer versions of GitLab. The old active field will be removed in %16.0.

What's the best way to test this MR?

Register a runner with a recent version of GitLab (> %14.8). It should still be successful since GitLab versions between %14.8 and %16.0 accept both paused and active as synonyms.

I'm not yet sure what is the correct process to introduce this change on the Runner side, so I left a question in the issue.

What are the relevant issue numbers?

Closes #28844 (closed)

Edited by Pedro Pombeiro

Merge request reports