From b73de96aa656de9cd131f9a82b8cf971a11b0918 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 9 Jun 2021 16:03:51 +0200 Subject: [PATCH] lifecycle: fix permissions for unittest xml Signed-off-by: Jens Langhammer --- lifecycle/bootstrap.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lifecycle/bootstrap.sh b/lifecycle/bootstrap.sh index 23a9e4c97..8ba483b88 100755 --- a/lifecycle/bootstrap.sh +++ b/lifecycle/bootstrap.sh @@ -36,6 +36,8 @@ elif [[ "$1" == "bash" ]]; then /bin/bash elif [[ "$1" == "test" ]]; then pip install --no-cache -r requirements-dev.txt + touch /unittest.xml + chown authentik:authentik /unittest.xml check_if_root "python -m manage test authentik" else python -m manage "$@"