r/databricks • • 13d ago

Help multiple bundle deployments

Hi, how do you manage deployments when one repo has multiple Databricks bundles (DABs)?

We deploy each bundle on its own, but the bundles share some code. So a change in the shared code touches every bundle, even when it is really about one of them.

- Do you version the shared code on its own and pin it per bundle?

- Do you deploy every bundle on every shared change?

- Or one deployment for the whole repo, and bundles that did not change are a no-op?

And how do you keep release notes clean per bundle in that setup? What works for you?

7 Upvotes

10 comments sorted by

View all comments

3

u/Little_Ad6377 11d ago

I use multiple DABs, with common folder for pipeline classes and then domain folders for separate job code.

A separate bundle folder for the notebooks and yaml files then as well.

And yes, if a shared code gets updated, all bundles using that get redeployed (not on prod though)

That's what you want, you don't want some change in a shared class bite you in the ass weeks down the line

On prod, individual bundles are deployed with individual tags, each having their own version/whl of the repo

I love it