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