Documentation
¶
Overview ¶
Command envcheck runs an environment's checks, from a file kept in its deploy repository, the same way against every environment, and writes the result as VALIDATION.md.
It exists because the checks of a new environment were typed by hand: the page requests, `authn-bridge check`, and a turnprobe whose username has to be minted first with `turnd mint-credentials`. Typed by hand they differ between local, staging and production, and a validation record nobody can reproduce is not a gate.
Every check runs ON THE TARGET, through an "exec" prefix the file names: `[tart, exec, vm, sudo]` for a VM the host cannot reach by IP, `[ssh, host]` for a server, empty for this machine. So one file shape serves all three. A file with `protected: true` (production) is refused unless --confirm names its environment: production is checked only when somebody asked for it.
Exit status: 0 every check passed, 1 a check failed, 2 the checks could not be run (unreadable file, a command that would not start, a refused protected environment).