Promote v0.11.4 to production

This commit is contained in:
GPU Kitchen delivery
2026-11-15 02:55:00 +00:00
parent a08dc811b0
commit f2bab8943f
3 changed files with 20 additions and 16 deletions
+4 -1
View File
@@ -363,10 +363,13 @@ count() {
printf '%s' "$value"
}
# One cache per user: the root unit and the deploy user never share files.
# One cache per user: the root unit and the deploy user never share files. On the hub the
# parent belongs to the deployment directory's owner whoever runs first: left to the root unit,
# it would stop the deploy user's copy, and with it every deployment's host check (OPS-11).
CACHE_DIR="$CACHE_ROOT/$(id -u)"
mkdir -p "$CACHE_DIR"
chmod 0700 "$CACHE_DIR"
if [ "$SCOPE" = hub ] && [ "$(id -u)" = 0 ]; then chown "$(stat -c %u:%g .)" "$CACHE_ROOT"; fi
# restic [docker args…] -- [restic args…]; runs as the calling user.
restic() {