Skip to content

Add --paused option to register command

Tomasz Maczukin requested to merge add-pause-option-to-register-command into master

What does this MR do?

Adds a --paused parameter to gitlab-runner registar command.

Why was this MR needed?

It allows to set the state of active setting of the Runner in GitLab. Currently we support --locked and --run-untagged, but not --paused.

It will also help in scenarios like the one discussed at gitlab-ce#45776.

Are there points in the code the reviewer needs to double check?

Does this MR meet the acceptance criteria?

  • Documentation created/updated
  • Tests
    • Added for this feature/bug
    • All builds are passing
  • Branch has no merge conflicts with master (if you do - rebase it please)

What are the relevant issue numbers?

Closes #2045 (closed)

Edited by Kamil Trzciński | At GitLab Summit

Merge request reports