Skip to content

Commit de9b447

Browse files
authored
fix: uv-cache dir misplaced (#1500)
Moving the .uv-cache folder from scratch to /app. This has the benefit of speeding up the population of the cache and removing an error regading not being able to create hard links fixes #1455
1 parent 53ff8ce commit de9b447

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

helm/blueapi/templates/statefulset.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ spec:
101101
cp -r /app/.venv/* /artefacts
102102
env:
103103
- name: UV_CACHE_DIR
104-
value: {{ (.Values.worker.scratch).root }}/.uv-cache
104+
value: /app/.uv-cache
105105
volumeMounts:
106106
- name: init-config
107107
mountPath: "/config"
@@ -205,7 +205,7 @@ spec:
205205
name: {{ include "blueapi.fullname" . }}-otel-config
206206
env:
207207
- name: UV_CACHE_DIR
208-
value: {{ (.Values.worker.scratch).root }}/.uv-cache
208+
value: /app/.uv-cache
209209
{{- if .Values.debug.enabled }}
210210
- name: DEBUG_MODE
211211
value: "ON"

0 commit comments

Comments
 (0)