change act cache and workdir
This commit is contained in:
@@ -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`)
|
||||
|
||||
Reference in New Issue
Block a user