cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Databricks Asset Bundle to deploy only one workflow

niruban
New Contributor II

Hello Community -

I am trying to deploy only one workflow from my CICD. But whenever I am trying to deploy one workflow using "databricks bundle deploy - prod", it is deleting all the existing workflow in the target environment. Is there any option available to deploy only one workflow without impacting the other workflows in databricks asset bundle? Thanks!!

2 REPLIES 2

Rajani
Contributor

Hi @niruban 

In ideal scenario it should not delete the exsting workflow

I am also using databricks bundle to deploy the prod env but it has never deleted the current workflow.

Can you send me the  snippet where you can see workflow is delete?

niruban
New Contributor II

@Rajani : This is what I am doing. I am having git actions to kick off which will run 

- name: bundle-deploy
run: |
      cd ${{ vars.HOME }}/dev-ops/databricks_cicd_deployment
      databricks bundle deploy --debug

 

Before running this step, I am creating the yaml file of the modified/newly created workflow alone under resource directory of DABs folder setup. Once I execute the above command it will remove all the other workflows which is not available under resource folder path in the target server.

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!