Continuous deployment
In analytics engineering, CD refers to the automated process of deploying all changes in data models, scripts, and configurations to the production environment, post-testing. This practice ensures that new features, bug fixes, and updates are swiftly and reliably deployed into production, usually on the condition that the CI pipeline has been completed successfully. Therefore, in essence, a deployment job deploys the modified models into production. As you can imagine, this defaults to running a dbt build or run command, just like any other dbt job. The subtle difference is in the naming – a deployment job is a dedicated job that is only ever called after a CI job.
Let’s break it down:
- Deployment: The deployment aspect of CI/CD refers to deploying changes in your dbt models, YAML configuration files, and any changes you have committed to your development feature branch. Essentially, with deployment, we mean running your dbt models in a...