monitoring: default e2e (withdraw+pay) for stage lefrancpaysan
-d stage.lefrancpaysan.ch / TESTPAYSAN runs urls+e2e by default.
This commit is contained in:
parent
c09c83672d
commit
7c88abcbc7
3 changed files with 24 additions and 4 deletions
|
|
@ -81,8 +81,12 @@ Each check prints **global** and **grouped** ids:
|
||||||
./taler-monitoring.sh sanity
|
./taler-monitoring.sh sanity
|
||||||
./taler-monitoring.sh e2e
|
./taler-monitoring.sh e2e
|
||||||
|
|
||||||
|
# FrancPaysan STAGE (TESTPAYSAN) — default: urls + e2e (withdraw + pay templates)
|
||||||
|
./taler-monitoring.sh -d stage.lefrancpaysan.ch
|
||||||
|
# Admin credit: E2E_BANK_ADMIN_PASS=… or SSH francpaysan-host secrets
|
||||||
|
# (bank-admin-password.txt under /mnt/data/stagepaysan/bank/secrets/)
|
||||||
|
|
||||||
# Other domains — public HTTPS only, never SSH
|
# Other domains — public HTTPS only, never SSH (pass e2e explicitly)
|
||||||
./taler-monitoring.sh -d taler.net
|
./taler-monitoring.sh -d taler.net
|
||||||
./taler-monitoring.sh --domain taler-ops.ch
|
./taler-monitoring.sh --domain taler-ops.ch
|
||||||
./taler-monitoring.sh -d my.taler-ops.ch urls
|
./taler-monitoring.sh -d my.taler-ops.ch urls
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,14 @@
|
||||||
# MERCHANT_TOKEN=
|
# MERCHANT_TOKEN=
|
||||||
# MERCHANT_INSTANCE_PASSWORD=
|
# MERCHANT_INSTANCE_PASSWORD=
|
||||||
|
|
||||||
|
# --- FrancPaysan STAGE (TESTPAYSAN) e2e ---
|
||||||
|
# Default phases for -d stage.lefrancpaysan.ch: urls + e2e
|
||||||
|
# Admin credit (required for ATM withdraw ladder on stage):
|
||||||
|
# E2E_BANK_ADMIN_PASS=… # or auto-load via SSH francpaysan-host
|
||||||
|
# FRANCPAYSAN_SSH=francpaysan-host
|
||||||
|
# FRANCPAYSAN_SECRETS=$HOME/francpaysan-secrets
|
||||||
|
# Public shop pays use E2E_USE_TEMPLATES=1 (default on TESTPAYSAN) — no merchant token.
|
||||||
|
|
||||||
# Optional overrides
|
# Optional overrides
|
||||||
# MERCHANT_INSTANCE=goa-demo-cp4zqk
|
# MERCHANT_INSTANCE=goa-demo-cp4zqk
|
||||||
# EXPECT_CURRENCY=GOA
|
# EXPECT_CURRENCY=GOA
|
||||||
|
|
|
||||||
|
|
@ -152,7 +152,7 @@ export TALER_DOMAIN BANK_PUBLIC EXCHANGE_PUBLIC MERCHANT_PUBLIC
|
||||||
export EXPECT_CURRENCY SKIP_SSH LOCAL_STACK TALER_DOMAIN_PROBE CHECK_LANDING
|
export EXPECT_CURRENCY SKIP_SSH LOCAL_STACK TALER_DOMAIN_PROBE CHECK_LANDING
|
||||||
export WITHDRAW_AMT PAY_AMT CREDIT_AMT MERCHANT_INSTANCE
|
export WITHDRAW_AMT PAY_AMT CREDIT_AMT MERCHANT_INSTANCE
|
||||||
export E2E_FAKE_INCOMING E2E_REMOTE E2E_VARIABLE E2E_ATM_MAX
|
export E2E_FAKE_INCOMING E2E_REMOTE E2E_VARIABLE E2E_ATM_MAX
|
||||||
export E2E_WITHDRAW_VALUES E2E_PAY_VALUES
|
export E2E_WITHDRAW_VALUES E2E_PAY_VALUES E2E_USE_TEMPLATES E2E_TEMPLATE_MAP
|
||||||
export PAIVANA_PUBLIC E2E_PAIVANA E2E_PAIVANA_TEMPLATE E2E_PAIVANA_AMOUNT E2E_PAIVANA_INSTANCE
|
export PAIVANA_PUBLIC E2E_PAIVANA E2E_PAIVANA_TEMPLATE E2E_PAIVANA_AMOUNT E2E_PAIVANA_INSTANCE
|
||||||
# Ladder: withdraw then pay — 0 + random mids + max-1 + max (see check_goa_ladder.sh).
|
# Ladder: withdraw then pay — 0 + random mids + max-1 + max (see check_goa_ladder.sh).
|
||||||
# Defaults so set -u export is safe when vars were never set by caller.
|
# Defaults so set -u export is safe when vars were never set by caller.
|
||||||
|
|
@ -181,11 +181,19 @@ export LADDER_PAY LADDER_WITHDRAW_SCALE LADDER_PAY_SETTLE_ROUNDS
|
||||||
export TALER_DOMAIN_APPLIED=1
|
export TALER_DOMAIN_APPLIED=1
|
||||||
|
|
||||||
# Default phases
|
# Default phases
|
||||||
|
# - local GOA (koopa): urls + SSH phases + e2e
|
||||||
|
# - FrancPaysan STAGE (TESTPAYSAN / stage.*lefrancpaysan*): urls + e2e
|
||||||
|
# (public withdraw + template pay — no SSH)
|
||||||
|
# - other remote: urls only (pass "e2e" explicitly)
|
||||||
if [ "${#PHASES[@]}" -eq 0 ]; then
|
if [ "${#PHASES[@]}" -eq 0 ]; then
|
||||||
if [ "${LOCAL_STACK}" = "1" ]; then
|
if [ "${LOCAL_STACK}" = "1" ]; then
|
||||||
PHASES=(urls inside versions e2e) # koopa: SSH ok
|
PHASES=(urls inside versions e2e)
|
||||||
|
elif [ "${EXPECT_CURRENCY:-}" = "TESTPAYSAN" ] \
|
||||||
|
|| [[ "${TALER_DOMAIN:-}" == stage.*lefrancpaysan* ]] \
|
||||||
|
|| [[ "${TALER_DOMAIN:-}" == *stage.lefrancpaysan* ]]; then
|
||||||
|
PHASES=(urls e2e)
|
||||||
else
|
else
|
||||||
PHASES=(urls) # remote default: public only; pass "e2e" to try
|
PHASES=(urls)
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue