Skip to content

Drift checks in CI

Terminal window
kurkik kafka diff asyncapi.yaml staging --trust-project

The step fails on drift (2) and on an incomplete check (3), so a pass really is a pass.

  1. Commit .kurkik/connections.yaml with secrets as env:NAME.
  2. Set those variables from your CI’s secret store.
  3. Pass --trust-project, or set KURKIK_TRUST_PROJECT=1.
  4. Install Kurkik with the install script.
Terminal window
kurkik kafka diff asyncapi.yaml staging -o markdown --trust-project > drift.md

Use -o json for scripts. Failures are JSON too, with a reason.

Early access releases end on a fixed date; after it commands exit with 77. See exit codes.