change uv cache dir

This commit is contained in:
Benjamin Labrecque
2026-07-31 10:10:03 +02:00
parent 897283a801
commit c9edd59e23
2 changed files with 11 additions and 1 deletions
+4 -1
View File
@@ -23,9 +23,12 @@ concurrency:
env:
# commit tagged ? yes->prod : no->dev
AGEBD_ENV: ${{ github.ref_type == 'tag' && 'prod' || 'dev' }}
UV_CACHE_DIR: /home/svcusr-sls2hla/.cache/uv
UV_CACHE_DIR: /var/cache/uv
UV_LINK_MODE: hardlink
# TODO: put this somewhere
# uv cache prune --max-bytes 12G
jobs:
deploy:
runs-on: hla-dev
+7
View File
@@ -109,6 +109,13 @@ SocketMode=0660
SocketGroup=podman
```
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)
```