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
For full per-command flags, run opp_ci <command> --help.
Global options
Option
Description
-v, --verbose
Enable debug-level logging
--remote
Submit to a remote coordinator instead of running locally. Uses OPP_CI_COORDINATOR_URL and OPP_CI_API_TOKEN.
Database
Command
Purpose
opp_ci init-db
Create tables. Auto-runs on first run, so usually optional.
opp_ci reset-db --yes
Drop and recreate all tables. Destructive. Add --preserve-tokens to snapshot and restore the api_tokens and workers rows so external systems keep working.
Running tests
Command
Purpose
opp_ci run
Run a single test for a project. Required: --project, --test. Common: --ref, --mode, --isolation {none|podman}, --toolchain {none|nix}, --os, --os-version, --arch, --compiler, --compiler-version, --pin <dep>=<ver> (repeatable), --force, --skip-install.
opp_ci run-matrix --matrix NAME
Expand a named matrix and run all jobs. Options: --force, --skip-install.
Supported tests (comma-separated for --test) — see the canonical list
in test_matrix_dimensions.md:
smoke, fingerprint, statistical, feature, speed, sanitizer,
chart, release, build, opp, all.
Matrices
Command
Purpose
opp_ci create-matrix
Create a named matrix. Required: --name, --project, --tests. Axes: --project-versions, --builds, --os [--os-version], --arch, --compiler [--compiler-version], --refs, --ref-range, --deps, --isolation, --toolchain, --opp-file. --replace overwrites an existing matrix of the same name.
opp_ci list-matrices
List matrices with expanded job count.
opp_ci seed-matrices
Seed default matrices for the core projects.
Platform axes accept two styles:
Combined: --os 'Ubuntu 24.04,Fedora 41' — auto-parsed into name + version
Build one of the bundled Podman images used for --isolation podman runs. --toolchain {host|nix} (note: host here, not none as on run / create-matrix), --os, --os-version, --compiler, --compiler-version.
image build-matrix
Build all images required by a matrix.
Environment
The CLI reads its configuration from environment variables. See
configuration.md.
Typical workflows
Local single test
opp_ci init-db
opp_ci run --project fifo --test smoke --skip-install
opp_ci serve # browse at http://localhost:8080
OPP_CI_COORDINATOR_URL is the coordinator's host URL without the
/api suffix — the CLI appends it when calling the REST router. (Using
OppCiClient directly from Python takes the full /api URL; see
python_client.md.)
--remote run forwards all the run-shaping flags (--mode, --isolation,
--toolchain, --os/--os-version/--arch, --compiler/--compiler-version,
--force). --pin is the exception: dependency resolution happens locally
before submission, so pins are not currently forwarded over --remote.