authelia/.buildkite/steps/e2etests.sh
vdot0x23 6ccc92e47e
do not hardcode /bin/bash (#1122)
Co-authored-by: Victor Büttner <victor@0x23.dk>
Co-authored-by: Clément Michaud <clement.michaud34@gmail.com>
2020-06-18 09:49:13 +02:00

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