release 1.7.6: monpages obligatory ERROR with stack inventory

GOA monpages checks the full suite catalog (bank/exchange/taler
/monitoring/ plus surface/aptdeploy/mattermost/mail) and on-disk
discovery; FP only its own mon hosts. Default MONPAGES_REQUIRE_PUBLIC=1.
Also fix with_timeout re-running failed phases via || fallback.
This commit is contained in:
Hernâni Marques 2026-07-19 02:05:00 +02:00
parent bbb96a92ef
commit 812b7758f0
No known key found for this signature in database
11 changed files with 188 additions and 49 deletions

View file

@ -31,7 +31,7 @@ The **public HTML reports** are not an external addon — they are a first-class
Related:
- **Phase `monpages`:** outside-in check that those FQDNs serve suite HTML (sticky-bar), not merchant JSON code 21.
- **Phase `monpages`:** obligatory outside-in check that public mon HTML is live (sticky-bar), not merchant JSON code 21 — GOA full inventory, FP only FP hosts.
- **Sticky “What this monitors”:** each page lists its checks **and** a dedicated block *Monitoring pages themselves (suite)*.
- **Publish:** staging `~/monitoring-sites-staging``DEPLOY_WWW_ROOT` + Caddy handles (`site-gen/caddy-monitoring-handles.snippet`, v1.7.2+).
@ -401,17 +401,25 @@ LADDER_LOAD=0 ./taler-monitoring.sh ladder
Default **English**. Select language with `--lang en|fr` or `TALER_MON_LANG`.
FrancPaysan stacks auto-select **French** (`*lefrancpaysan*`). See `VERSIONS.md` and `i18n.sh`.
## Public monitoring pages via FQDN (v1.3.1+)
## Public monitoring pages via FQDN (v1.3.1+ / obligatory v1.7.6+)
Phase **`monpages`** checks that each hosts monitoring URL is live HTML
(not merchant JSON code 21):
Phase **`monpages`** is **obligatory**: missing or non-suite HTML is **ERROR**
(not merchant JSON code 21, not 404). Soft mode only with
`MONPAGES_REQUIRE_PUBLIC=0` (escape hatch).
| Stack | What is checked |
|-------|-----------------|
| **GOA / hacktivism** | Full suite inventory: `bank`/`exchange`/`taler` `/monitoring/` plus `/taler-monitoring-{surface,aptdeploy,mattermost,mail}/` and any extra pages found under staging/`DEPLOY_WWW_ROOT` |
| **FrancPaysan** | Only that stacks mon hosts (`bank`/`exchange`/`monnaie` · stage variants) — never GOA URLs |
```bash
./taler-monitoring.sh -d hacktivism.ch monpages
./taler-monitoring.sh -d lefrancpaysan.ch monpages
# host-agent runs monpages by default and again after HTML publish
```
If pages are missing publicly: `sudo ~/koopa-caddy/apply-monitoring-live.sh` on koopa.
If pages are missing publicly: `sudo ~/koopa-caddy/apply-monitoring-live.sh` on koopa
(FP: Infomaniak vhost for `/monitoring*`).
## Version on monitoring pages (v1.3+ / sticky bar)