feat(cli): write app.yaml + databricks.yml resource bindings on add - #520
Draft
MarioCadenas wants to merge 1 commit into
Draft
feat(cli): write app.yaml + databricks.yml resource bindings on add#520MarioCadenas wants to merge 1 commit into
MarioCadenas wants to merge 1 commit into
Conversation
Wires the deploy-config generator into 'appkit add' for full parity: - After reconciling .env, builds a config plan from the added plugins' resources and additively patches app.yaml + databricks.yml (values from --env flags / prompts feed the bundle target variables). - Runs 'databricks bundle validate' (with --profile) when databricks.yml changed, as a post-write correctness gate. - Warns when a resource type needs a user_api_scope (genie_space, volume, serving_endpoint) since scopes are deferred to the manifest scope-extension follow-up. - Adds -p/--profile flag. Tests for scopesForResources. Signed-off-by: MarioCadenas <MarioCadenas@users.noreply.github.com>
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.
Stack 5/7 — base: `feat/registry-config-gen`
What
Wires the deploy-config generator into `appkit add` for full parity:
Tests
Tests for `scopesForResources`; the generator itself is covered in 4/7.
Part of the resource-aware `appkit add` stack (5/7).