Merge branch 'main' of gitea.psi.ch:sls/hla_framework_bd into feature/gui-startup-script

This commit is contained in:
Benjamin Labrecque
2026-08-03 12:45:31 +02:00
29 changed files with 328 additions and 163 deletions
+36
View File
@@ -22,6 +22,9 @@ cd ~/gitea-runner
/usr/local/bin/act_runner register --instance https://gitea.psi.ch/ --labels hla-dev --token <token> --no-interactive
```
Note, if you use a systemd service with a config file as in the example below,
the labels will be read from that file.
This generates a `.runner` file.
@@ -42,6 +45,7 @@ tar -xf node-v20.11.1-linux-x64.tar.xz --strip-components=2 -C ~/.local/bin/ nod
rm node-v20.11.1-linux-x64.tar.xz
```
## Manually run the runner
```shell
@@ -105,6 +109,38 @@ SocketMode=0660
SocketGroup=podman
```
Created uv cache dir, for `UV_CACHE_DIR`:
```
sudo mkdir -m 777 /var/cache/uv
```
Change the location of the act cache and working directory (uv .venvs are built here, take up lots of space)
```
sudo mkdir -m 777 /var/lib/act_runner/cache
sudo mkdir -m 777 /var/lib/act_runner/work
```
and edit `/etc/act_runner/config.yaml`
```
cache:
dir: "/var/lib/act_runner/cache"
host:
# The parent directory of a job's working directory.
# If it's empty, $HOME/.cache/act/ will be used.
workdir_parent: "/var/lib/act_runner/work"
```
Configure the runner labels: (edit `/etc/act_runner/config.yaml`)
```
runner:
labels:
- "hla-dev"
```
Enable and restart:
```