authelia/.buildkite/steps/e2etests.sh

17 lines
426 B
Bash
Raw Normal View History

#!/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\""
if [[ "${SUITE_NAME}" != "Kubernetes" ]];
then
echo " agents:"
echo " "suite: all""
else
echo " agents:"
echo " "suite: kubernetes""
fi
done