lifecycle: fix permissions for unittest xml
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
a7adeb917e
commit
b73de96aa6
|
@ -36,6 +36,8 @@ elif [[ "$1" == "bash" ]]; then
|
||||||
/bin/bash
|
/bin/bash
|
||||||
elif [[ "$1" == "test" ]]; then
|
elif [[ "$1" == "test" ]]; then
|
||||||
pip install --no-cache -r requirements-dev.txt
|
pip install --no-cache -r requirements-dev.txt
|
||||||
|
touch /unittest.xml
|
||||||
|
chown authentik:authentik /unittest.xml
|
||||||
check_if_root "python -m manage test authentik"
|
check_if_root "python -m manage test authentik"
|
||||||
else
|
else
|
||||||
python -m manage "$@"
|
python -m manage "$@"
|
||||||
|
|
Reference in a new issue