Add post-install scripts to all tests to capture failure details in GitHub workflow summary (#88)

This commit is contained in:
Marco Franssen
2023-04-26 07:17:29 -07:00
committed by GitHub
parent 9afb6f80ac
commit 91083a6b4e
15 changed files with 220 additions and 109 deletions
@@ -0,0 +1,17 @@
#!/usr/bin/env bash
set -x
SCRIPT=$(readlink -f "$0")
SCRIPTPATH="$(dirname "${SCRIPT}")"
scenario="${scenario:-$(basename "${SCRIPTPATH}")}"
# shellcheck source=/dev/null
source "${SCRIPTPATH}/../common.sh"
print_helm_releases
print_spire_workload_status "${scenario}"
if [ "$1" != '0' ]; then
get_namespace_details "${scenario}"
fi