From 59ce5a900e13b2e6cc395be3fa6881d28cb37449 Mon Sep 17 00:00:00 2001 From: Benjamin Labrecque Date: Thu, 20 Aug 2026 09:08:16 +0200 Subject: [PATCH 1/2] docs: update prod setup --- docs/developer/cicd_runner.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/developer/cicd_runner.md b/docs/developer/cicd_runner.md index 1efa972..4b54099 100644 --- a/docs/developer/cicd_runner.md +++ b/docs/developer/cicd_runner.md @@ -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 --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 --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: -- 2.54.0 From 942a4fdc1e1422d2813917ce84887129d0e77063 Mon Sep 17 00:00:00 2001 From: Benjamin Labrecque Date: Thu, 27 Aug 2026 15:52:57 +0200 Subject: [PATCH 2/2] add todo for prod runner --- docs/developer/cicd_runner.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/developer/cicd_runner.md b/docs/developer/cicd_runner.md index 2823e8c..9f8a284 100644 --- a/docs/developer/cicd_runner.md +++ b/docs/developer/cicd_runner.md @@ -46,7 +46,8 @@ chmod 755 /sls/bd/hla ... ``` -Install Node -- required for actions like repo checkout + +Install Node -- required for actions like repo checkout (TODO: was not done on `prod` runner `sls-vserv-bd-hla01` yet --> no internet access) ``` mkdir ~/.local/bin -- 2.54.0