mirror of
https://github.com/sartography/spiff-arena.git
synced 2025-02-09 16:14:47 +00:00
keycloak output on import seems to have changed
This commit is contained in:
parent
cba4a19d3b
commit
aeded99114
@ -71,8 +71,9 @@ set +e
|
|||||||
import_output=$(docker exec keycloak /opt/keycloak/bin/kc.sh import --file /tmp/${realm_name}-realm.json 2>&1)
|
import_output=$(docker exec keycloak /opt/keycloak/bin/kc.sh import --file /tmp/${realm_name}-realm.json 2>&1)
|
||||||
setup_traps
|
setup_traps
|
||||||
set -e
|
set -e
|
||||||
if ! grep -qE "Import finished successfully" <<<"$import_output"; then
|
# if ! grep -qE "Import finished successfully" <<<"$import_output"; then
|
||||||
echo -e "FAILED: $import_output"
|
if ! grep -qE "Realm '${realm_name}' imported" <<<"$import_output"; then
|
||||||
|
echo -e "IMPORT FAILED: $import_output"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user