lifecycle: better pre release test (#12806)
* move pre-release docker test to script Signed-off-by: Jens Langhammer <jens@goauthentik.io> * set pipefail in ak Signed-off-by: Jens Langhammer <jens@goauthentik.io> * don't reinstall wheels since they don't exist anymore Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix image Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix config error on startup Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env -S bash -e
|
||||
#!/usr/bin/env -S bash
|
||||
set -e -o pipefail
|
||||
MODE_FILE="${TMPDIR}/authentik-mode"
|
||||
|
||||
function log {
|
||||
@ -87,7 +88,6 @@ elif [[ "$1" == "bash" ]]; then
|
||||
elif [[ "$1" == "test-all" ]]; then
|
||||
prepare_debug
|
||||
chmod 777 /root
|
||||
pip install --force-reinstall /wheels/*
|
||||
check_if_root "python -m manage test authentik"
|
||||
elif [[ "$1" == "healthcheck" ]]; then
|
||||
run_authentik healthcheck $(cat $MODE_FILE)
|
||||
|
||||
Reference in New Issue
Block a user