You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: add inventory file for multi-server-devnet skill (#584)
## 🗒️ Description / Motivation
The `devnet.env` example included a list of servers inside a comment.
This PR moves that information to a new file, with scripts to query it.
## What Changed
- List the files or areas touched
- Brief summary of each change
## Correctness / Behavior Guarantees
- What invariants are preserved or updated?
- Are there any behavior changes reviewers should know about?
## Tests Added / Run
- What tests were added or updated?
- What commands did you run to verify this change?
## Related Issues / PRs
- Closes #
- Related to #
## ✅ Verification Checklist
- [ ] Ran `make fmt` — clean
- [ ] Ran `make lint` (clippy with `-D warnings`) — clean
- [ ] Ran `make test` (`cargo test --workspace --profile release-fast`)
— all passing
|`sweep.sh`| operator |`CENTRAL_PROM_URL`| Cross-devnet audit: head/justified/finalized + client mix from the central Prometheus |
475
502
|`deploy-finality-alert.sh`| operator |`[WEBHOOK_FILE]`; `METRICS_HOST`, `GRAFANA_*`, `PROM_DS_UID`; `DRY_RUN`| Render + ship the "lost finality" Slack alert to the central Grafana |
476
-
|`devnet-env.sh` / `devnet.env.example`| operator |`$DEVNET_ENV`, `./devnet.env`, script dir | Load this deployment's hosts/urls/Grafana ids as defaults; exported vars win. Copy the example to `devnet.env` (gitignored) once |
503
+
|`devnet-env.sh` / `devnet.env.example`| operator |`$DEVNET_ENV`, `./devnet.env`, script dir | Load this deployment's urls/Grafana ids as defaults; exported vars win. Copy the example to `devnet.env` (gitignored) once |
504
+
|`inventory.sh` / `devnet.inventory.example`| operator |`[--tag T]... [--not-tag T]... [--field F] [--file P] [--count]`; `$DEVNET_INVENTORY`, `./devnet.inventory`, script dir | Select servers by tag from the fleet inventory (name, ip, tags, NODES, SUBNETS). `devnet-*` tags name the chain, `aggregator` is a server role, `validator` is derived (`devnet-*` and not `aggregator`). Unknown tag → exit 2 + known-tag list, so a typo can't masquerade as an empty fleet. Copy the example to `devnet.inventory` (gitignored) once |
477
505
478
506
**Grafana dashboards** (copy into the central Grafana's dashboards dir —
479
507
`GRAFANA_DASHBOARDS_DIR`, *not* the provisioning tree; they auto-load in ~30s and
0 commit comments