Skip to content

Launch bundle auto-deploy - #7944

Draft
atreyadbrx wants to merge 2 commits into
dabs-ad-d4-pr6-attemptsfrom
dabs-ad-d4-pr7-launch
Draft

atreyadbrx wants to merge 2 commits into
dabs-ad-d4-pr6-attemptsfrom
dabs-ad-d4-pr7-launch

Conversation

@atreyadbrx

Copy link
Copy Markdown
Contributor

Changes

Unhides the bundle auto-deploy group and adds a .nextchanges/bundles/ entry.

Why

Merges once the git-webhooks API is public and auto-deploy is on by default. Until then, the commands stay hidden.

Tests

acceptance/bundle/help/bundle updated, and acceptance/bundle/help/bundle-auto-deploy added.

Stacked on #7943.

This pull request and its description were written by Isaac.

@atreyadbrx
atreyadbrx requested review from a team as code owners November 24, 2026 17:48
@atreyadbrx
atreyadbrx requested a review from pietern November 24, 2026 17:48
@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Regression test report ✅

Commit: 954215933 | Workflow run

Selected 7 changed tests (limit=20, 0 not selected)

9 tests: regression=9 unreleased=0 coverage=0 failing=0
test branch main (4c4f104) latest (v1.28.0)
TestAccept/bundle/auto-deploy/attempts ✅ ❌ ❌
TestAccept/bundle/auto-deploy/create ✅ ❌ ❌
TestAccept/bundle/auto-deploy/delete ✅ ❌ ❌
TestAccept/bundle/auto-deploy/get ✅ ❌ ❌
TestAccept/bundle/auto-deploy/list ✅ ❌ ❌
TestAccept/bundle/help/bundle-auto-deploy/DMS= ✅ ❌ ❌
TestAccept/bundle/help/bundle-auto-deploy/DMS=true ✅ ❌ ❌
TestAccept/bundle/help/bundle/DMS= ✅ ❌ ❌
TestAccept/bundle/help/bundle/DMS=true ✅ ❌ ❌
TestAccept/bundle/auto-deploy/attempts: branch ✅ | main (4c4f104) ❌ | latest (v1.28.0) ❌

main (4c4f104):

acceptance_test.go:1402: Diff:
        --- bundle/auto-deploy/attempts/output.txt
        +++ /tmp/TestAcceptbundleauto-deployattempts366923412/002/output.txt
        @@ -2,46 +2,49 @@
         === A target without a trigger
         
         >>> musterr [CLI] bundle auto-deploy attempts
        -Error: target dev has no auto-deploy trigger that you can view. To create one, run: databricks bundle auto-deploy create -t dev
        +Declarative Automation Bundles let you express data/AI/analytics projects as code.
         
        -=== Creating the trigger queues its first attempt
        +Common workflows:
        +  databricks bundle init default-python      # Initialize new project
        +  databricks bundle deploy --target dev      # Deploy to development
        +  databricks bundle run my_job               # Run jobs/pipelines
        +  databricks bundle deploy --target prod     # Deploy to production
         
        ->>> [CLI] bundle auto-deploy attempts
        -Attempt ID                            Status  Commit  Created
        -[UUID][0]  QUEUED          [TIMESTAMP]
        +Import existing resources:
        +  databricks bundle generate job --existing-job-id 123 --key my_job # Generate job configuration
        +  databricks bundle deployment bind my_job 123                      # Link to an existing job
         
        ->>> [CLI] bundle auto-deploy attempts [UUID][0]
        -Attempt ID: [UUID][0]
        -Status:     QUEUED
        -Created:    [TIMESTAMP]
        -{
        -  "method": "GET",
        -  "path": "/api/2.0/git-webhooks/webhook-triggers/[UUID][1]/attempts"
        -}
        -{
        -  "method": "GET",
        -  "path": "/api/2.0/git-webhooks/webhook-triggers/[UUID][1]/attempts/[UUID][0]"
        -}
        +Online documentation: https://docs.databricks.com/en/dev-tools/bundles/index.html
         
        -=== A failed attempt
        +Usage:
        +  databricks bundle [command]
         
        ->>> [CLI] bundle auto-deploy attempts [UUID][2]
        -Attempt ID: [UUID][2]
        -Status:     FAILED
        -Commit:     0123456789abcdef0123456789abcdef01234567
        -Created:    [TIMESTAMP]
        -Completed:  [TIMESTAMP]
        -Stage:      RUN_BUNDLE_DEPLOY
        -Run ID:     7012345678901234
        -Error:      cannot create job: invalid cluster spec
        +Available Commands:
        +  deploy             Deploy bundle
        +  deployment         Deployment related commands
        +  destroy            Destroy deployed bundle resources
        +  generate           Generate bundle configuration
        +  init               Initialize using a bundle template
        +  open               Open a resource in the browser
        +  plan               Show deployment plan
        +  run                Run a job, pipeline update or app
        +  schema             Generate JSON Schema for bundle configuration
        +  summary            Summarize resources deployed by this bundle
        +  sync               Synchronize bundle tree to the workspace
        +  validate           Validate configuration
         
        -=== An attempt that does not exist
        +Flags:
        +  -h, --help[=true|false]   help for bundle
        +      --var strings         set values for variables defined in bundle config. Example: --var="foo=bar"
         
        ->>> musterr [CLI] bundle auto-deploy attempts [UUID][3]
        -Error: Auto-deploy attempt 'webhook-triggers/[UUID][1]/attempts/[UUID][3]' does not exist
        +Global Flags:
        +      --debug[=true|false]   enable debug logging
        +  -o, --output type          output type: text or json (default text)
        +  -p, --profile string       ~/.databrickscfg profile
        +  -t, --target string        bundle target to use (if applicable)
         
        ->>> musterr [CLI] bundle auto-deploy attempts webhook-triggers/x/attempts/y
        -Error: "webhook-triggers/x/attempts/y" is not an attempt ID. Pass the attempt_id of an attempt, not its name
        +Use "databricks bundle [command] --help" for more information about a command.
         
        ->>> musterr [CLI] bundle auto-deploy attempts ..
        -Error: ".." is not an attempt ID. Pass the attempt_id of an attempt, not its name
        +Unexpected success
        +
        +Exit code: 1

latest (v1.28.0): same output as main (4c4f104)

TestAccept/bundle/auto-deploy/create: branch ✅ | main (4c4f104) ❌ | latest (v1.28.0) ❌

main (4c4f104):

acceptance_test.go:1402: Diff:
        --- bundle/auto-deploy/create/output.txt
        +++ /tmp/TestAcceptbundleauto-deploycreate2536114028/002/output.txt
        @@ -2,289 +2,48 @@
         === The current branch, as the caller
         
         >>> [CLI] bundle auto-deploy create
        -Pushes to branch main now deploy target dev as you.
        -Trigger ID: [UUID][0]
        -{
        -  "method": "PUT",
        -  "path": "/api/2.0/git-webhooks",
        -  "body": {
        -    "repo_url": "https://github.com/acme/repo",
        -    "git_provider": "GITHUB",
        -    "trigger_config": {
        -      "push_event": {
        -        "branch": "main"
        -      },
        -      "dabs_deploy": {
        -        "bundle_yml_repo_path": "databricks.yml",
        -        "deployment_mode": "dev"
        -      }
        -    }
        -  }
        -}
        +Declarative Automation Bundles let you express data/AI/analytics projects as code.
         
        -=== Updating the trigger keeps its ID
        +Common workflows:
        +  databricks bundle init default-python      # Initialize new project
        +  databricks bundle deploy --target dev      # Deploy to development
        +  databricks bundle run my_job               # Run jobs/pipelines
        +  databricks bundle deploy --target prod     # Deploy to production
         
        ->>> [CLI] bundle auto-deploy create --branch release --deploy-as [UUID][1]
        -Pushes to branch release now deploy target dev as [UUID][1].
        -Trigger ID: [UUID][0]
        -{
        -  "method": "PUT",
        -  "path": "/api/2.0/git-webhooks",
        -  "body": {
        -    "repo_url": "https://github.com/acme/repo",
        -    "git_provider": "GITHUB",
        -    "trigger_config": {
        -      "push_event": {
        -        "branch": "release"
        -      },
        -      "dabs_deploy": {
        -        "bundle_yml_repo_path": "databricks.yml",
        -        "deployment_mode": "dev",
        -        "deploy_as": {
        -          "service_principal_client_id": "[UUID][1]"
        -        }
        -      }
        -    }
        -  }
        -}
        +Import existing resources:
        +  databricks bundle generate job --existing-job-id 123 --key my_job # Generate job configuration
        +  databricks bundle deployment bind my_job 123                      # Link to an existing job
         
        -=== As yourself, in JSON
        +Online documentation: https://docs.databricks.com/en/dev-tools/bundles/index.html
         
        ->>> [CLI] bundle auto-deploy create -t prod --deploy-as [USERNAME] -o json
        -{
        -  "webhook_id": "[UUID][2]",
        -  "trigger_id": "[UUID][3]"
        -}
        -{
        -  "method": "PUT",
        -  "path": "/api/2.0/git-webhooks",
        -  "body": {
        -    "repo_url": "https://github.com/acme/repo",
        -    "git_provider": "GITHUB",
        -    "trigger_config": {
        -      "push_event": {
        -        "branch": "main"
        -      },
        -      "dabs_deploy": {
        -        "bundle_yml_repo_path": "databricks.yml",
        -        "deployment_mode": "prod",
        -        "deploy_as": {
        -          "user_email": "[USERNAME]"
        -        }
        -      }
        -    }
        -  }
        -}
        +Usage:
        +  databricks bundle [command]
         
        -=== As a service principal, on a production target that a user could not deploy
        +Available Commands:
        +  deploy             Deploy bundle
        +  deployment         Deployment related commands
        +  destroy            Destroy deployed bundle resources
        +  generate           Generate bundle configuration
        +  init               Initialize using a bundle template
        +  open               Open a resource in the browser
        +  plan               Show deployment plan
        +  run                Run a job, pipeline update or app
        +  schema             Generate JSON Schema for bundle configuration
        +  summary            Summarize resources deployed by this bundle
        +  sync               Synchronize bundle tree to the workspace
        +  validate           Validate configuration
         
        ->>> [CLI] bundle auto-deploy create -t prod --deploy-as [UUID][1]
        -Pushes to branch main now deploy target prod as [UUID][1].
        -Trigger ID: [UUID][3]
        -{
        -  "method": "PUT",
        -  "path": "/api/2.0/git-webhooks",
        -  "body": {
        -    "repo_url": "https://github.com/acme/repo",
        -    "git_provider": "GITHUB",
        -    "trigger_config": {
        -      "push_event": {
        -        "branch": "main"
        -      },
        -      "dabs_deploy": {
        -        "bundle_yml_repo_path": "databricks.yml",
        -        "deployment_mode": "prod",
        -        "deploy_as": {
        -          "service_principal_client_id": "[UUID][1]"
        -        }
        -      }
        -    }
        -  }
        -}
        +Flags:
        +  -h, --help[=true|false]   help for bundle
        +      --var strings         set values for variables defined in bundle config. Example: --var="foo=bar"
         
        -=== As another user
        +Global Flags:
        +      --debug[=true|false]   enable debug logging
        +  -o, --output type          output type: text or json (default text)
        +  -p, --profile string       ~/.databrickscfg profile
        +  -t, --target string        bundle target to use (if applicable)
         
        ->>> musterr [CLI] bundle auto-deploy create -t prod --deploy-as someone@example.com
        -Error: deploy_as.user_email must be your own email. To deploy as another identity, use a service principal you have the Service Principal User role on.
        +Use "databricks bundle [command] --help" for more information about a command.
        +File [OUTPUT_DIR]/out.requests.txt not found
         
        -Host:      [DATABRICKS_URL]
        -Auth type: Personal Access Token (pat)
        -
        -Next steps:
        -  - Verify you have the required permissions for this operation
        -  - Check your identity: databricks auth describe
        -  - Consider setting up a profile: databricks auth login --profile <name>
        -{
        -  "method": "PUT",
        -  "path": "/api/2.0/git-webhooks",
        -  "body": {
        -    "repo_url": "https://github.com/acme/repo",
        -    "git_provider": "GITHUB",
        -    "trigger_config": {
        -      "push_event": {
        -        "branch": "main"
        -      },
        -      "dabs_deploy": {
        -        "bundle_yml_repo_path": "databricks.yml",
        -        "deployment_mode": "prod",
        -        "deploy_as": {
        -          "user_email": "someone@example.com"
        -        }
        -      }
        -    }
        -  }
        -}
        -
        -=== A branch other than the target's git.branch
        -
        ->>> musterr [CLI] bundle auto-deploy create -t prod --branch release
        -Error: git.branch is main for target prod, so a deploy from release would fail. Omit --branch, or change git.branch
        -
        -=== A git.branch from a variable
        -
        ->>> [CLI] bundle auto-deploy create -t staging
        -Pushes to branch release now deploy target staging as you.
        -Trigger ID: [UUID][4]
        -{
        -  "method": "PUT",
        -  "path": "/api/2.0/git-webhooks",
        -  "body": {
        -    "repo_url": "https://github.com/acme/repo",
        -    "git_provider": "GITHUB",
        -    "trigger_config": {
        -      "push_event": {
        -        "branch": "release"
        -      },
        -      "dabs_deploy": {
        -        "bundle_yml_repo_path": "databricks.yml",
        -        "deployment_mode": "staging"
        -      }
        -    }
... (129 more lines truncated, raise DATABRICKS_CLI_TEST_MAX_LOG to see more)

latest (v1.28.0): same output as main (4c4f104)

TestAccept/bundle/auto-deploy/delete: branch ✅ | main (4c4f104) ❌ | latest (v1.28.0) ❌

main (4c4f104):

acceptance_test.go:1402: Diff:
        --- bundle/auto-deploy/delete/output.txt
        +++ /tmp/TestAcceptbundleauto-deploydelete395853727/002/output.txt
        @@ -1,78 +1,3 @@
        +rm: cannot remove '[OUTPUT_DIR]/out.requests.txt': No such file or directory
         
        -=== Without a terminal, delete needs --auto-approve, and sends nothing first
        -
        ->>> musterr [CLI] bundle auto-deploy delete
        -Error: this deletes the auto-deploy trigger of the bundle target and the job that runs its deploys. To proceed, use --auto-approve.
        -
        -=== Deleting the target's trigger leaves the other target's
        -
        ->>> [CLI] bundle auto-deploy delete --auto-approve
        -Deleted the auto-deploy trigger of target dev.
        -{
        -  "method": "DELETE",
        -  "path": "/api/2.0/git-webhooks/trigger",
        -  "body": {
        -    "repo_url": "https://github.com/acme/repo",
        -    "git_provider": "GITHUB",
        -    "trigger_config": {
        -      "push_event": {
        -        "branch": "main"
        -      },
        -      "dabs_deploy": {
        -        "bundle_yml_repo_path": "databricks.yml",
        -        "deployment_mode": "dev"
        -      }
        -    }
        -  }
        -}
        -
        ->>> [CLI] bundle auto-deploy list
        -Target  Branch  Deploy as      Trigger ID
        -prod    main    you or a user  [UUID]
        -
        -=== A retried delete sends its body again
        -
        ->>> [CLI] bundle auto-deploy delete -t prod --auto-approve
        -Deleted the auto-deploy trigger of target prod.
        -{
        -  "method": "DELETE",
        -  "path": "/api/2.0/git-webhooks/trigger",
        -  "body": {
        -    "repo_url": "https://github.com/acme/repo",
        -    "git_provider": "GITHUB",
        -    "trigger_config": {
        -      "push_event": {
        -        "branch": "main"
        -      },
        -      "dabs_deploy": {
        -        "bundle_yml_repo_path": "databricks.yml",
        -        "deployment_mode": "prod"
        -      }
        -    }
        -  }
        -}
        -{
        -  "method": "DELETE",
        -  "path": "/api/2.0/git-webhooks/trigger",
        -  "body": {
        -    "repo_url": "https://github.com/acme/repo",
        -    "git_provider": "GITHUB",
        -    "trigger_config": {
        -      "push_event": {
        -        "branch": "main"
        -      },
        -      "dabs_deploy": {
        -        "bundle_yml_repo_path": "databricks.yml",
        -        "deployment_mode": "prod"
        -      }
        -    }
        -  }
        -}
        -
        ->>> [CLI] bundle auto-deploy list
        -Target  Branch  Deploy as  Trigger ID
        -
        -=== A target without a trigger
        -
        ->>> musterr [CLI] bundle auto-deploy delete --auto-approve
        -Error: target dev has no auto-deploy trigger that you can view, so there is nothing to delete
        +Exit code: 1
        
    acceptance_test.go:1180: 
        LOG.setup: Declarative Automation Bundles let you express data/AI/analytics projects as code.
        LOG.setup: 
        LOG.setup: Common workflows:
        LOG.setup:   databricks bundle init default-python      # Initialize new project
        LOG.setup:   databricks bundle deploy --target dev      # Deploy to development
        LOG.setup:   databricks bundle run my_job               # Run jobs/pipelines
        LOG.setup:   databricks bundle deploy --target prod     # Deploy to production
        LOG.setup: 
        LOG.setup: Import existing resources:
        LOG.setup:   databricks bundle generate job --existing-job-id 123 --key my_job # Generate job configuration
        LOG.setup:   databricks bundle deployment bind my_job 123                      # Link to an existing job
        LOG.setup: 
        LOG.setup: Online documentation: https://docs.databricks.com/en/dev-tools/bundles/index.html
        LOG.setup: 
        LOG.setup: Usage:
        LOG.setup:   databricks bundle [command]
        LOG.setup: 
        LOG.setup: Available Commands:
        LOG.setup:   deploy             Deploy bundle
        LOG.setup:   deployment         Deployment related commands
        LOG.setup:   destroy            Destroy deployed bundle resources
        LOG.setup:   generate           Generate bundle configuration
        LOG.setup:   init               Initialize using a bundle template
        LOG.setup:   open               Open a resource in the browser
        LOG.setup:   plan               Show deployment plan
        LOG.setup:   run                Run a job, pipeline update or app
        LOG.setup:   schema             Generate JSON Schema for bundle configuration
        LOG.setup:   summary            Summarize resources deployed by this bundle
        LOG.setup:   sync               Synchronize bundle tree to the workspace
        LOG.setup:   validate           Validate configuration
        LOG.setup: 
        LOG.setup: Flags:
        LOG.setup:   -h, --help[=true|false]   help for bundle
        LOG.setup:       --var strings         set values for variables defined in bundle config. Example: --var="foo=bar"
        LOG.setup: 
        LOG.setup: Global Flags:
        LOG.setup:       --debug[=true|false]   enable debug logging
        LOG.setup:   -o, --output type          output type: text or json (default text)
        LOG.setup:   -p, --profile string       ~/.databrickscfg profile
        LOG.setup:   -t, --target string        bundle target to use (if applicable)
        LOG.setup: 
        LOG.setup: Use "databricks bundle [command] --help" for more information about a command.
        LOG.setup: Declarative Automation Bundles let you express data/AI/analytics projects as code.
        LOG.setup: 
        LOG.setup: Common workflows:
        LOG.setup:   databricks bundle init default-python      # Initialize new project
        LOG.setup:   databricks bundle deploy --target dev      # Deploy to development
        LOG.setup:   databricks bundle run my_job               # Run jobs/pipelines
        LOG.setup:   databricks bundle deploy --target prod     # Deploy to production
        LOG.setup: 
        LOG.setup: Import existing resources:
        LOG.setup:   databricks bundle generate job --existing-job-id 123 --key my_job # Generate job configuration
        LOG.setup:   databricks bundle deployment bind my_job 123                      # Link to an existing job
        LOG.setup: 
        LOG.setup: Online documentation: https://docs.databricks.com/en/dev-tools/bundles/index.html
        LOG.setup: 
        LOG.setup: Usage:
        LOG.setup:   databricks bundle [command]
        LOG.setup: 
        LOG.setup: Available Commands:
        LOG.setup:   deploy             Deploy bundle
        LOG.setup:   deployment         Deployment related commands
        LOG.setup:   destroy            Destroy deployed bundle resources
        LOG.setup:   generate           Generate bundle configuration
        LOG.setup:   init               Initialize using a bundle template
        LOG.setup:   open               Open a resource in the browser
        LOG.setup:   plan               Show deployment plan
        LOG.setup:   run                Run a job, pipeline update or app
        LOG.setup:   schema             Generate JSON Schema for bundle configuration
        LOG.setup:   summary            Summarize resources deployed by this bundle
        LOG.setup:   sync               Synchronize bundle tree to the workspace
        LOG.setup:   validate           Validate configuration
        LOG.setup: 
        LOG.setup: Flags:
        LOG.setup:   -h, --help[=true|false]   help for bundle
        LOG.setup:       --var strings         set values for variables defined in bundle config. Example: --var="foo=bar"
        LOG.setup: 
        LOG.setup: Global Flags:
        LOG.setup:       --debug[=true|false]   enable debug logging
        LOG.setup:   -o, --output type          output type: text or json (default text)
        LOG.setup:   -p, --profile string       ~/.databrickscfg profile
        LOG.setup:   -t, --target string        bundle target to use (if applicable)
        LOG.setup: 
        LOG.setup: Use "databricks bundle [command] --help" for more information about a command.

latest (v1.28.0): same output as main (4c4f104)

TestAccept/bundle/auto-deploy/get: branch ✅ | main (4c4f104) ❌ | latest (v1.28.0) ❌

main (4c4f104):

acceptance_test.go:1402: Diff:
        --- bundle/auto-deploy/get/output.txt
        +++ /tmp/TestAcceptbundleauto-deployget2696839981/002/output.txt
        @@ -2,84 +2,49 @@
         === A target without a trigger
         
         >>> musterr [CLI] bundle auto-deploy get
        -Error: target dev has no auto-deploy trigger that you can view. To create one, run: databricks bundle auto-deploy create -t dev
        +Declarative Automation Bundles let you express data/AI/analytics projects as code.
         
        -=== The target's trigger
        +Common workflows:
        +  databricks bundle init default-python      # Initialize new project
        +  databricks bundle deploy --target dev      # Deploy to development
        +  databricks bundle run my_job               # Run jobs/pipelines
        +  databricks bundle deploy --target prod     # Deploy to production
         
        ->>> [CLI] bundle auto-deploy get
        -Trigger ID: [UUID][0]
        -Repository: https://github.com/acme/repo
        -Bundle:     databricks.yml
        -Target:     dev
        -Branch:     main
        -Deploy as:  you or a user
        +Import existing resources:
        +  databricks bundle generate job --existing-job-id 123 --key my_job # Generate job configuration
        +  databricks bundle deployment bind my_job 123                      # Link to an existing job
         
        ->>> [CLI] bundle auto-deploy get -t prod
        -Trigger ID: [UUID][1]
        -Repository: https://github.com/acme/repo
        -Bundle:     databricks.yml
        -Target:     prod
        -Branch:     main
        -Deploy as:  [UUID][2]
        +Online documentation: https://docs.databricks.com/en/dev-tools/bundles/index.html
         
        ->>> [CLI] bundle auto-deploy get -t prod -o json
        -{
        -  "name": "webhook-triggers/[UUID][1]",
        -  "repo_url": "https://github.com/acme/repo",
        -  "git_provider": "GITHUB",
        -  "trigger_config": {
        -    "push_event": {
        -      "branch": "main"
        -    },
        -    "dabs_deploy": {
        -      "bundle_yml_repo_path": "databricks.yml",
        -      "deployment_mode": "prod",
        -      "deploy_as": {
        -        "service_principal_client_id": "[UUID][2]"
        -      }
        -    },
        -    "trigger_id": "[UUID][1]"
        -  }
        -}
        -{
        -  "method": "GET",
        -  "path": "/api/2.0/git-webhooks/webhook-triggers",
        -  "q": {
        -    "filter": "repo_url = \"https://github.com/acme/repo\" AND trigger_config.dabs_deploy.bundle_yml_repo_path = \"databricks.yml\" AND trigger_config.dabs_deploy.deployment_mode = \"dev\""
        -  }
        -}
        -{
        -  "method": "GET",
        -  "path": "/api/2.0/git-webhooks/webhook-triggers",
        -  "q": {
        -    "filter": "repo_url = \"https://github.com/acme/repo\" AND trigger_config.dabs_deploy.bundle_yml_repo_path = \"databricks.yml\" AND trigger_config.dabs_deploy.deployment_mode = \"prod\""
        -  }
        -}
        -{
        -  "method": "GET",
        -  "path": "/api/2.0/git-webhooks/webhook-triggers",
        -  "q": {
        -    "filter": "repo_url = \"https://github.com/acme/repo\" AND trigger_config.dabs_deploy.bundle_yml_repo_path = \"databricks.yml\" AND trigger_config.dabs_deploy.deployment_mode = \"prod\"",
        -    "page_token": "1"
        -  }
        -}
        -{
        -  "method": "GET",
        -  "path": "/api/2.0/git-webhooks/webhook-triggers",
        -  "q": {
        -    "filter": "repo_url = \"https://github.com/acme/repo\" AND trigger_config.dabs_deploy.bundle_yml_repo_path = \"databricks.yml\" AND trigger_config.dabs_deploy.deployment_mode = \"prod\""
        -  }
        -}
        -{
        -  "method": "GET",
        -  "path": "/api/2.0/git-webhooks/webhook-triggers",
        -  "q": {
        -    "filter": "repo_url = \"https://github.com/acme/repo\" AND trigger_config.dabs_deploy.bundle_yml_repo_path = \"databricks.yml\" AND trigger_config.dabs_deploy.deployment_mode = \"prod\"",
        -    "page_token": "1"
        -  }
        -}
        +Usage:
        +  databricks bundle [command]
         
        -=== Another caller does not see the trigger
        +Available Commands:
        +  deploy             Deploy bundle
        +  deployment         Deployment related commands
        +  destroy            Destroy deployed bundle resources
        +  generate           Generate bundle configuration
        +  init               Initialize using a bundle template
        +  open               Open a resource in the browser
        +  plan               Show deployment plan
        +  run                Run a job, pipeline update or app
        +  schema             Generate JSON Schema for bundle configuration
        +  summary            Summarize resources deployed by this bundle
        +  sync               Synchronize bundle tree to the workspace
        +  validate           Validate configuration
         
        ->>> musterr as-test-sp [CLI] bundle auto-deploy get
        -Error: target dev has no auto-deploy trigger that you can view. To create one, run: databricks bundle auto-deploy create -t dev
        +Flags:
        +  -h, --help[=true|false]   help for bundle
        +      --var strings         set values for variables defined in bundle config. Example: --var="foo=bar"
        +
        +Global Flags:
        +      --debug[=true|false]   enable debug logging
        +  -o, --output type          output type: text or json (default text)
        +  -p, --profile string       ~/.databrickscfg profile
        +  -t, --target string        bundle target to use (if applicable)
        +
        +Use "databricks bundle [command] --help" for more information about a command.
        +
        +Unexpected success
        +
        +Exit code: 1

latest (v1.28.0): same output as main (4c4f104)

TestAccept/bundle/auto-deploy/list: branch ✅ | main (4c4f104) ❌ | latest (v1.28.0) ❌

main (4c4f104):

acceptance_test.go:1402: Diff:
        --- bundle/auto-deploy/list/output.txt
        +++ /tmp/TestAcceptbundleauto-deploylist2924234998/002/output.txt
        @@ -2,114 +2,48 @@
         === A bundle without triggers
         
         >>> [CLI] bundle auto-deploy list
        -Target  Branch  Deploy as  Trigger ID
        +Declarative Automation Bundles let you express data/AI/analytics projects as code.
         
        -=== Another bundle in the same repository, whose trigger is not this bundle's
        +Common workflows:
        +  databricks bundle init default-python      # Initialize new project
        +  databricks bundle deploy --target dev      # Deploy to development
        +  databricks bundle run my_job               # Run jobs/pipelines
        +  databricks bundle deploy --target prod     # Deploy to production
         
        ->>> withdir other [CLI] bundle auto-deploy create
        -Pushes to branch main now deploy target dev as you.
        -Trigger ID: [UUID][0]
        -{
        -  "method": "PUT",
        -  "path": "/api/2.0/git-webhooks",
        -  "body": {
        -    "repo_url": "https://github.com/acme/repo",
        -    "git_provider": "GITHUB",
        -    "trigger_config": {
        -      "push_event": {
        -        "branch": "main"
        -      },
        -      "dabs_deploy": {
        -        "bundle_yml_repo_path": "other/databricks.yml",
        -        "deployment_mode": "dev"
        -      }
        -    }
        -  }
        -}
        +Import existing resources:
        +  databricks bundle generate job --existing-job-id 123 --key my_job # Generate job configuration
        +  databricks bundle deployment bind my_job 123                      # Link to an existing job
         
        -=== The triggers of this bundle's targets
        +Online documentation: https://docs.databricks.com/en/dev-tools/bundles/index.html
         
        ->>> [CLI] bundle auto-deploy list
        -Target  Branch  Deploy as      Trigger ID
        -dev     main    you or a user  [UUID][1]
        -prod    main    you or a user  [UUID][2]
        +Usage:
        +  databricks bundle [command]
         
        ->>> [CLI] bundle auto-deploy list -o json
        -[
        -  {
        -    "name": "webhook-triggers/[UUID][1]",
        -    "repo_url": "https://github.com/acme/repo",
        -    "git_provider": "GITHUB",
        -    "trigger_config": {
        -      "push_event": {
        -        "branch": "main"
        -      },
        -      "dabs_deploy": {
        -        "bundle_yml_repo_path": "databricks.yml",
        -        "deployment_mode": "dev"
        -      },
        -      "trigger_id": "[UUID][1]"
        -    }
        -  },
        -  {
        -    "name": "webhook-triggers/[UUID][2]",
        -    "repo_url": "https://github.com/acme/repo",
        -    "git_provider": "GITHUB",
        -    "trigger_config": {
        -      "push_event": {
        -        "branch": "main"
        -      },
        -      "dabs_deploy": {
        -        "bundle_yml_repo_path": "databricks.yml",
        -        "deployment_mode": "prod"
        -      },
        -      "trigger_id": "[UUID][2]"
        -    }
        -  }
        -]
        -{
        -  "method": "GET",
        -  "path": "/api/2.0/git-webhooks/webhook-triggers",
        -  "q": {
        -    "filter": "repo_url = \"https://github.com/acme/repo\" AND trigger_config.dabs_deploy.bundle_yml_repo_path = \"databricks.yml\""
        -  }
        -}
        -{
        -  "method": "GET",
        -  "path": "/api/2.0/git-webhooks/webhook-triggers",
        -  "q": {
        -    "filter": "repo_url = \"https://github.com/acme/repo\" AND trigger_config.dabs_deploy.bundle_yml_repo_path = \"databricks.yml\"",
        -    "page_token": "1"
        -  }
        -}
        -{
        -  "method": "GET",
        -  "path": "/api/2.0/git-webhooks/webhook-triggers",
        -  "q": {
        -    "filter": "repo_url = \"https://github.com/acme/repo\" AND trigger_config.dabs_deploy.bundle_yml_repo_path = \"databricks.yml\"",
        -    "page_token": "2"
        -  }
        -}
        -{
        -  "method": "GET",
        -  "path": "/api/2.0/git-webhooks/webhook-triggers",
        -  "q": {
        -    "filter": "repo_url = \"https://github.com/acme/repo\" AND trigger_config.dabs_deploy.bundle_yml_repo_path = \"databricks.yml\""
        -  }
        -}
        -{
        -  "method": "GET",
        -  "path": "/api/2.0/git-webhooks/webhook-triggers",
        -  "q": {
        -    "filter": "repo_url = \"https://github.com/acme/repo\" AND trigger_config.dabs_deploy.bundle_yml_repo_path = \"databricks.yml\"",
        -    "page_token": "1"
        -  }
        -}
        -{
        -  "method": "GET",
        -  "path": "/api/2.0/git-webhooks/webhook-triggers",
        -  "q": {
        -    "filter": "repo_url = \"https://github.com/acme/repo\" AND trigger_config.dabs_deploy.bundle_yml_repo_path = \"databricks.yml\"",
        -    "page_token": "2"
        -  }
        -}
        +Available Commands:
        +  deploy             Deploy bundle
        +  deployment         Deployment related commands
        +  destroy            Destroy deployed bundle resources
        +  generate           Generate bundle configuration
        +  init               Initialize using a bundle template
        +  open               Open a resource in the browser
        +  plan               Show deployment plan
        +  run                Run a job, pipeline update or app
        +  schema             Generate JSON Schema for bundle configuration
        +  summary            Summarize resources deployed by this bundle
        +  sync               Synchronize bundle tree to the workspace
        +  validate           Validate configuration
        +
        +Flags:
        +  -h, --help[=true|false]   help for bundle
        +      --var strings         set values for variables defined in bundle config. Example: --var="foo=bar"
        +
        +Global Flags:
        +      --debug[=true|false]   enable debug logging
        +  -o, --output type          output type: text or json (default text)
        +  -p, --profile string       ~/.databrickscfg profile
        +  -t, --target string        bundle target to use (if applicable)
        +
        +Use "databricks bundle [command] --help" for more information about a command.
        +rm: cannot remove '[OUTPUT_DIR]/out.requests.txt': No such file or directory
        +
        +Exit code: 1
        
    acceptance_test.go:1180: 
        LOG.setup: Declarative Automation Bundles let you express data/AI/analytics projects as code.
        LOG.setup: 
        LOG.setup: Common workflows:
        LOG.setup:   databricks bundle init default-python      # Initialize new project
        LOG.setup:   databricks bundle deploy --target dev      # Deploy to development
        LOG.setup:   databricks bundle run my_job               # Run jobs/pipelines
        LOG.setup:   databricks bundle deploy --target prod     # Deploy to production
        LOG.setup: 
        LOG.setup: Import existing resources:
        LOG.setup:   databricks bundle generate job --existing-job-id 123 --key my_job # Generate job configuration
        LOG.setup:   databricks bundle deployment bind my_job 123                      # Link to an existing job
        LOG.setup: 
        LOG.setup: Online documentation: https://docs.databricks.com/en/dev-tools/bundles/index.html
        LOG.setup: 
        LOG.setup: Usage:
        LOG.setup:   databricks bundle [command]
        LOG.setup: 
        LOG.setup: Available Commands:
        LOG.setup:   deploy             Deploy bundle
        LOG.setup:   deployment         Deployment related commands
        LOG.setup:   destroy            Destroy deployed bundle resources
        LOG.setup:   generate           Generate bundle configuration
        LOG.setup:   init               Initialize using a bundle template
        LOG.setup:   open               Open a resource in the browser
        LOG.setup:   plan               Show deployment plan
        LOG.setup:   run                Run a job, pipeline update or app
        LOG.setup:   schema             Generate JSON Schema for bundle configuration
        LOG.setup:   summary            Summarize resources deployed by this bundle
        LOG.setup:   sync               Synchronize bundle tree to the workspace
        LOG.setup:   validate           Validate configuration
        LOG.setup: 
        LOG.setup: Flags:
        LOG.setup:   -h, --help[=true|false]   help for bundle
        LOG.setup:       --var strings         set values for variables defined in bundle config. Example: --var="foo=bar"
        LOG.setup: 
        LOG.setup: Global Flags:
        LOG.setup:       --debug[=true|false]   enable debug logging
        LOG.setup:   -o, --output type          output type: text or json (default text)
        LOG.setup:   -p, --profile string       ~/.databrickscfg profile
        LOG.setup:   -t, --target string        bundle target to use (if applicable)
... (44 more lines truncated, raise DATABRICKS_CLI_TEST_MAX_LOG to see more)

latest (v1.28.0): same output as main (4c4f104)

TestAccept/bundle/help/bundle-auto-deploy/DMS=: branch ✅ | main (4c4f104) ❌ | latest (v1.28.0) ❌

main (4c4f104):

acceptance_test.go:1402: Diff:
        --- bundle/help/bundle-auto-deploy/output.txt
        +++ /tmp/TestAcceptbundlehelpbundle-auto-deployDMS=3311885725/002/output.txt
        @@ -1,33 +1,44 @@
         
         >>> [CLI] bundle auto-deploy --help
        -Set up and inspect auto-deploy for a bundle target.
        +Declarative Automation Bundles let you express data/AI/analytics projects as code.
         
        -Auto-deploy deploys a bundle target whenever commits are pushed to a branch of
        -the bundle's Git repository. Run these commands from the bundle directory. The
        -trigger is identified by the bundle's origin URL, its path in the repository
        -and the target (-t).
        +Common workflows:
        +  databricks bundle init default-python      # Initialize new project
        +  databricks bundle deploy --target dev      # Deploy to development
        +  databricks bundle run my_job               # Run jobs/pipelines
        +  databricks bundle deploy --target prod     # Deploy to production
         
        -Example:
        -  databricks bundle auto-deploy create -t prod --branch main
        +Import existing resources:
        +  databricks bundle generate job --existing-job-id 123 --key my_job # Generate job configuration
        +  databricks bundle deployment bind my_job 123                      # Link to an existing job
         
        +Online documentation: https://docs.databricks.com/en/dev-tools/bundles/index.html
        +
         Usage:
        -  databricks bundle auto-deploy [command]
        +  databricks bundle [command]
         
         Available Commands:
        -  attempts    List the auto-deploy attempts of this bundle target, or show one
        -  create      Deploy this bundle target on every push to a branch
        -  delete      Stop auto-deploying this bundle target
        -  get         Show the auto-deploy trigger of this bundle target
        -  list        List the auto-deploy triggers of this bundle's targets
        +  deploy             Deploy bundle
        +  deployment         Deployment related commands
        +  destroy            Destroy deployed bundle resources
        +  generate           Generate bundle configuration
        +  init               Initialize using a bundle template
        +  open               Open a resource in the browser
        +  plan               Show deployment plan
        +  run                Run a job, pipeline update or app
        +  schema             Generate JSON Schema for bundle configuration
        +  summary            Summarize resources deployed by this bundle
        +  sync               Synchronize bundle tree to the workspace
        +  validate           Validate configuration
         
         Flags:
        -  -h, --help[=true|false]   help for auto-deploy
        +  -h, --help[=true|false]   help for bundle
        +      --var strings         set values for variables defined in bundle config. Example: --var="foo=bar"
         
         Global Flags:
               --debug[=true|false]   enable debug logging
           -o, --output type          output type: text or json (default text)
           -p, --profile string       ~/.databrickscfg profile
           -t, --target string        bundle target to use (if applicable)
        -      --var strings          set values for variables defined in bundle config. Example: --var="foo=bar"
         
        -Use "databricks bundle auto-deploy [command] --help" for more information about a command.
        +Use "databricks bundle [command] --help" for more information about a command.

latest (v1.28.0): same output as main (4c4f104)

TestAccept/bundle/help/bundle-auto-deploy/DMS=true: branch ✅ | main (4c4f104) ❌ | latest (v1.28.0) ❌

main (4c4f104):

acceptance_test.go:1402: Diff:
        --- bundle/help/bundle-auto-deploy/output.txt
        +++ /tmp/TestAcceptbundlehelpbundle-auto-deployDMS=true3762482890/002/output.txt
        @@ -1,33 +1,44 @@
         
         >>> [CLI] bundle auto-deploy --help
        -Set up and inspect auto-deploy for a bundle target.
        +Declarative Automation Bundles let you express data/AI/analytics projects as code.
         
        -Auto-deploy deploys a bundle target whenever commits are pushed to a branch of
        -the bundle's Git repository. Run these commands from the bundle directory. The
        -trigger is identified by the bundle's origin URL, its path in the repository
        -and the target (-t).
        +Common workflows:
        +  databricks bundle init default-python      # Initialize new project
        +  databricks bundle deploy --target dev      # Deploy to development
        +  databricks bundle run my_job               # Run jobs/pipelines
        +  databricks bundle deploy --target prod     # Deploy to production
         
        -Example:
        -  databricks bundle auto-deploy create -t prod --branch main
        +Import existing resources:
        +  databricks bundle generate job --existing-job-id 123 --key my_job # Generate job configuration
        +  databricks bundle deployment bind my_job 123                      # Link to an existing job
         
        +Online documentation: https://docs.databricks.com/en/dev-tools/bundles/index.html
        +
         Usage:
        -  databricks bundle auto-deploy [command]
        +  databricks bundle [command]
         
         Available Commands:
        -  attempts    List the auto-deploy attempts of this bundle target, or show one
        -  create      Deploy this bundle target on every push to a branch
        -  delete      Stop auto-deploying this bundle target
        -  get         Show the auto-deploy trigger of this bundle target
        -  list        List the auto-deploy triggers of this bundle's targets
        +  deploy             Deploy bundle
        +  deployment         Deployment related commands
        +  destroy            Destroy deployed bundle resources
        +  generate           Generate bundle configuration
        +  init               Initialize using a bundle template
        +  open               Open a resource in the browser
        +  plan               Show deployment plan
        +  run                Run a job, pipeline update or app
        +  schema             Generate JSON Schema for bundle configuration
        +  summary            Summarize resources deployed by this bundle
        +  sync               Synchronize bundle tree to the workspace
        +  validate           Validate configuration
         
         Flags:
        -  -h, --help[=true|false]   help for auto-deploy
        +  -h, --help[=true|false]   help for bundle
        +      --var strings         set values for variables defined in bundle config. Example: --var="foo=bar"
         
         Global Flags:
               --debug[=true|false]   enable debug logging
           -o, --output type          output type: text or json (default text)
           -p, --profile string       ~/.databrickscfg profile
           -t, --target string        bundle target to use (if applicable)
        -      --var strings          set values for variables defined in bundle config. Example: --var="foo=bar"
         
        -Use "databricks bundle auto-deploy [command] --help" for more information about a command.
        +Use "databricks bundle [command] --help" for more information about a command.

latest (v1.28.0): same output as main (4c4f104)

TestAccept/bundle/help/bundle/DMS=: branch ✅ | main (4c4f104) ❌ | latest (v1.28.0) ❌

main (4c4f104):

acceptance_test.go:1402: Diff:
        --- bundle/help/bundle/output.txt
        +++ /tmp/TestAcceptbundlehelpbundleDMS=1818462450/002/output.txt
        @@ -18,7 +18,6 @@
           databricks bundle [command]
         
         Available Commands:
        -  auto-deploy        Deploy a bundle target on every push to a Git branch
           deploy             Deploy bundle
           deployment         Deployment related commands
           destroy            Destroy deployed bundle resources

latest (v1.28.0): same output as main (4c4f104)

TestAccept/bundle/help/bundle/DMS=true: branch ✅ | main (4c4f104) ❌ | latest (v1.28.0) ❌

main (4c4f104):

acceptance_test.go:1402: Diff:
        --- bundle/help/bundle/output.txt
        +++ /tmp/TestAcceptbundlehelpbundleDMS=true977015298/002/output.txt
        @@ -18,7 +18,6 @@
           databricks bundle [command]
         
         Available Commands:
        -  auto-deploy        Deploy a bundle target on every push to a Git branch
           deploy             Deploy bundle
           deployment         Deployment related commands
           destroy            Destroy deployed bundle resources
        
FAIL

latest (v1.28.0): same output as main (4c4f104)

@eng-dev-ecosystem-bot

eng-dev-ecosystem-bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

✅ Integration test report

Commit: 9542159

Run: 46397346354

Env 💚​RECOVERED ✅​pass 🙈​skip Time
💚​ aws linux-2core-8gb 1 173 24 4:04
💚​ aws-windows-latest-4core-16gb 1 173 24 1:18
💚​ azure linux-2core-8gb 1 172 24 3:31
💚​ azure-windows-latest-4core-16gb 1 172 24 1:36
💚​ gcp linux-2core-8gb 1 173 24 3:42
💚​ gcp-windows-latest-4core-16gb 1 173 24 1:19
Test Name aws linux-2core-8gb aws-windows-latest-4core-16gb azure linux-2core-8gb azure-windows-latest-4core-16gb gcp linux-2core-8gb gcp-windows-latest-4core-16gb
💚​ TestAccept 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
Top 3 slowest tests (at least 2 minutes):
duration env testname
4:04 aws linux-2core-8gb TestAccept
3:40 gcp linux-2core-8gb TestAccept
3:23 azure linux-2core-8gb TestAccept

@atreyadbrx
atreyadbrx force-pushed the dabs-ad-d4-pr6-attempts branch from 8008385 to a056e02 Compare November 24, 2026 18:59
@atreyadbrx
atreyadbrx force-pushed the dabs-ad-d4-pr7-launch branch from de43e30 to bb9b2de Compare November 24, 2026 18:59
@atreyadbrx
atreyadbrx force-pushed the dabs-ad-d4-pr6-attempts branch from a056e02 to c70586e Compare November 27, 2026 16:57
@atreyadbrx
atreyadbrx force-pushed the dabs-ad-d4-pr7-launch branch from bb9b2de to 471bebd Compare November 27, 2026 16:57
@atreyadbrx
atreyadbrx force-pushed the dabs-ad-d4-pr6-attempts branch from c70586e to 367e7fb Compare November 29, 2026 22:25
@atreyadbrx
atreyadbrx force-pushed the dabs-ad-d4-pr7-launch branch from 471bebd to 43588b3 Compare November 29, 2026 22:25
@atreyadbrx
atreyadbrx requested a review from denik November 29, 2026 22:28
@atreyadbrx
atreyadbrx marked this pull request as draft November 30, 2026 09:22
atreyadbrx and others added 2 commits November 30, 2026 10:00
Unhides the `bundle auto-deploy` command group and adds its changelog entry.

Co-authored-by: Isaac <no-reply@databricks.com>
Signed-off-by: atreyadbrx <atreya.misra@databricks.com>
Co-authored-by: Isaac <no-reply@databricks.com>
Signed-off-by: atreyadbrx <atreya.misra@databricks.com>
@atreyadbrx
atreyadbrx force-pushed the dabs-ad-d4-pr6-attempts branch from 367e7fb to a3949bf Compare November 30, 2026 10:07
@atreyadbrx
atreyadbrx force-pushed the dabs-ad-d4-pr7-launch branch from 43588b3 to 9542159 Compare November 30, 2026 10:07

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants