Deploying a custom CI runner for Salsa

Prepare a dedicated host for a group on Salsa

Get a token from https://salsa.debian.org/groups/<YOURTEAM>/-/settings/ci_cd

The runner name could have your WikiName in its name e.g. ?JohnDoe-myproject-1

# apt install --no-install-recommends gitlab-runner

# gitlab-runner register
...                                                   
Please enter the gitlab-ci coordinator URL (e.g. https://gitlab.com/):
https://salsa.debian.org/
Please enter the gitlab-ci token for this runner:
<TOKEN>
Please enter the gitlab-ci description for this runner:
[ip-172-30-0-153]: <RUNNER NAME>
Please enter the gitlab-ci tags for this runner (comma separated):
mobian,arm64
Registering runner... succeeded                     runner=FDMTsidW
Please enter the executor: kubernetes, custom, docker, ssh, docker-ssh+machine, docker+machine, docker-ssh, parallels, shell, virtualbox:
custom 

---

You'll see the runner show up on `https://salsa.debian.org/groups/<YOURTEAM>/-/settings/ci_cd` and some log messages on:

# journalctl -f

Go to https://salsa.debian.org/groups/<YOUR GROUP>/-/settings/ci_cd >> Runners >> Expand (button) >> Edit (pencil button) on the new worker >> Run untagged jobs

Running nspawn-based containers

See https://salsa.debian.org/federico/gitlab-runner-nspawn/ or using nspawn-runner