Skip to content

[Apps] use source code path from bundle when deploying via asset bundle #4181

@mniehoff

Description

@mniehoff

Describe the issue

When deploying an app the source-code-path must be supplied with databricks apps deploy <app-name> instead of falling back to the source-code-path configured for resources.apps.<app-name>.source_code_path in a asset bundle

Configuration

resources:
  apps:
    some_app:
      name: "some_app"
      source_code_path: some_app
  • root_path specified for the target/bundle.

Expected Behavior

databricks apps deploy runs without specifying source-code-path, but the source code path is taken form the bundle config + the root_path.

Also, I would be nice if the correct source code path (configured in the bundles) is also shown in the databricks UI when opening the app configuration.

Actual Behavior

source-code-path needs to be specified

OS and CLI version

cli v0.280.0

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions