Add databricks.yml.tmpl to appkit pre-rendered templates#229
Merged
Conversation
MarioCadenas
approved these changes
Jun 2, 2026
Add new appkit-serving template for Databricks Model Serving endpoint integration. Regenerate all existing AppKit templates with latest appkit, bumping @databricks/appkit from 0.21.0 to 0.22.0. Update README with serving template entry. Co-authored-by: Isaac
Copy the full appkit databricks.yml.tmpl into each appkit-* template
directory. When `databricks apps init --template <pre-rendered>` runs,
the CLI's copyTemplate() processes files in lexical order — the static
databricks.yml is written first, then databricks.yml.tmpl renders and
overwrites it. This means --set values now properly render into the
output databricks.yml through {{.bundle.resources}}, {{.bundle.variables}},
{{.bundle.targetVariables}}, {{.projectName}}, and {{.workspaceHost}}.
The static databricks.yml remains as a readable reference for users
who copy the template directory without using the CLI.
Co-authored-by: Isaac
…gres.project Regenerated all 6 appkit templates from the latest appkit template source. Key changes: - appkit-all-in-one: remove serving plugin (analytics, files, genie, lakebase only) - All lakebase templates: add postgres.project field (new manifest requirement) - All templates: include databricks.yml.tmpl for CLI template rendering - Synced plugin manifests and dependencies to latest appkit Co-authored-by: Isaac
e5d155b to
2297598
Compare
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.
Summary
Adds
databricks.yml.tmpl(the full appkit Go template) alongside the existing staticdatabricks.ymlin eachappkit-*template directory.When
databricks apps init --template <pre-rendered>runs:copyTemplate()walks files in lexical orderdatabricks.ymlis written first (static reference)databricks.yml.tmplrenders second and overwrites it--setvalues flow through{{.bundle.resources}},{{.bundle.targetVariables}},{{.projectName}},{{.workspaceHost}}, etc.Related PRs
This pull request and its description were written by Isaac.