New The digna Engine: Choose Where Your Data Is Profiled
EN
Book a demo

Blog

Databricks CI/CD Made Declarative: Kamil Nowinski at SQLDay Lite 2026

Software teams stopped deploying by hand years ago, and one session at SQLDay Lite 2026 showed how data teams on Databricks can do the same. The conference, organized by Data Community Poland at the Gdańsk University of Technology on 24-25 September 2026, mixed SQL Server internals, AI agents and architecture, and this talk brought software delivery discipline to the lakehouse.

In "Databricks & DevOps: How Declarative Automation Bundles help with CI/CD", Kamil Nowinski, a former Microsoft Data Platform MVP, Databricks Champion and cloud data architect with more than 25 years in IT, showed how to describe a Databricks project as code and promote it from development to production without clicking through the workspace by hand. As more teams run notebooks, pipelines, dbt jobs, dashboards and apps on the same platform, a repeatable way to ship all of them together matters more every quarter.

Bringing DevOps habits to Databricks projects

Kamil opened with the fundamentals. DevOps, as the slides put it, combines software engineering best practices with IT operations, so that development and operations teams can work together to automate Lakeflow Jobs and streamline the path to production. The benefits listed are faster deployments, improved collaboration, enhanced reliability and better scalability.

The session walked through the eight steps of the software development lifecycle drawn as the familiar infinity loop: plan, code, build, test, release, deploy, operate and monitor. It then set DevOps side by side with its two data-focused relatives. DevOps covers CI/CD, continuous code testing, version control and production-grade Lakeflow Jobs. DataOps is about building quality data pipeline processes, with traceable lineage, shared governance and monitoring of data quality. MLOps treats model code as software and models as data, and manages the model lifecycle.

That framing set up the rest of the talk nicely. Declarative Automation Bundles are the tool that turns these practices into something concrete for a Databricks team.

"Write once, deploy everywhere!": what a bundle is

Declarative Automation Bundles, or DABs, are still widely known by their earlier name, Databricks Asset Bundles, and the slides use both. A bundle is a set of YAML files that describes the artifacts, resources and configuration of a Databricks project. Kamil broke a project into three parts:

  • Code: notebooks, Python wheels, JARs, dbt projects and similar.
  • Resources: workflows, MLflow objects and Delta Live Tables pipelines.
  • Execution environment: the workspace and its compute configuration.

The bundle definition mirrors that structure. It names the bundle and its default workspace, declares the resources (jobs, pipelines, MLflow and more, following the Databricks REST API schema), and adds environment-specific settings that change how the project behaves in each target. One diagram showed a single source repository flowing from a dev branch through a pull request into main and on to a release branch, with each environment getting its own settings: a single-node cluster with no schedule running as the user in dev, a three-node cluster on a weekly schedule in staging, and a ten-node cluster on a daily schedule running as a service principal in production. Same code, different configuration, one definition.

A quadrant chart placed DABs in the corner that combines ease of use with native support. All of this runs through the Databricks CLI, which Kamil described as a tool you configure once and reuse across your dev tools, with built-in error handling, network retries, debug logging and secret redaction. On Windows it installs with a single winget install Databricks.DatabricksCLI.

Three commands that take a project from template to running job

The first deployment option, local deployment from an IDE, came down to three CLI commands that the slides explain in useful detail.

databricks bundle init creates a new project from a template. The built-in templates include default-python, default-sql, dbt-sql and mlops-stacks, and the CLI asks a few questions before generating a folder with databricks.yml (dev and prod targets already set up), a resources/ folder for job and pipeline YAML, a src/ folder with sample code, and often tests and a README.

databricks bundle deploy -t dev reads the bundle configuration, builds any artifacts such as Python wheels, uploads the code and creates or updates the jobs, pipelines and models it defines. The target decides the workspace, the variable overrides and the deployment mode. With mode: development, Databricks prefixes resource names with [dev your_name] so developers don't overwrite each other's work, pauses job schedules and triggers, and deploys into your personal workspace folder.

databricks bundle run -t dev <job_name> then starts a job or pipeline that the bundle has already deployed. A small but practical detail from the slides: <job_name> is the resource key from your YAML, not the job's display name.

From a Git push to a deployed bundle

The second option automates the same flow with Git. Kamil's demo repository uses two GitHub Actions workflows: one deploys to development, only from the dev branch, and the other deploys to production, only from main. The development workflow is short enough to read in one go. This excerpt is from the demo repo:

on:
  push:
    branches:
      - dev
    # ...
      - run: databricks bundle deploy
        working-directory: ./dabs_cicd_demo
        env:
          DATABRICKS_TOKEN: ${{ secrets.DATABRICKS_TOKEN }}
          DATABRICKS_BUNDLE_ENV: dev
on:
  push:
    branches:
      - dev
    # ...
      - run: databricks bundle deploy
        working-directory: ./dabs_cicd_demo
        env:
          DATABRICKS_TOKEN: ${{ secrets.DATABRICKS_TOKEN }}
          DATABRICKS_BUNDLE_ENV: dev
on:
  push:
    branches:
      - dev
    # ...
      - run: databricks bundle deploy
        working-directory: ./dabs_cicd_demo
        env:
          DATABRICKS_TOKEN: ${{ secrets.DATABRICKS_TOKEN }}
          DATABRICKS_BUNDLE_ENV: dev

The production workflow goes one step further. After the deploy job, two follow-up jobs run the bundle's main job and its dbt job with --refresh-all, so a merge to main both deploys and exercises the pipeline. The bundle itself shows several patterns worth copying: variables that look up a SQL warehouse by name instead of hard-coding its ID, a prod target in mode: production with an explicit root path and run_as identity, and resource files for a job, a pipeline, a dbt job, a dashboard and a Databricks app, all pulled in with a single include: resources/*.yml.

One screenshot captured the payoff. A job deployed by a bundle carries a notice in the Databricks UI asking people to change the source and redeploy rather than edit the deployed copy. The repository becomes the single source of truth, and the workspace reflects it.

Bundles in the workspace for teams who prefer the browser

The third and fourth options bring bundles to people who don't live in a terminal. With a Git folder in the Databricks workspace, a developer can change an object in the browser, push it to the repository and let the same GitHub Action deploy it to the dev target.

Bundles can also be created and deployed directly from the workspace UI, an option available in the context of a Git folder. The slides list the advantages: you can collaborate, develop and version directly in the workspace with no CLI needed, iterate and test quickly before moving to production, and work with bundles without learning YAML or the Databricks CLI. Kamil's screenshots showed the deployments panel with a target selector, a Deploy button and the bundle's jobs, pipelines, dashboard and app listed in one place. That makes the bundle approach open to analysts and engineers alike.

Bonus: plan your data environments, not just your code

A bonus slide turned from code to data, and it is a useful checklist for anyone setting up environments:

  • Dev data: often a small static subset of production, possibly anonymised or synthetic, chosen to support rapid development and testing while protecting privacy.
  • Stage data: mirrors production structure and volume, is typically static and can be scrubbed of sensitive information, so testing and validation are realistic.
  • Prod data: live, continuously updated, contains real user data and needs the highest security, privacy and compliance standards.

Bundles make the code identical across these environments. This slide is a reminder that the data in each one deserves the same deliberate planning.

Practical takeaways

  • Install the Databricks CLI and start with databricks bundle init using a built-in template, then deploy to a dev target with mode: development.
  • Describe jobs, pipelines, dashboards and apps in YAML under resources/ and keep environment differences in targets, not in copies of the code.
  • Reference resources by their YAML key in databricks bundle run.
  • Let GitHub Actions deploy from dev and main branches, with the token stored as an environment secret.
  • Use production mode and an explicit run_as identity for the prod target.
  • Offer workspace-based bundles in Git folders to colleagues who prefer the browser.
  • Plan dev, stage and prod data alongside the code.

A green deployment is the start of trust in the data

Kamil's DataOps column ends with "monitor data quality", and the lifecycle loop ends with "monitor". Both fit naturally after a bundle-based release. Declarative Automation Bundles make sure the job running in production is exactly the one that was reviewed and tested. The next question is whether the data that job reads and writes on any given day is complete, on time and shaped the way it was yesterday.

Data quality checks can follow the same discipline as the deployment: defined once, applied in every environment, and running automatically after each load rather than on request. digna's Databricks data quality monitoring works directly in the Databricks workspace, learning how each table normally behaves and flagging anomalies, duplicates, schema drift and late deliveries, so a green job run comes with evidence that the data behind it is healthy too.

Many thanks to Kamil Nowinski for a clear, hands-on tour from DevOps basics to four working deployment options, and to Data Community Poland for organizing SQLDay Lite 2026 in Gdańsk. The slides are available in the session folder of the SQLDay Lite 2026 repository, the complete demo with both GitHub Actions workflows is in Kamil's dabs_cicd_demo repository, and the Databricks documentation on Declarative Automation Bundles is the natural next stop.

Frequently asked questions

What are Declarative Automation Bundles in Databricks?

Declarative Automation Bundles, earlier called Databricks Asset Bundles, are sets of YAML files that describe a Databricks project's code, resources and execution environment. At SQLDay Lite 2026, Kamil Nowinski showed how one bundle definition carries notebooks, jobs, pipelines, dashboards and apps from development to production.

How do you deploy a Databricks bundle to a dev target?

Run databricks bundle deploy -t dev after creating the project with databricks bundle init. The CLI builds artifacts such as Python wheels, uploads the code and creates or updates jobs and pipelines. In development mode it prefixes resource names with [dev your_name] and pauses schedules and triggers.

How can GitHub Actions deploy Databricks bundles?

Kamil's demo repository uses two workflows: one deploys to development only from the dev branch, the other deploys to production only from main. After the production deploy, follow-up jobs run the bundle's main job and its dbt job with --refresh-all, so a merge to main both deploys and exercises the pipeline.

How do Databricks bundles handle different settings for dev, staging and production?

Targets hold the environment-specific settings while the code stays identical. In the session's example, dev used a single-node cluster with no schedule running as the user, staging a three-node cluster on a weekly schedule, and production a ten-node cluster on a daily schedule running as a service principal.

Can you deploy Databricks bundles without the CLI or YAML?

Yes, bundles can be created and deployed from the workspace UI inside a Git folder. The deployments panel offers a target selector, a Deploy button and a list of the bundle's jobs, pipelines, dashboard and app, so colleagues can work with bundles without learning YAML or the Databricks CLI.

See what digna finds in your data

In a demo we show digna on data like yours, answering the questions your team asks every week.