Slim down default-minimal bundle template#5899
Open
janniklasrose wants to merge 18 commits into
Open
Conversation
janniklasrose
temporarily deployed
to
test-trigger-is
July 12, 2026 21:53 — with
GitHub Actions
Inactive
janniklasrose
temporarily deployed
to
test-trigger-is
July 12, 2026 21:53 — with
GitHub Actions
Inactive
Collaborator
Integration test reportCommit: d26e137
18 interesting tests: 12 flaky, 4 SKIP, 2 RECOVERED
Top 22 slowest tests (at least 2 minutes):
|
janniklasrose
marked this pull request as ready for review
July 14, 2026 12:04
| @@ -0,0 +1,3 @@ | |||
| { | |||
| "project_name": "my_skeleton" | |||
Contributor
There was a problem hiding this comment.
maybe we can call it basic or empty?
Contributor
Author
There was a problem hiding this comment.
No strong opinion. I think skeleton is pretty widely understood to be just the scaffolding, but empty might be more obvious to everyone.
Co-authored-by: Isaac
janniklasrose
temporarily deployed
to
test-trigger-is
July 15, 2026 12:12 — with
GitHub Actions
Inactive
janniklasrose
temporarily deployed
to
test-trigger-is
July 15, 2026 12:12 — with
GitHub Actions
Inactive
janniklasrose
temporarily deployed
to
test-trigger-is
July 15, 2026 12:15 — with
GitHub Actions
Inactive
janniklasrose
temporarily deployed
to
test-trigger-is
July 15, 2026 12:15 — with
GitHub Actions
Inactive
andrewnester
approved these changes
Jul 15, 2026
janniklasrose
commented
Jul 15, 2026
Co-authored-by: Isaac
Co-authored-by: Isaac
janniklasrose
temporarily deployed
to
test-trigger-is
July 15, 2026 15:29 — with
GitHub Actions
Inactive
janniklasrose
temporarily deployed
to
test-trigger-is
July 15, 2026 15:29 — with
GitHub Actions
Inactive
lennartkats-db
requested changes
Jul 16, 2026
lennartkats-db
left a comment
Contributor
There was a problem hiding this comment.
We should first discuss if we need this if we also have default-minimal. And, if we do, if we shouldn't fold it into that template.
Per the DABs core eng weekly (2026-07-16), consolidate the empty template into default-minimal instead of shipping a separate template: - Remove the standalone empty template; add 'empty' as an alias of default-minimal so 'databricks bundle init empty' still works. - Simplify default-minimal: stop prompting for a personal schema (always use a personal dev schema) and reduce the language question to python/skip, since sql and other produced identical output. - Add a comment in the shared databricks.yml template guiding users on the catalog and schema variables. Co-authored-by: Isaac
…init-improvements
…bricks.yml" This reverts commit aa5cdb2.
- Restore 'sql' alongside 'python' and 'skip' in default-minimal's language picker; derive .language directly from the choice instead of collapsing non-python to sql. - Gate the Python extras (pyproject.toml, tests/) on 'not python' rather than 'is sql' so 'skip' excludes them too; unchanged for default-python. - README: render 'SQL' for sql, 'Python' for python, and nothing for skip. - Drop the extra catalog/schema comment from the shared databricks.yml; the existing comment was sufficient. Co-authored-by: Isaac
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
databricks bundle initby parameterizing the underlying template to python-specific vs generic contentWhy
Related: #5953
Make it easier to get started with bundles: Running
bundle generaterequires adatabricks.yml, and all the other existing templates created bybundle initadd way more than needed for the workflow of:Tests
Updated tests for all three permutations of
default-minimalManual:
Expected golden outputs: acceptance/bundle/templates/default-minimal/