From 0da2ed7bd1cd7be76b6803a0c638036614a8f7b9 Mon Sep 17 00:00:00 2001 From: Malfurious Date: Mon, 30 Oct 2023 14:11:00 -0400 Subject: Merge data volumes I need something more complicated than just 1 new directory for logs, so let's go to the trouble now of merging the persistent volumes together and use subdirectories/files. The default location is now '/data'. To aid similar changes in the future, the locations of these persistent files are no longer hard-coded in the source, but defined by global shell variables. Additionally, a bug is fixed which impacted our ability to accurately clean old logs and calculate the next job number. Signed-off-by: Malfurious --- acid/acid-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'acid/acid-build') diff --git a/acid/acid-build b/acid/acid-build index fd5b69d..87c281e 100755 --- a/acid/acid-build +++ b/acid/acid-build @@ -23,7 +23,7 @@ # This file exits early on any failure (non-zero). On a successful run in # `--self` mode, this file does not exit (we are killed by `compose down`). -cd "/services/$1" +cd "$CYCHE_SERVICE_DIR/$1" # For , no absolute paths and no '../' if ! echo "$2" | grep -Evq '\.\.|^/'; then -- cgit v1.2.3