gitlab-runner

  • By Erik Lönroth
Channel Revision Published Runs on
latest/stable 9 06 Mar 2024
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
latest/beta 4 07 Jul 2021
Ubuntu 20.04
latest/edge 9 26 Feb 2024
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04
juju deploy gitlab-runner
Show information

Platform:

Ubuntu
22.04 20.04 18.04

The gitlab-runner charm:

  • Installs gitab-runner upstream repos as described here: https://docs.gitlab.com/runner/install/

  • Configures and registers a single docker or lxd runner using the configured gitlab-registration-token and gitlab-server.

  • Exposes prometheus metrics on port: 9252

The runner registers with its hostname (fqdn) in gitlab (default with gitlab-runner) and any supplied tags.

A default “juju” tag is added unless changed.

The runner removes itself and unregisters as part of a unit removal with ‘juju remove unit’.

Attribution

This charm was inspired and code was used from the “pirate-charmers” which implemented the lxd custom runner.