mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
6ccc92e47e
Co-authored-by: Victor Büttner <victor@0x23.dk> Co-authored-by: Clément Michaud <clement.michaud34@gmail.com>
22 lines
420 B
Bash
Executable File
22 lines
420 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} --headless"
|
|
retry:
|
|
automatic: true
|
|
EOF
|
|
if [[ "${SUITE_NAME}" != "Kubernetes" ]]; then
|
|
cat << EOF
|
|
agents:
|
|
suite: "all"
|
|
EOF
|
|
else
|
|
cat << EOF
|
|
agents:
|
|
suite: "kubernetes"
|
|
EOF
|
|
fi
|
|
done |