mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
9861467831
This change utilises a specific integration container for the ActiveDirectory suite and simplifies the DuoPush suite.
44 lines
854 B
Bash
Executable File
44 lines
854 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eu
|
|
|
|
for SUITE_NAME in $(authelia-scripts suites list); do
|
|
cat << EOF
|
|
- label: ":selenium: ${SUITE_NAME} Suite"
|
|
command: "authelia-scripts --log-level debug suites test ${SUITE_NAME} --failfast --headless"
|
|
retry:
|
|
automatic: true
|
|
manual:
|
|
permit_on_passed: true
|
|
EOF
|
|
if [[ "${SUITE_NAME}" = "ActiveDirectory" ]]; then
|
|
cat << EOF
|
|
agents:
|
|
suite: "activedirectory"
|
|
EOF
|
|
elif [[ "${SUITE_NAME}" = "HighAvailability" ]]; then
|
|
cat << EOF
|
|
agents:
|
|
suite: "highavailability"
|
|
EOF
|
|
elif [[ "${SUITE_NAME}" = "Kubernetes" ]]; then
|
|
cat << EOF
|
|
agents:
|
|
suite: "kubernetes"
|
|
EOF
|
|
elif [[ "${SUITE_NAME}" = "Standalone" ]]; then
|
|
cat << EOF
|
|
agents:
|
|
suite: "standalone"
|
|
EOF
|
|
else
|
|
cat << EOF
|
|
agents:
|
|
suite: "all"
|
|
EOF
|
|
fi
|
|
cat << EOF
|
|
env:
|
|
SUITE: "${SUITE_NAME}"
|
|
EOF
|
|
done
|