mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
e85fc6b1b2
Default parameters retry on exit_status=* and will retry a single step a maximum of 2 times (3 total with initial failure)
19 lines
479 B
Bash
Executable File
19 lines
479 B
Bash
Executable File
#!/bin/bash
|
|
set -eu
|
|
|
|
for SUITE_NAME in $(authelia-scripts suites list);
|
|
do
|
|
echo " - label: \":selenium: ${SUITE_NAME} Suite\""
|
|
echo " commands:"
|
|
echo " - \"authelia-scripts --log-level debug suites test ${SUITE_NAME} --headless\""
|
|
echo " retry:"
|
|
echo " "automatic: true""
|
|
if [[ "${SUITE_NAME}" != "Kubernetes" ]];
|
|
then
|
|
echo " agents:"
|
|
echo " "suite: all""
|
|
else
|
|
echo " agents:"
|
|
echo " "suite: kubernetes""
|
|
fi
|
|
done |