2020-06-18 07:49:13 +00:00
|
|
|
#!/usr/bin/env bash
|
2019-12-27 11:07:53 +00:00
|
|
|
set -eu
|
|
|
|
|
2020-03-09 01:32:07 +00:00
|
|
|
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
|
2019-12-27 11:07:53 +00:00
|
|
|
done
|