2019-12-27 11:07:53 +00:00
|
|
|
#!/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\""
|
2019-12-28 13:28:01 +00:00
|
|
|
echo " retry:"
|
|
|
|
echo " "automatic: true""
|
2019-12-27 11:07:53 +00:00
|
|
|
if [[ "${SUITE_NAME}" != "Kubernetes" ]];
|
|
|
|
then
|
|
|
|
echo " agents:"
|
|
|
|
echo " "suite: all""
|
|
|
|
else
|
|
|
|
echo " agents:"
|
|
|
|
echo " "suite: kubernetes""
|
|
|
|
fi
|
|
|
|
done
|