mpod ci
Every Pod CI/QA call from your terminal, with the mpod command line
mpod ci covers every call of the CI API that a customer makes. It ships with mpod, and signs in the same way.
Signing in
- A key: set
POD_API_KEYto a key withci:read, orci:writeto change anything. A key reaches only its own project. - A person:
mpod pod login, then name the project with--project prj_…and the organization with--organisation org_….
Three commands are for people only, because they need a fresh second factor: connections connect, repositories settings set and kept open. With only an API key they are refused before anything is sent.
Output is a table in a terminal and Pod CI's JSON with --json or in a pipe. Lists take --limit, --cursor and --all.
Commands
| Command | What it does |
|---|---|
mpod ci repositories | List the connected repositories |
mpod ci repositories settings get <installation> <repository_id> | Read a repository's settings |
mpod ci repositories settings set <installation> <repository_id> [--allow-listed true|false] [--default-label pod-2|pod-4] [--keep-failures-s N] [--contributor-approval-confirmed true|false] | Change a repository's settings |
mpod ci repositories warm-generations <installation> <repository_id> | List a repository's warm folder generations |
mpod ci repositories bake-runs <installation> <repository_id> | List a repository's bake runs |
mpod ci connections list | List GitHub connections |
mpod ci connections connect --installation N --grant-key key_… | Connect a GitHub installation |
mpod ci installations get <installation> | Read an installation, and whether Pod CI can serve it |
mpod ci jobs list [--repository owner/name] | List jobs, newest first |
mpod ci jobs get <job_id> | Read a job and its times |
mpod ci jobs logs <job_id> [--out FILE] | Print the end of a job's log |
mpod ci jobs shards <job_id> | List the copies a job asked for |
mpod ci runs get <run_id> | Read a workflow run |
mpod ci runners | List the runners running now |
mpod ci usage [--period YYYY-MM] | Read a month's usage |
mpod ci limits | Read your limits and what is in use |
mpod ci reuses list [--repository] | List checks that reused an earlier pass |
mpod ci bake-runs list [--repository] | List bake runs |
mpod ci bake-runs logs <bake_run> [--out FILE] | Print a bake run's log |
mpod ci warm-generations list [--repository] | List warm folder generations |
mpod ci qa start --plan FILE --plan-path P --repository owner/name --build KEY=VALUE,… | Start a QA run |
mpod ci qa list [--repository] | List QA runs |
mpod ci qa get <qa_run> | Read a QA run and its steps |
mpod ci qa cancel <qa_run> | Cancel a QA run |
mpod ci qa screenshot <qa_run> <name> [--out FILE] | Download a QA run's screenshot |
mpod ci cache list <installation> <repository_id> | List a repository's cache entries |
mpod ci cache delete <installation> <repository_id> <entry> | Delete a cache entry |
mpod ci kept open <runner> --public-key FILE | Let a public key into a kept sandbox |
--public-key - reads the key from standard input. Logs print control characters other than newlines and tabs as ?, so a log never moves your terminal; --out FILE writes the text as it came.