Skip to content

Add databricks.yml.tmpl to appkit pre-rendered templates#229

Merged
pkosiec merged 3 commits into
databricks:mainfrom
pkosiec:pkosiec/databricks-yml-tmpl
Jun 2, 2026
Merged

Add databricks.yml.tmpl to appkit pre-rendered templates#229
pkosiec merged 3 commits into
databricks:mainfrom
pkosiec:pkosiec/databricks-yml-tmpl

Conversation

@pkosiec

@pkosiec pkosiec commented Jun 2, 2026

Copy link
Copy Markdown
Member

Summary

Adds databricks.yml.tmpl (the full appkit Go template) alongside the existing static databricks.yml in each appkit-* template directory.

When databricks apps init --template <pre-rendered> runs:

  • The CLI's copyTemplate() walks files in lexical order
  • databricks.yml is written first (static reference)
  • databricks.yml.tmpl renders second and overwrites it
  • --set values flow through {{.bundle.resources}}, {{.bundle.targetVariables}}, {{.projectName}}, {{.workspaceHost}}, etc.

Related PRs

This pull request and its description were written by Isaac.

@pkosiec pkosiec marked this pull request as ready for review June 2, 2026 13:45
pkosiec added 3 commits June 2, 2026 17:34
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
@pkosiec pkosiec force-pushed the pkosiec/databricks-yml-tmpl branch from e5d155b to 2297598 Compare June 2, 2026 15:34
@pkosiec pkosiec merged commit e87de54 into databricks:main Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants