Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .nextchanges/bundles/auto-deploy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* Add `databricks bundle deployment auto-deploy` commands, which deploy a bundle target on every push to a Git branch and show its deploy attempts. ([#8185](https://github.com/databricks/cli/pull/8185), [#8186](https://github.com/databricks/cli/pull/8186), [#8187](https://github.com/databricks/cli/pull/8187), [#8188](https://github.com/databricks/cli/pull/8188), [#8189](https://github.com/databricks/cli/pull/8189))
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Cloud = false
EnvMatrix.DMS = ["", "true"]
33 changes: 33 additions & 0 deletions acceptance/bundle/help/bundle-deployment-auto-deploy/output.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

>>> [CLI] bundle deployment auto-deploy --help
Set up and inspect auto-deploy for a bundle target.

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).

Example:
databricks bundle deployment auto-deploy create -t prod --branch main

Usage:
databricks bundle deployment auto-deploy [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

Flags:
-h, --help[=true|false] help for auto-deploy

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 deployment auto-deploy [command] --help" for more information about a command.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
trace $CLI bundle deployment auto-deploy --help
1 change: 1 addition & 0 deletions acceptance/bundle/help/bundle-deployment/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Usage:
databricks bundle deployment [command]

Available Commands:
auto-deploy Deploy a bundle target on every push to a Git branch
bind Bind bundle-defined resources to existing resources
migrate Migrate from Terraform to Direct deployment engine
unbind Unbind bundle-defined resources from its managed remote resource
Expand Down
3 changes: 0 additions & 3 deletions cmd/bundle/deployment/autodeploy/autodeploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ and the target (-t).

Example:
databricks bundle deployment auto-deploy create -t prod --branch main`,

// Hidden until the git-webhooks API is public.
Hidden: true,
}

cmd.AddCommand(newCreateCommand())
Expand Down
Loading