75f3dd141c
CodeQL / Analyze (go) (push) Has been cancelled
CodeQL / Analyze (actions) (push) Has been cancelled
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled
CI and Release / lint-frontend (push) Has been cancelled
CI and Release / dockerfile-scan (push) Has been cancelled
CI and Release / test-frontend (push) Has been cancelled
CI and Release / lint-verification-agent (push) Has been cancelled
CI and Release / test-verification-agent (push) Has been cancelled
CI and Release / e2e-verification-agent (push) Has been cancelled
CI and Release / test-backend (push) Has been cancelled
CI and Release / build-dev-image (push) Has been cancelled
CI and Release / push-dev-image (push) Has been cancelled
CI and Release / build-image (push) Has been cancelled
CI and Release / build-verification-image (push) Has been cancelled
CI and Release / determine-version (push) Has been cancelled
CI and Release / push-image (push) Has been cancelled
CI and Release / push-verification-image (12) (push) Has been cancelled
CI and Release / lint-backend (push) Has been cancelled
CI and Release / push-verification-image (17) (push) Has been cancelled
CI and Release / push-verification-image (18) (push) Has been cancelled
CI and Release / release (push) Has been cancelled
CI and Release / publish-helm-chart (push) Has been cancelled
CI and Release / push-verification-image (13) (push) Has been cancelled
CI and Release / push-verification-image (14) (push) Has been cancelled
CI and Release / push-verification-image (15) (push) Has been cancelled
CI and Release / push-verification-image (16) (push) Has been cancelled
52 lines
1022 B
Bash
52 lines
1022 B
Bash
#!/bin/bash
|
|
set -uo pipefail
|
|
|
|
SCRIPT_DIR="$(dirname "$0")"
|
|
|
|
TESTS=(
|
|
"test-heartbeat-and-upgrade.sh"
|
|
"test-start-stop-status.sh"
|
|
"test-startup-purge.sh"
|
|
"test-restore-broken.sh"
|
|
"test-restore-disk-budget.sh"
|
|
"test-restore-timescale.sh"
|
|
)
|
|
|
|
PG_VERSIONS=(12 13 14 15 16 17 18)
|
|
|
|
echo "========================================"
|
|
echo " Verification agent e2e"
|
|
echo "========================================"
|
|
|
|
PASSED=0
|
|
FAILED=0
|
|
|
|
for test in "${TESTS[@]}"; do
|
|
echo ""
|
|
echo "---- $test ----"
|
|
if bash "$SCRIPT_DIR/$test"; then
|
|
PASSED=$((PASSED + 1))
|
|
else
|
|
FAILED=$((FAILED + 1))
|
|
fi
|
|
done
|
|
|
|
for V in "${PG_VERSIONS[@]}"; do
|
|
echo ""
|
|
echo "---- test-restore-success.sh $V ----"
|
|
if bash "$SCRIPT_DIR/test-restore-success.sh" "$V"; then
|
|
PASSED=$((PASSED + 1))
|
|
else
|
|
FAILED=$((FAILED + 1))
|
|
fi
|
|
done
|
|
|
|
echo ""
|
|
echo "========================================"
|
|
echo " Results: $PASSED passed, $FAILED failed"
|
|
echo "========================================"
|
|
|
|
if [ "$FAILED" -ne 0 ]; then
|
|
exit 1
|
|
fi
|