REST API: Deprecate active field in POST /runners
What does this MR do and why?
Describe in detail what your merge request does and why.
This MR deprecates the active
argument in the POST /api/v4/runners
REST API endpoint and adds a paused
argument to replace it. The Runner CLI will be adapted accordingly in %15.0 so that we don't break things when a new runner is talking to an older GitLab instance.
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.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Part of #347211 (closed)
Edited by Pedro Pombeiro