docs(databricks-dabs): port DAB content vendored in devhub#104
Open
jamesbroadhead wants to merge 1 commit into
Open
docs(databricks-dabs): port DAB content vendored in devhub#104jamesbroadhead wants to merge 1 commit into
jamesbroadhead wants to merge 1 commit into
Conversation
Adds material that previously lived only in
devhub's vendored copy of `declarative-automation-bundles.md`:
- `bundle init` workflow + the built-in template list
- `bundle generate` for adopting existing resources
- `bundle destroy`
- Classic shared-cluster job example (`job_clusters` / `job_cluster_key`)
- `registered_models` resource example
- Consolidated substitutions reference (`${var.*}`, `${bundle.*}`,
`${workspace.current_user.*}`, `${resources.*}`)
- Troubleshooting entries for "variable shows as literal" and
`--debug` for unclear validation errors
With this in DAS, devhub can drop its vendored databricks-* skills and
rely on `databricks aitools install`.
Signed-off-by: James Broadhead <james.broadhead@databricks.com>
3 tasks
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
The devhub repo vendors a stale copy of
declarative-automation-bundles.mdunder.agents/skills/databricks-core/. Most of its content is already covered bydatabricks-dabshere, but a few pieces aren't — this PR ports them across so devhub can delete its vendored copy and point at this skill.Ported into
references/bundle-structure.md:job_clusters+job_cluster_keyexample withautoscale. Complements the existing serverless and inlinenew_clusterpatterns.registered_models.<key>withname/description.${var.*},${bundle.name},${bundle.target},${workspace.current_user.userName},${workspace.current_user.short_name},${workspace.file_path},${resources.{jobs,pipelines}.<key>.id}.Ported into
references/deploy-and-run.md:bundle init+ the built-in template list (default-python,default-sql,default-scala,lakeflow-pipelines,dbt-sql,default-minimal).bundle generate {job,pipeline,dashboard,app}.bundle destroy [-t target]with the warning that it's destructive.\${var.name}literal" and "Validation errors unclear →--debug".python3 scripts/skills.py validatepasses locally — manifest doesn't need regeneration since no SKILL.md/openai.yaml/asset files changed.Test plan
python3 scripts/skills.py validate(CI workflow runs the same)This pull request and its description were written by Claude (james.broadhead@databricks.com).