GitLab CI/CD runner with built in LXD executor
This snap is a GitLab runner configured to launch workloads in LXD containers.
This snap relies on an external LXD installation. To set that up, first run
snap install lxd
. Then, run lxd init
and configure the settings the way
you want! Finally, run lxd-gitlab-runner.print-lxd-preseed | lxd init --preseed
.
After configuring the external LXD installation, run sudo lxd-gitlab-runner.configure-lxc
To register the GitLab runner, run sudo lxd-gitlab-runner.register
and then
complete the interactive registeration. Make sure you use the default value for
the executor ("custom").
Known configuration values (advanced use only):
port - the localhost port for LXD to listen for tcp connections on (default: 8443)