Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tune output of bundle deploy command #1047

Merged
merged 10 commits into from
Dec 21, 2023

Conversation

lennartkats-db
Copy link
Contributor

@lennartkats-db lennartkats-db commented Dec 7, 2023

Changes

Update the output of the deploy command to be more concise and consistent:

$ databricks bundle deploy
Building my_project...
Uploading my_project-0.0.1+20231207.205106-py3-none-any.whl...
Uploading bundle files to /Users/lennart.kats@databricks.com/.bundle/my_project/dev/files...
Deploying resources...
Updating deployment state...
Deployment complete!

This does away with the intermediate success messages, makes consistent use of ..., and only prints the success message at the very end after everything is completed.

Below is the original output for comparison:

$ databricks bundle deploy
Detecting Python wheel project...
Found Python wheel project at /tmp/output/my_project
Building my_project...
Build succeeded
Uploading my_project-0.0.1+20231207.205134-py3-none-any.whl...
Upload succeeded
Starting upload of bundle files
Uploaded bundle files at /Users/lennart.kats@databricks.com/.bundle/my_project/dev/files!

Starting resource deployment
Resource deployment completed!

Copy link
Contributor

@pietern pietern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pietern pietern changed the title Tune output of deployment command Tune output of bundle deploy command Dec 19, 2023
@lennartkats-db lennartkats-db added this pull request to the merge queue Dec 21, 2023
Merged via the queue into databricks:main with commit 875c9d2 Dec 21, 2023
@lennartkats-db lennartkats-db deleted the consistent-output branch December 21, 2023 08:05
@shreyas-goenka shreyas-goenka mentioned this pull request Dec 21, 2023
github-merge-queue bot pushed a commit that referenced this pull request Dec 21, 2023
CLI:
* Upgrade Go SDK to 0.27.0
([#1064](#1064)).
* Skip profile resolution if `DATABRICKS_AUTH_TYPE` is set
([#1068](#1068)).
* Do not allow input prompts in Git Bash terminal
([#1069](#1069)).
* Added output template for list-secrets command
([#1074](#1074)).

Bundles:
* Set metadata fields required to enable break-glass UI for jobs
([#880](#880)).
* Do not prompt for template values in Git Bash
([#1082](#1082)).
* Tune output of bundle deploy command
([#1047](#1047)).

API Changes:
* Changed `databricks connections update` command with new required
argument order.
* Changed `databricks serving-endpoints update-config` command with new
required argument order.
 * Added `databricks serving-endpoints put` command.
 * Removed `databricks account network-policy` command group.

OpenAPI commit 63caa3cb0c05045e81d3dcf2451fa990d8670f36 (2023-12-12)

Dependency updates:
* Bump github.com/google/uuid from 1.4.0 to 1.5.0
([#1073](#1073)).
* Bump golang.org/x/crypto from 0.16.0 to 0.17.0
([#1076](#1076)).
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.

3 participants