Skip to content

Implement support for runner token prefix

What does this MR do and why?

Describe in detail what your merge request does and why.

This MR adds support for the Ci::Runner model to have two types of authentication tokens: the usual one which will be created by Ci::Runners::RegisterRunnerService#execute, and a glrt- prefixed one which will be created by a future Ci::Runners::CreateRunnerService#execute.

Ci::Runners::RegisterRunnerService#execute is deprecated and will be removed in %17.0, so until then we need to be able to generate 2 types of tokens.

Closes #383198 (closed)

Screenshots or screen recordings

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

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.

Edited by Pedro Pombeiro

Merge request reports

Loading