monitoring: find SECRETS_ROOT for e2e bank admin password
This commit is contained in:
parent
329222f99d
commit
bf8a915a01
3 changed files with 99 additions and 9 deletions
|
|
@ -22,6 +22,28 @@ Catalog: **[TESTS.md](./TESTS.md)**.
|
|||
|
||||
End of each phase: totals + list of **BLOCKERS** and **ERRORS** (ids included).
|
||||
|
||||
## Secrets (local GOA e2e)
|
||||
|
||||
`check_e2e.sh` loads bank/merchant passwords from **koopa-admin-secrets**
|
||||
(not this repo). Search order:
|
||||
|
||||
1. `SECRETS_ROOT` → `…/taler-bank/bank-admin-password.txt`
|
||||
2. `KOOPA_ADMIN_SECRETS` → `$KOOPA_ADMIN_SECRETS/koopa/host-root/…`
|
||||
3. Sibling of this checkout: `../koopa-admin-secrets/koopa/host-root`
|
||||
4. `$HOME/taler/src/koopa-admin-secrets/koopa/host-root` (common laptop layout)
|
||||
5. `$HOME/.config/taler-landing/bank-admin-password.txt`
|
||||
6. SSH koopa: `/root/bank-admin-password.txt` or podman bank container
|
||||
|
||||
If you keep admin-log at `~/koopa-admin-log` but secrets under `~/taler/src/…`:
|
||||
|
||||
```bash
|
||||
export SECRETS_ROOT="$HOME/taler/src/koopa-admin-secrets/koopa/host-root"
|
||||
# or: export KOOPA_ADMIN_SECRETS="$HOME/taler/src/koopa-admin-secrets"
|
||||
./taler-monitoring.sh e2e
|
||||
```
|
||||
|
||||
Or one-shot: `E2E_BANK_ADMIN_PASS=… E2E_MERCHANT_TOKEN=… ./taler-monitoring.sh e2e`
|
||||
|
||||
## Commands
|
||||
|
||||
```bash
|
||||
|
|
@ -32,6 +54,7 @@ End of each phase: totals + list of **BLOCKERS** and **ERRORS** (ids included).
|
|||
./taler-monitoring.sh sanity
|
||||
./taler-monitoring.sh e2e
|
||||
|
||||
|
||||
# Other domains — public HTTPS only, never SSH
|
||||
./taler-monitoring.sh -d taler.net
|
||||
./taler-monitoring.sh --domain taler-ops.ch
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue