Fix cache storage landing in ephemeral /tmp

Upstream joins STORAGE_PATH onto os.tmpdir() unless
STORAGE_PATH_USE_TMP_FOLDER=false, even for absolute paths, so the
container wrote artifacts to /tmp/app/cache instead of the bind mount
and lost them on every restart. Set the flag in both config.env
(native service) and the quadlet, and chown the host cache dir to the
container user via the :U volume option.
This commit is contained in:
2026-08-02 16:16:14 +02:00
parent cecbed79ea
commit 37962b2ba8
3 changed files with 21 additions and 3 deletions
+9 -1
View File
@@ -10,7 +10,7 @@
Name: turborepo-remote-cache
Version: 2.11.5
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Self-hosted Turborepo remote cache server
License: MIT
Group: Development/Tools
@@ -157,6 +157,14 @@ install -p -D -m 644 %{SOURCE12} \
%{_datadir}/containers/systemd/%{name}.container
%changelog
* Sun Aug 02 2026 Zoran Pericic <zpericic@netst.org> - 2.11.5-2
- Set STORAGE_PATH_USE_TMP_FOLDER=false in config.env and quadlet:
upstream joins STORAGE_PATH onto os.tmpdir() by default (even for
absolute paths), so artifacts were written to ephemeral /tmp instead
of /var/cache/turborepo-remote-cache and lost on restart
- Add :U to the quadlet volume so the host cache dir is chowned to the
container's app user
* Sun Aug 02 2026 Zoran Pericic <zpericic@netst.org> - 2.11.5-1
- Update to 2.11.5
- Adds local cache cleanup endpoint (2.9.0) and read-only mode (2.10.0)