DataBurst Data Engineering Wiki - Roadmap Step-by-Step: https://wiki.databurst.tech/docs/roadmap/ - Introduction: https://wiki.databurst.tech/docs/roadmap/introduction/ - Programming Language: https://wiki.databurst.tech/docs/roadmap/programming-language/ - Python: https://wiki.databurst.tech/docs/roadmap/programming-language/python/ - Java: https://wiki.databurst.tech/docs/roadmap/programming-language/java/ - Scala: https://wiki.databurst.tech/docs/roadmap/programming-language/scala/ - Go: https://wiki.databurst.tech/docs/roadmap/programming-language/go/ - Rust: https://wiki.databurst.tech/docs/roadmap/programming-language/rust/ - Operating System: https://wiki.databurst.tech/docs/roadmap/operating-system/ - Windows: https://wiki.databurst.tech/docs/roadmap/operating-system/windows/ - Linux: https://wiki.databurst.tech/docs/roadmap/operating-system/linux/ - Networking: https://wiki.databurst.tech/docs/roadmap/networking/ - Protocols: https://wiki.databurst.tech/docs/roadmap/networking/protocols/ - TCP/IP: https://wiki.databurst.tech/docs/roadmap/networking/protocols/tcp/ - DNS: https://wiki.databurst.tech/docs/roadmap/networking/protocols/dns/ - HTTP: https://wiki.databurst.tech/docs/roadmap/networking/protocols/http/ - HTTPS: https://wiki.databurst.tech/docs/roadmap/networking/protocols/https/ - SSH: https://wiki.databurst.tech/docs/roadmap/networking/protocols/ssh/ - UDP: https://wiki.databurst.tech/docs/roadmap/networking/protocols/udp/ - Concepts: https://wiki.databurst.tech/docs/roadmap/networking/concepts/ - IP addressing: https://wiki.databurst.tech/docs/roadmap/networking/concepts/ip-addressing/ - DHCP: https://wiki.databurst.tech/docs/roadmap/networking/concepts/dhcp/ - Firewalls: https://wiki.databurst.tech/docs/roadmap/networking/concepts/firewalls/ - VPN: https://wiki.databurst.tech/docs/roadmap/networking/concepts/vpn/ - General Software Engineering Skills: https://wiki.databurst.tech/docs/roadmap/general-software-engineering-skills/ - OAuth: https://wiki.databurst.tech/docs/roadmap/general-software-engineering-skills/oauth/ - JWT: https://wiki.databurst.tech/docs/roadmap/general-software-engineering-skills/jwt/ - GraphQL: https://wiki.databurst.tech/docs/roadmap/general-software-engineering-skills/graphql/ - REST: https://wiki.databurst.tech/docs/roadmap/general-software-engineering-skills/rest/ - gRPC: https://wiki.databurst.tech/docs/roadmap/general-software-engineering-skills/grpc/ - Caching: https://wiki.databurst.tech/docs/roadmap/general-software-engineering-skills/caching/ - Web Frameworks and API Development: https://wiki.databurst.tech/docs/roadmap/web-frameworks-and-api-development/ - Python: https://wiki.databurst.tech/docs/roadmap/web-frameworks-and-api-development/python/ - Go: https://wiki.databurst.tech/docs/roadmap/web-frameworks-and-api-development/go/ - Java: https://wiki.databurst.tech/docs/roadmap/web-frameworks-and-api-development/java/ - Version Control System: https://wiki.databurst.tech/docs/roadmap/version-control-system/ - git: https://wiki.databurst.tech/docs/roadmap/version-control-system/git/ - Version Control System Hosting: https://wiki.databurst.tech/docs/roadmap/version-control-system-hosting/ - Github: https://wiki.databurst.tech/docs/roadmap/version-control-system-hosting/github/ - Gitlab: https://wiki.databurst.tech/docs/roadmap/version-control-system-hosting/gitlab/ - BitBucket: https://wiki.databurst.tech/docs/roadmap/version-control-system-hosting/bitbucket/ - Distributed Systems Concepts: https://wiki.databurst.tech/docs/roadmap/distributed-systems-concepts/ - CAP: https://wiki.databurst.tech/docs/roadmap/distributed-systems-concepts/cap/ - PACELC: https://wiki.databurst.tech/docs/roadmap/distributed-systems-concepts/pacelc/ - Sharding: https://wiki.databurst.tech/docs/roadmap/distributed-systems-concepts/sharding/ - Clock: https://wiki.databurst.tech/docs/roadmap/distributed-systems-concepts/clock/ - ACID: https://wiki.databurst.tech/docs/roadmap/distributed-systems-concepts/acid/ - Replication: https://wiki.databurst.tech/docs/roadmap/distributed-systems-concepts/replication/ - Distributed Transactions: https://wiki.databurst.tech/docs/roadmap/distributed-systems-concepts/transaction/ - Indexing: https://wiki.databurst.tech/docs/roadmap/distributed-systems-concepts/indexing/ - Batch and Stream Processing: https://wiki.databurst.tech/docs/roadmap/distributed-systems-concepts/batch-and-stream-processing/ - Consistency vs Eventual Consistency: https://wiki.databurst.tech/docs/roadmap/distributed-systems-concepts/consistency-vs-eventual-consistency/ - Normalization or Denormalization: https://wiki.databurst.tech/docs/roadmap/distributed-systems-concepts/normalization-or-denormalization/ - SQL Fundamentals: https://wiki.databurst.tech/docs/roadmap/sql-fundamentals/ - Basic SQL: https://wiki.databurst.tech/docs/roadmap/sql-fundamentals/basic-sql/ - Advanced SQL: https://wiki.databurst.tech/docs/roadmap/sql-fundamentals/advanced-sql/ - Databases: https://wiki.databurst.tech/docs/roadmap/databases/ - Relational: https://wiki.databurst.tech/docs/roadmap/databases/relational/ - NoSQL: https://wiki.databurst.tech/docs/roadmap/databases/nosql/ - Columnar: https://wiki.databurst.tech/docs/roadmap/databases/nosql/columnar/ - Document Based: https://wiki.databurst.tech/docs/roadmap/databases/nosql/document-based/ - Key-Value: https://wiki.databurst.tech/docs/roadmap/databases/nosql/key-value/ - Time Series: https://wiki.databurst.tech/docs/roadmap/databases/nosql/time-series/ - Vector: https://wiki.databurst.tech/docs/roadmap/databases/nosql/vector/ - Graph: https://wiki.databurst.tech/docs/roadmap/databases/nosql/graph/ - NewSQL: https://wiki.databurst.tech/docs/roadmap/databases/nosql/newsql/ - Data Modeling: https://wiki.databurst.tech/docs/roadmap/data-modeling/ - Star Schema (Ralph Kimball): https://wiki.databurst.tech/docs/roadmap/data-modeling/star-schema/ - Snowflake: https://wiki.databurst.tech/docs/roadmap/data-modeling/snowflake/ - Data Vault: https://wiki.databurst.tech/docs/roadmap/data-modeling/data-vault/ - Data Management Architecture: https://wiki.databurst.tech/docs/roadmap/data-management-architecture/ - Relational Data Warehouse: https://wiki.databurst.tech/docs/roadmap/data-management-architecture/relational-data-warehouse/ - Data Lake: https://wiki.databurst.tech/docs/roadmap/data-management-architecture/data-lake/ - Modern Data Warehouse: https://wiki.databurst.tech/docs/roadmap/data-management-architecture/modern-data-warehouse/ - Data Fabric: https://wiki.databurst.tech/docs/roadmap/data-management-architecture/data-fabric/ - Data Mart: https://wiki.databurst.tech/docs/roadmap/data-management-architecture/data-mart/ - Data Lakehouse: https://wiki.databurst.tech/docs/roadmap/data-management-architecture/data-lakehouse/ - Data Mesh: https://wiki.databurst.tech/docs/roadmap/data-management-architecture/data-mesh/ - Data Integration: https://wiki.databurst.tech/docs/roadmap/data-integration/ - ETL: https://wiki.databurst.tech/docs/roadmap/data-integration/etl/ - ELT: https://wiki.databurst.tech/docs/roadmap/data-integration/elt/ - CDC: https://wiki.databurst.tech/docs/roadmap/data-integration/cdc/ - Reverse ETL: https://wiki.databurst.tech/docs/roadmap/data-integration/reverse-etl/ - Storage: https://wiki.databurst.tech/docs/roadmap/storage/ - Block Storage: https://wiki.databurst.tech/docs/roadmap/storage/block-storage/ - Object Storage: https://wiki.databurst.tech/docs/roadmap/storage/object-storage/ - File Formats and Serialization: https://wiki.databurst.tech/docs/roadmap/file-formats-and-serialization/ - File Formats: https://wiki.databurst.tech/docs/roadmap/file-formats-and-serialization/file-formats/ - CSV: https://wiki.databurst.tech/docs/roadmap/file-formats-and-serialization/file-formats/csv/ - JSON: https://wiki.databurst.tech/docs/roadmap/file-formats-and-serialization/file-formats/json/ - Parquet: https://wiki.databurst.tech/docs/roadmap/file-formats-and-serialization/file-formats/parquet/ - XML: https://wiki.databurst.tech/docs/roadmap/file-formats-and-serialization/file-formats/xml/ - Serialization: https://wiki.databurst.tech/docs/roadmap/file-formats-and-serialization/serialization/ - Avro: https://wiki.databurst.tech/docs/roadmap/file-formats-and-serialization/serialization/avro/ - Protocol Buffers: https://wiki.databurst.tech/docs/roadmap/file-formats-and-serialization/serialization/protobuf/ - Query Engine: https://wiki.databurst.tech/docs/roadmap/query-engine/ - Apache Hive: https://wiki.databurst.tech/docs/roadmap/query-engine/hive/ - SparkSQL: https://wiki.databurst.tech/docs/roadmap/query-engine/sparksql/ - Trino: https://wiki.databurst.tech/docs/roadmap/query-engine/trino/ - Presto: https://wiki.databurst.tech/docs/roadmap/query-engine/presto/ - Data Architecture: https://wiki.databurst.tech/docs/roadmap/data-architecture/ - Kappa: https://wiki.databurst.tech/docs/roadmap/data-architecture/kappa/ - Lambda: https://wiki.databurst.tech/docs/roadmap/data-architecture/lambda/ - Data Processing: https://wiki.databurst.tech/docs/roadmap/data-processing/ - Pipeline Orchestration: https://wiki.databurst.tech/docs/roadmap/pipeline-orchestration/ - Messaging and Streaming Platform: https://wiki.databurst.tech/docs/roadmap/messaging-and-streaming-platform/ - Data Governance: https://wiki.databurst.tech/docs/roadmap/data-governance/ - Data Quality: https://wiki.databurst.tech/docs/roadmap/data-governance/data-quality/ - Data Visualization: https://wiki.databurst.tech/docs/roadmap/data-visualization/ - Containerization: https://wiki.databurst.tech/docs/roadmap/containerization/ - Docker: https://wiki.databurst.tech/docs/roadmap/containerization/docker/ - Podman: https://wiki.databurst.tech/docs/roadmap/containerization/podman/ - containerd: https://wiki.databurst.tech/docs/roadmap/containerization/containerd/ - Container Orchestration: https://wiki.databurst.tech/docs/roadmap/container-orchestration/ - Kubernetes: https://wiki.databurst.tech/docs/roadmap/container-orchestration/kubernetes/ - Docker Swarm: https://wiki.databurst.tech/docs/roadmap/container-orchestration/docker-swarm/ - Apache Mesos: https://wiki.databurst.tech/docs/roadmap/container-orchestration/apache-mesos/ - CI/CD: https://wiki.databurst.tech/docs/roadmap/cicd/ - DataOps: https://wiki.databurst.tech/docs/roadmap/cicd/dataops/ - Infrastructure as Code: https://wiki.databurst.tech/docs/roadmap/infrastructure-as-code/ - Configuration Management: https://wiki.databurst.tech/docs/roadmap/infrastructure-as-code/configuration-management/ - Infrastructure Provisioning: https://wiki.databurst.tech/docs/roadmap/infrastructure-as-code/infrastructure-provisioning/ - Observability: https://wiki.databurst.tech/docs/roadmap/observability/ - Logging: https://wiki.databurst.tech/docs/roadmap/observability/logging/ - Monitoring: https://wiki.databurst.tech/docs/roadmap/observability/monitoring/ - Tracing: https://wiki.databurst.tech/docs/roadmap/observability/tracing/ - Glossary: https://wiki.databurst.tech/docs/roadmap/glossary/
$ git push origin main # and the pipeline takes it from here
# CI/CD **CI/CD** is the practice of letting automation build, test and release every change. **Continuous Integration (CI)** means everyone merges small changes into the main branch often, and each change is automatically built and tested so breakage is caught within minutes. **Continuous Delivery (CD)** means every change that passes CI is packaged and deployable at the push of a button; **Continuous Deployment** goes one step further and ships it to production with no human gate. For data teams the "code" includes SQL models, DAGs, schemas and infrastructure, and a broken change does not just crash: it can silently write wrong numbers into a dashboard. CI/CD is how you catch that before it reaches production data. ## A pipeline, step by step {{< fig kicker="$ cat .github/workflows/etl.yml" title="Two runs of the same pipeline: one stopped by a test, one shipped" >}} COMMITBUILDTEST PACKAGESTAGINGPROD RUN #41RUN #42 a1f3e2new join PASSlint, compile FAILdup order_id skippedskippedskipped b7c9d0fix join key PASSlint, compile PASS212 tests etl:b7c9d0image pushed PASSsmoke test LIVEafter approval
  1. Every push runs the same stages, left to right. A stage only starts if the one before it passed.
  2. Run #41: a commit changes a join. Build passes: the code lints and the SQL compiles.
  3. The test stage builds the models on sample data and a uniqueness test finds duplicate order_ids. The pipeline stops; nothing is deployed. This is CI doing its job.
  4. Run #42 fixes the join key. Build and all 212 tests pass.
  5. The change is packaged once (an image tagged with the commit) and that same artifact is deployed to staging, where a smoke test runs against realistic data.
  6. The same artifact goes to prod. With a manual approval this is continuous delivery; without one it is continuous deployment.
{{< /fig >}} ## Typical stages | Stage | Purpose | Data examples | |---|---|---| | Lint and format | Fail fast on style and obvious errors | `ruff`, `sqlfluff`, `yamllint` | | Build | Compile, resolve dependencies, parse | `dbt compile`, Airflow DAG import test, `terraform validate` | | Unit tests | Test functions in isolation | `pytest` for transforms, dbt unit tests | | Data tests | Run models on a sample or a clone and check the output | dbt `unique` / `not_null` tests, Great Expectations, Soda | | Package | Produce one versioned artifact | Docker image, wheel, dbt manifest | | Deploy | Release the artifact to an environment | Push DAGs, `dbt build` in prod, `helm upgrade`, Argo CD sync | ## CI/CD for data pipelines Data adds problems that application CI does not have: - **You need data to test.** Use small fixture datasets for unit tests, and a zero-copy clone or a sample of production for integration tests (Snowflake and BigQuery clones, Iceberg/Delta branches, lakeFS). - **Only build what changed.** dbt's **slim CI** (`dbt build --select state:modified+ --defer --state prod-manifest/`) builds just the modified models and their children against production references. - **Schema changes are deploys too.** Run migrations (Flyway, Liquibase, Alembic) in the pipeline, and check backward compatibility of event schemas in a [schema registry]({{< relref "../file-formats-and-serialization/serialization" >}}). - **Write-Audit-Publish.** In production, write new data to a staging location, audit it with tests, then publish atomically. It is CI for data itself, not just for code. - **Infrastructure in the same flow.** Run `terraform plan` on every pull request and `apply` on merge; see [Infrastructure as Code]({{< relref "../infrastructure-as-code" >}}). ## Tools | Tool | Where it runs | Config | Notes | |---|---|---|---| | **GitHub Actions** | GitHub-hosted or self-hosted runners | `.github/workflows/*.yml` | Huge marketplace of reusable actions; default choice on GitHub | | **GitLab CI/CD** | GitLab runners | `.gitlab-ci.yml` | Built into GitLab, strong for self-hosted setups | | **Jenkins** | Your servers | `Jenkinsfile` (Groovy) | Most flexible, most maintenance; common in older enterprises | | **CircleCI**, **Buildkite** | SaaS or hybrid | YAML | Fast, good caching and parallelism | | **Argo CD**, **Flux** | Inside Kubernetes | Git repo of manifests | **GitOps**: the cluster pulls and reconciles whatever is in Git | | **Bitbucket Pipelines** | Atlassian cloud | `bitbucket-pipelines.yml` | Natural fit for Jira/Bitbucket shops | A minimal GitHub Actions workflow for a dbt project: ```yaml name: dbt-ci on: pull_request jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v5 - uses: astral-sh/setup-uv@v6 - run: uv sync - run: uv run sqlfluff lint models/ # ./prod-manifest must hold manifest.json from the last production run, # e.g. downloaded from object storage in an earlier step - run: uv run dbt build --target ci --select state:modified+ --defer --state ./prod-manifest ``` ## Common mistakes - **Rebuilding per environment.** Build the artifact once and promote the same one through staging and prod; otherwise you test one thing and ship another. - **Flaky tests that everyone ignores.** A red pipeline that is "usually fine" trains people to merge on red. Fix or delete flaky tests. - **Production credentials in CI.** Use short-lived credentials (OIDC federation to your cloud) and read-only roles for test stages. - **Testing only code, never data.** A pipeline that compiles but doubles revenue is still broken. Add data tests. - **Slow pipelines.** Over 10–15 minutes and people stop waiting for them. Cache dependencies, run tests in parallel, and build only what changed. ## Learning Resources ### Foundations - [Continuous Integration, Martin Fowler](https://martinfowler.com/articles/continuousIntegration.html) - *Continuous Delivery*, Jez Humble and David Farley (Addison-Wesley) - *Accelerate*, Nicole Forsgren, Jez Humble and Gene Kim: the research behind DORA metrics - [DORA research program](https://dora.dev/) ### Tool documentation - [GitHub Actions documentation](https://docs.github.com/en/actions) - [GitLab CI/CD documentation](https://docs.gitlab.com/ci/) - [Jenkins User Handbook](https://www.jenkins.io/doc/book/) - [CircleCI documentation](https://circleci.com/docs/) - [Argo CD documentation](https://argo-cd.readthedocs.io/) - [dbt: continuous integration](https://docs.getdbt.com/docs/deploy/continuous-integration) ### Courses - [GitHub Actions Tutorial, TechWorld with Nana](https://www.youtube.com/watch?v=R8_veQiYBjI) - [GitLab CI/CD Tutorial for Beginners](https://www.youtube.com/watch?v=qP8kir2GUgo) - [DevOps with GitLab CI (freeCodeCamp)](https://www.youtube.com/watch?v=PGyhBwLyK2U)