Skip to main content

Continuous Integration

Put simply, Continuous Integration (or CI) is a process for building and testing changes to your code before deploying to production.

Without CI

  • Changes are manually coordinated, and often become a complex synchronization chore.
  • Testing is done manually, if at all.
  • Code changes are released at a slower cadence, and with higher rates of failure.

With CI

  • Smoothly manage code changes, and scale as your team and codebase grows.
  • Automate high-confidence test coverage.
  • Boost the quantity and quality of developer output.

Getting Started

info

To get started, you'll need an API Key and the CI config ID fr your dbt Core integration.

To add Datafold to your CI, you'll need to follow these basic steps:

  • Add a Datafold command to your PR CI process to upload dbt artifacts representing the state of the project in the latest commit of the PR branch.
  • Add a Datafold command to your production CI process to upload dbt artifacts representing the state of the project in the latest commit of the production branch.
  • In both the PR CI process and the production CI process, these Datafold commands should be added after the dbt run or dbt build step.

Implementation details differ depending on the tool you're using for CI:

Alternatively, Datafold can also be implemented in CI without any code configuration using dbt Cloud.