fix(deploy): prepare server auth projection root

This commit is contained in:
2026-08-26 00:12:25 +02:00
parent 944b0edf7a
commit e51a6a2253
2 changed files with 17 additions and 6 deletions
+8 -2
View File
@@ -83,15 +83,21 @@ else
original_task13_run_logged="$(declare -f task13_run_logged)"
ownership_calls="$fixture/server-auth-ownership.calls"
task13_run_logged() {
printf '%s\n' "$*" >"$ownership_calls"
printf '%s\n' "$*" >>"$ownership_calls"
}
task13_prepare_server_auth_canonical_root
task13_prepare_server_auth_roots
grep -Fxq -- \
"prepare server authentication canonical root sudo -n -- install -d -o 0 -g 0 -m 0700 -- $TASK13_AUTH_ROOT" \
"$ownership_calls" || {
echo "server auth fixture does not prepare a root-owned private canonical directory" >&2
exit 1
}
grep -Fxq -- \
"prepare server authentication runtime root sudo -n -- install -d -o 10001 -g 10001 -m 0700 -- $TASK13_AUTH_RUNTIME_ROOT" \
"$ownership_calls" || {
echo "server auth fixture does not prepare the private runtime projection directory" >&2
exit 1
}
unset -f task13_run_logged
eval "$original_task13_run_logged"
compose_files=(