Skip to content

Commit ffab203

Browse files
fix: uv cache dir (#1336)
UV is currently caching directly into the scratch root, rather than its own directory. This puts a subdir `.uv-cache` inside of the scratch root.
1 parent 7922683 commit ffab203

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
@@ -97,7 +97,7 @@ spec:
9797
cp -r /app/.venv/* /artefacts
9898
env:
9999
- name: UV_CACHE_DIR
100-
value: {{ (.Values.worker.scratch).root }}
100+
value: {{ (.Values.worker.scratch).root }}/.uv-cache
101101
volumeMounts:
102102
- name: init-config
103103
mountPath: "/config"
@@ -200,7 +200,7 @@ spec:
200200
name: {{ include "blueapi.fullname" . }}-otel-config
201201
env:
202202
- name: UV_CACHE_DIR
203-
value: {{ (.Values.worker.scratch).root }}
203+
value: {{ (.Values.worker.scratch).root }}/.uv-cache
204204
{{- if .Values.extraEnvVars }}
205205
{{- toYaml .Values.extraEnvVars | nindent 12 }}
206206
{{- end }}

0 commit comments

Comments
 (0)