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
9 changes: 3 additions & 6 deletions databricks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,12 @@ targets:
mode: development
default: true
workspace:
host: https://your-workspace.cloud.databricks.com/ # change to your own host URL
resources:
apps:
hello-world-app:
name: "hello-world-app-dev"
host: ${var.databricks_host} # change to your own host URL

prod:
mode: production
workspace:
host: https://your-workspace.cloud.databricks.com/ # change to your own host URL
host: ${var.databricks_host} # change to your own host URL
root_path: /Workspace/Users/${workspace.current_user.userName}/.bundle/${bundle.name}/${bundle.target}
permissions:
- user_name: ${workspace.current_user.userName}
Expand Down
2 changes: 1 addition & 1 deletion src/app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
w = WorkspaceClient()


if st.button(f"Trigger job with ID {JOB_ID}"):
if st.button(f"Trigger job with the ID: {JOB_ID}"):
try:
response = w.jobs.run_now(job_id=JOB_ID)
st.success("Job started successfully!")
Expand Down