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 template/.env.example.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ DATABRICKS_HOST=https://...
{{.dotenv_example}}
{{- end}}
DATABRICKS_APP_PORT=8000
DATABRICKS_APP_NAME=minimal
DATABRICKS_APP_NAME={{.project_name}}
FLASK_RUN_HOST=0.0.0.0
2 changes: 1 addition & 1 deletion template/.env.tmpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{if ne .profile ""}}DATABRICKS_CONFIG_PROFILE={{.profile}}{{else}}DATABRICKS_HOST={{workspace_host}}{{end}}
{{if ne .profile ""}}DATABRICKS_CONFIG_PROFILE={{.profile}}{{else}}DATABRICKS_HOST={{.workspace_host}}{{end}}
{{- if .dotenv}}
{{.dotenv}}
{{- end}}
Expand Down
10 changes: 0 additions & 10 deletions template/.gitignore.tmpl

This file was deleted.

11 changes: 5 additions & 6 deletions template/databricks.yml.tmpl
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
bundle:
name: {{.project_name}}
{{if .bundle_variables}}
{{if .variables}}

variables:
{{.bundle_variables}}
{{.variables}}
{{- end}}

resources:
Expand All @@ -16,19 +16,18 @@ resources:
# Uncomment to enable on behalf of user API scopes. Available scopes: sql, dashboards.genie, files.files
# user_api_scopes:
# - sql
{{if .bundle_resources}}
{{if .resources}}

# The resources which this app has access to.
resources:
{{.bundle_resources}}
{{.resources}}
{{- end}}

targets:
default:
# mode: production
default: true
workspace:
host: {{workspace_host}}
host: {{.workspace_host}}
{{if .target_variables}}

variables:
Expand Down
2 changes: 0 additions & 2 deletions template/features/analytics/app_env.yml

This file was deleted.

4 changes: 0 additions & 4 deletions template/features/analytics/bundle_resources.yml

This file was deleted.

2 changes: 0 additions & 2 deletions template/features/analytics/bundle_variables.yml

This file was deleted.

1 change: 0 additions & 1 deletion template/features/analytics/dotenv.yml

This file was deleted.

1 change: 0 additions & 1 deletion template/features/analytics/dotenv_example.yml

This file was deleted.

1 change: 0 additions & 1 deletion template/features/analytics/target_variables.yml

This file was deleted.

Loading