- Documentation
- Learning Hub
- Section 4 of 5 CI/CD automation
CI/CD pipeline architecture
Slide 1 of 4
CI/CD pipeline flow
You can commit dashboard JSON by hand after every SDK change, but that still depends on someone remembering to regenerate and push. A CI/CD pipeline removes that bottleneck.
This diagram shows one end-to-end flow from code change to a live dashboard when Git Sync is already connected to the repository.
What each stage does
When each path runs
- On a pull request: the pipeline regenerates JSON and gives reviewers a chance to inspect the file changes before merge. Nothing needs to talk to the Grafana API for that review gate.
- On merge to main (or whichever branch Git Sync watches): the merged JSON is in the repository, and Git Sync brings Grafana in line with Git.
The Foundation SDK still only generates files. Git Sync remains the sync step you set up in Grafana.