CI/CD Getting Started
Automate data validation in your development workflow. Catch data issues before they reach production with continuous integration and delivery built specifically for dbt projects.
What you'll achieve
Set up automated workflows that:
- Save time on reviews - Eliminate manual validation steps for every change
- Run data validations on every pull request/merge request - Run data validation checks automatically when changes are proposed
- Prevent regressions - Catch data quality issues before they reach production
Note
CI/CD automation requires a Cloud Plan. Get started for free here.
What is CI/CD?
Recce uses both continuous integration (CI) and continuous delivery (CD) to automate data validation:
Continuous Integration (CI)
- When: Runs when you open a new or update a Pull Request/Merge Request
- Purpose: Validates proposed changes against baseline (typically this mean production)
- Benefit: Catches issues before merge, with results in your PR/MR
Continuous Delivery (CD)
- When: Runs after merge to main branch
- Purpose: Updates baseline artifacts Recce uses to with latest production state
- Benefit: Ensures future comparisons use current baseline
What does look like with Recce?
Both CI and CD workflows follow the same pattern:
- Trigger event (merge to main, or PR/MR opened/updated)
- Generate dbt artifacts (
dbt docs generateor external source) - Upload to Recce Cloud (automatic via workflow action)
- Validation results appear in Recce dashboard and PR/MR
Getting Started with your CI/CD
Recce currently integrates with both GitHub Actions and GitLab CI/CD. If you use another CI/CD product and interested in Recce, let us know.
Prerequisites
Before setting up, ensure you have:
- Recce Cloud account You can signup and start your free trial here
- Repository connected to Recce Cloud (setup guide)
- dbt artifacts generated (
manifest.jsonandcatalog.json) from your project
GitHub
If your dbt project uses GitHub:
GitLab
If your dbt project uses GitLab:
- Setup CD - Auto-update baseline on merge to main
- Setup CI - Auto-validate changes in every MR
- GitLab Personal Access Token Guide - Required for GitLab integration
Next steps
- Start with relevant CD setup (Gitlab or Github) to establish automatic baseline (production artifacts) updates.
- Configure CI setup (Gitlab or Github) to enable PR/MR validation
- Review best practices for environment preparation
Related workflows
After setting up CI/CD automation, explore these workflow guides:
- Development workflow - How to validate data impact during development (pre-PR/MR)
- PR/MR review workflow - How to collaborate with teammates using Recce in PRs/MRs
- Preset checks - How to configure automatic validation checks
