Skip to content

Split CiRunnerTokenAuthor class

What does this MR do and why?

Describe in detail what your merge request does and why.

This MR is the first of 3 MRs:

  1. Split CiRunnerTokenAuthor class (!80621 - merged)
  2. Refactor runner registration audit classes (!80623 - merged)
  3. Log CI runner unregistration audit events (!79754 - merged)

It takes care of spliting the CiRunnerTokenAuthor class into 2 different classes:

  • CiRunnerRegistrationTokenAuthor representing a runner registration token;
  • CiRunnerAuthenticationTokenAuthor representing a runner authentication token.

Both classes inherit from CiRunnerTokenAuthor and add specific behavior to the respective type of token. This will be used in follow-up MRs.

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.

Edited by Pedro Pombeiro

Merge request reports

Loading