The ocmts CLI is the main entry point for running the suite locally and in
CI.
Run the CLI from the repository root:
nu scripts/ocmts.nu <domain> <verb> ...
Repo root resolution:
- Preferred: set
OCMTS_ROOTto this repo root - Fallback:
git rev-parse --show-toplevelwhen invoked from inside the repo
Common flows:
nu scripts/ocmts.nu services up run ...brings up services, runs Cypress, writesmeta/run.jsonandmeta/result.v1.json(plus per-cell sidecars), then tears down unless--keep-upis passed.nu scripts/ocmts.nu services up ...starts the stack and leavesmeta/run.jsoninactivestate.nu scripts/ocmts.nu services up open ...starts the dev Cypress workspace and leavesmeta/run.jsoninopenstate untilservices down.nu scripts/ocmts.nu test cypress run ...runs Cypress against an already-up stack and updatesmeta/run.jsonplusmeta/result.v1.json.nu scripts/ocmts.nu test cypress suite ...runs the full enabled matrix suite sequentially. Add--publish-siteto publish the exact suite that just ran.nu scripts/ocmts.nu test unitsruns the internal Nushell unit-test suite for theocmtsCLI library code. This runs in seconds and does not require Docker.
Video recording:
- Video recording is enabled by default.
- To opt out, pass
--no-videotoservices up,services up run, orservices up open.
Site publish (local):
nu scripts/ocmts.nu test cypress suite --publish-site ...publishes observed suite state. It does not inject CI-style syntheticmissingresults for planned cells that never ran.- When
--site-diris omitted with--publish-site, the site directory is auto-resolved fromOCM_WEB_SITE_DIR(env), then<repo>/../ocm-web-site(if present), then cloned by the publish path.