This repository has been archived on 2026-09-10. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
taler-monitoring/run-e2e-stage.sh

25 lines
852 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
echo "=== E2E Stage with Fake CHF ($(date -u +%Y-%m-%dT%H:%M:%SZ)) ==="
export E2E_REMOTE=1
export LOCAL_STACK=0
export EXPECT_CURRENCY=CHF
export E2E_TIMEOUT=180
export SKIP_SSH=1
export CONTINUE_ON_ERROR=1
export DEVTESTING_SSH=taler-rusty-devtesting
echo "ENV: E2E_REMOTE=$E2E_REMOTE CUR=$EXPECT_CURRENCY TIMEOUT=$E2E_TIMEOUT"
# Modular fake CHF preparation (reuses existing devtesting ladder)
source ./lib_e2e_fake.sh
fake_chf_for_e2e "CHF:8.00" 5 || { echo "Fake CHF failed"; exit 1; }
echo "Running full e2e on stage.my.taler-ops.ch..."
./check_e2e.sh 2>&1 | tee /tmp/e2e-stage-full.log
echo "=== FINAL VERIFICATION ==="
grep -E 'BLOCKER|ERROR|fake-chf-ready|e2e\.bank|KYC|409|fake-incoming' /tmp/e2e-stage-full.log || echo "No critical markers found"
echo "Exit code of e2e: $?"
echo "=== END RUN ==="