Skip to content

Implement runner registration from gitlab web interface

Description

At the moment registering a new runner in GitLab requires an interactive procedure and a registration token, with such token we can ask gitlab APIs to generate a runner token which identifies the actual runner.

This will be a pain if someone wants to run gitlab-runner as a cattle, something quite useful in a ~"Cloud Native" setup.

Proposal

  • we should be able to pre-provision runners from gitlab web interface
  • each runner token should be freely shared among runners that have a common set of restrictions: tags, shared, locked and so on
  • we should be able to identify concurrently running instances of gitlab-runner sharing the same token

Links / references

Pets vs Cattle: https://devops.stackexchange.com/a/654

/cc: @ayufan