Skip to main content

drt build

Run sync(s) and their tests in one invocation (sequential).

Per sync: run, then — on success — its tests. Overall sync status is run AND tests; a test failure exits non-zero but never rolls back loaded data.

Examples:

drt build
drt build --select tag:crm --fail-fast
drt build --select state:modified --state ci-baseline/manifest.json --dry-run
drt build --dry-run

Usage​

drt build [OPTIONS]

Options​

OptionTypeDefaultDescription
--select, -sTEXTSelect syncs: name or glob, tag:<pattern>, destination:<type>, state:modified/state:new, or "*" / "all". Repeat to union.
--excludeTEXTSubtract syncs from the selection (same grammar as --select). Repeatable.
--statePATHBaseline manifest path for state:modified/state:new selectors (for example, a prior drt docs generate --format json CI artifact).
--dry-runBOOLEANPreview runs and list the test plan without executing.
--fail-fastBOOLEANStop scheduling after the first failed sync or failed test.
--quiet, -qBOOLEANSuppress output except errors.
--verboseBOOLEANShow row-level error details.
--output, -oTEXTtextOutput format: text or json.
--profile, -pTEXTOverride profile (default: drt_project.yml or DRT_PROFILE).