Update based on new templates and add a script for future updates#93
Merged
lennartkats-db merged 5 commits intomainfrom Aug 25, 2025
Merged
Update based on new templates and add a script for future updates#93lennartkats-db merged 5 commits intomainfrom
lennartkats-db merged 5 commits intomainfrom
Conversation
andrewnester
approved these changes
Aug 1, 2025
| # Extract project_name from JSON | ||
| local PROJECT_NAME=$(echo "$CONFIG_JSON" | grep -o '"project_name"[[:space:]]*:[[:space:]]*"[^"]*"' | cut -d'"' -f4) | ||
|
|
||
| # Use 'cli' if available, otherwise fall back to 'databricks' |
Contributor
Author
There was a problem hiding this comment.
cli might be a development build of databricks (it is on my system, at least :-o)
|
|
||
| cd $(dirname $0)/.. | ||
|
|
||
| init_bundle "default-python" "87d5a23e-7bc7-4f52-98ee-e374b67d5681" '{ |
Contributor
There was a problem hiding this comment.
Just to double check - it does not really matter that we reuse the same UUID here?
Contributor
Author
There was a problem hiding this comment.
For future metrics purposes it might be helpful
| local CONFIG_JSON="$3" | ||
|
|
||
| # Extract project_name from JSON | ||
| local PROJECT_NAME=$(echo "$CONFIG_JSON" | grep -o '"project_name"[[:space:]]*:[[:space:]]*"[^"]*"' | cut -d'"' -f4) |
Contributor
There was a problem hiding this comment.
Can you use jq instead? It might be easier than parsing manually
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.
This updates to the latest templates, adds
lakeflow-pipelines-{python,sql}, and a script for future updates underscripts/`.Reviewers, please review the script + whether references to personal addresses like
lennart.kats@databricks.comare properly scrubbed.