- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2025 12:38 PM
I want to deploy a dabs that has dev using a github branch and prod using a github release tag. I can't seem to find a way to make this part dynamic based on the target.
Things I've tried:
- Setting the git varaible in the databricks.yml
- making the git_branch or git_tag dynamic in the .job.yml
- making the entire git definition dynamic
I'm not having any success and each one is not allowed. This might work if the git functionality in the databricks.yml file worked consitently or if there was a tag function in it but unfortunately it is only allowing branches.
#databricksassetbundles
#dabs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2025 08:02 AM
You may want to look into SHA-Based Versioning. For more details, look here:
https://towardsdev.com/ci-cd-strategies-for-databricks-asset-bundles-e4aaf921823e
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2025 04:44 PM
I ended up finding this discussion which mostly ended up working.
What was not mentioned is the first resources block should be in the job.yml and the overwrite parameters mentioned below are in the databricks.yml. You cannot put both in the databricks.yml