change act cache and workdir

This commit is contained in:
Benjamin Labrecque
2026-07-31 10:22:26 +02:00
parent 8fabb907c0
commit 405b9b2038
+4 -8
View File
@@ -115,21 +115,17 @@ Created uv cache dir, for `UV_CACHE_DIR`:
sudo mkdir -m 777 /var/cache/uv
```
TODO: this may not be necessary anymore:
Change the location of the working directory (uv .venvs are built here, take up lots of space)
```
sudo su svcusr-sls2hla
mkdir -p /sls/bd/hla/.cache/act
```
and edit `/etc/act_runner/config.yaml`
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: "/tmp"
workdir_parent: "/var/lib/act_runner/work"
```
Configure the runner labels: (edit `/etc/act_runner/config.yaml`)