You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| 1. Navigate to settings<br>2. Connect GitHub repository<br>3. Authorize Recce access<br>4. Select repository | 1. Navigate to settings<br>2. Connect GitLab by providing a Personal Access Token ([see our directions here](../7-cicd/gitlab-pat-guide.md))<br>3. Connect a project by adding a GitLab Project or URL to a Recce Project |
52
+
| 1. Navigate to settings<br>2. Connect GitHub repository<br>3. Authorize Recce access<br>4. Select repository | 1. Navigate to settings<br>2. Connect GitLab by providing a Personal Access Token ([see our directions here](./gitlab-pat-guide.md))<br>3. Connect a project by adding a GitLab Project or URL to a Recce Project |
53
53
54
54
55
55
### How to Use PR/MR Tracking
@@ -109,8 +109,8 @@ See the CI/CD sections for complete setup guides:
109
109
-[Setup CI for GitHub](../7-cicd/github/setup-ci.md)
110
110
-[Setup CD for GitHub](../7-cicd/github/setup-cd.md)
111
111
- GitLab CI/CD
112
-
-[Setup CI for Gitlab](../7-cicd/gitlab/setup-ci.md)
113
-
-[Setup CD for Gitlab](../7-cicd/gitlab/setup-cd.md)
112
+
-[Setup CI for GitLab](../7-cicd/gitlab/setup-ci.md)
113
+
-[Setup CD for GitLab](../7-cicd/gitlab/setup-cd.md)
Copy file name to clipboardExpand all lines: docs/7-cicd/ci-cd-getting-started.md
+26-16Lines changed: 26 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,33 +49,43 @@ Both CI and CD workflows follow the same pattern:
49
49
50
50
## Getting Started with your CI/CD
51
51
52
-
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](https://cal.com/team/recce/chat).
52
+
Recce integrates with both GitHub Actions and GitLab CI/CD using the lightweight `recce-cloud` CLI. If you use another CI/CD platform and are interested in Recce, [let us know](https://cal.com/team/recce/chat).
53
53
54
54
## Prerequisites
55
55
56
56
Before setting up, ensure you have:
57
57
58
-
-**Recce Cloud account** You can signup and start your free trial [here](https://cloud.reccehq.com/)
59
-
-**Repository connected** to Recce Cloud ([setup guide](../2-getting-started/start-free-with-cloud.md#git-integration))
60
-
-**dbt artifacts generated** (`manifest.json` and `catalog.json`) from your project
- For GitLab: [Create a Personal Access Token](../2-getting-started/gitlab-pat-guide.md) if not already done
61
+
- ✅ **dbt artifacts** - Know how to generate `manifest.json` and `catalog.json` from your project
61
62
62
-
### GitHub
63
-
If your dbt project uses GitHub:
63
+
## Setup Steps
64
64
65
-
1.[Setup CD](./github/setup-cd.md) - Auto-update baseline on merge to main
66
-
2.[Setup CI](./github/setup-ci.md) - Auto-validate changes in every PR
65
+
Both GitHub and GitLab follow the same simple pattern:
67
66
68
-
### GitLab
69
-
If your dbt project uses GitLab:
67
+
### 1. Setup CD - Auto-update baseline
68
+
[**Setup CD Guide**](./setup-cd.md) - Configure automatic baseline updates when you merge to main
70
69
71
-
1.[Setup CD](./gitlab/setup-cd.md) - Auto-update baseline on merge to main
72
-
2.[Setup CI](./gitlab/setup-ci.md) - Auto-validate changes in every MR
73
-
3.[GitLab Personal Access Token Guide](./gitlab/gitlab-pat-guide.md) - Required for GitLab integration
70
+
- Updates your production baseline artifacts automatically
71
+
- Runs on merge to main + optional scheduled updates
72
+
- Works with both GitHub Actions and GitLab CI/CD
74
73
75
-
## Next steps
74
+
### 2. Setup CI - Auto-validate PRs/MRs
75
+
[**Setup CI Guide**](./setup-ci.md) - Enable automatic validation for every PR/MR
76
76
77
-
1. Start with relevant CD setup ([Gitlab](./gitlab/setup-cd.md) or [Github](./github/setup-cd.md)) to establish automatic baseline (production artifacts) updates.
78
-
2. Configure CI setup ([Gitlab](./gitlab/setup-ci.md) or [Github](./github/setup-ci.md)) to enable PR/MR validation
77
+
- Validates data changes in every pull request or merge request
78
+
- Catches issues before they reach production
79
+
- Works with both GitHub Actions and GitLab CI/CD
80
+
81
+
## Why This Order?
82
+
83
+
Start with **CD first** to establish your baseline (production artifacts), then add **CI** for PR/MR validation. CI validation compares your PR/MR changes against the baseline created by CD.
0 commit comments