docs: update prod setup

This commit is contained in:
Benjamin Labrecque
2026-08-20 09:08:16 +02:00
parent e4f0a002fb
commit 59ce5a900e
+11 -2
View File
@@ -7,6 +7,12 @@
- `sls-vserv-bd-hla01(-dev)`
- Runs everything else
## Install the runner
```
sudo dnf install act-runner
```
## Setup
Resources:
@@ -19,9 +25,12 @@ Register the runner: (by default the name is the machine name `sls-vserv-bd-hla0
sudo su svcusr-sls2hla
mkdir ~/gitea-runner
cd ~/gitea-runner
/usr/local/bin/act_runner register --instance https://gitea.psi.ch/ --labels hla-dev --token <token> --no-interactive
/usr/local/bin/act_runner generate-config | sudo tee /etc/act_runner/config.yaml > /dev/null
/usr/local/bin/act_runner --config /etc/act_runner/config.yaml register --instance https://gitea.psi.ch/ --labels <labels> --token <token> --no-interactive
```
where we used `hla-dev` or `hla-prod` for the labels.
Note, if you use a systemd service with a config file as in the example below,
the labels will be read from that file.
@@ -138,7 +147,7 @@ Configure the runner labels: (edit `/etc/act_runner/config.yaml`)
```
runner:
labels:
- "hla-dev"
- "hla-dev" # or "hla-prod"
```
Enable and restart: