Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .nextchanges/bundles/app-source-code-path.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* Send `source_code_path` on the app Create request and `git_source` on the app Create and Update requests, so the app records its configured source before its first deployment. ([#6399](https://github.com/databricks/cli/pull/6399))
* Enable drift detection for `source_code_path` and `git_source` on apps. ([#6399](https://github.com/databricks/cli/pull/6399))
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ Resources: 0 created, 1 changed, 0 deleted, 0 unchanged

>>> print_requests.py //apps

=== The new source_code_path is still stored in the deployment state

>>> print_state.py
"source_code_path": "/Workspace/Users/[USERNAME]/.bundle/app-source-code-path-update/default/files/app2"

=== Change description: App Update omits source_code_path from the body and the update mask

>>> update_file.py databricks.yml my_app_description MY_APP_DESCRIPTION
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ title "Redeploy: UpdateApp rejects source_code_path, so no app request is sent;
trace $CLI bundle deploy
trace print_requests.py //apps

title "The new source_code_path is still stored in the deployment state"
trace print_state.py | grep source_code_path

title "Change description: App Update omits source_code_path from the body and the update mask"
trace update_file.py databricks.yml my_app_description MY_APP_DESCRIPTION
trace $CLI bundle deploy
Expand Down
Loading