Add Genie space dev→prod promotion tool (shared/genie-to-prod) - #27
Draft
simranvanjani wants to merge 1 commit into
Draft
Add Genie space dev→prod promotion tool (shared/genie-to-prod)#27simranvanjani wants to merge 1 commit into
simranvanjani wants to merge 1 commit into
Conversation
Adds shared/genie-to-prod/, a standalone tool that promotes Genie spaces from a dev workspace to prod using Databricks Asset Bundles: exports each space, rewrites dev catalog references to prod, shows a diff, and deploys only on explicit confirmation. Includes lib/, tests/, CI templates, and docs. Source: https://github.com/simranvanjani/genie_to_prod Co-authored-by: Isaac
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.
What
Adds
shared/genie-to-prod/, a standalone tool that promotes Genie spaces from a dev Databricks workspace to a prod workspace using Databricks Asset Bundles.It exports each space, rewrites dev Unity Catalog references so prod reads prod data, prints a diff of every change, and deploys only after explicit confirmation. Spaces not selected are never touched.
Includes
lib/(catalog rewriter, config reader, space diff, binding-state),tests/, CI templates (ci/), a bundle definition (databricks.yml), and docs.Source repo: https://github.com/simranvanjani/genie_to_prod
Note on overlap — needs maintainer input
GenieRails already advertises "Dev → prod promotion — one command" and ships
shared/docs/from-ui-to-production.md. This tool covers the same promotion step with a more built-out, DAB-native, confirm-before-deploy flow.Opening as a draft to get maintainer guidance on how this should relate to the existing promotion feature — replace, augment, or sit beside it — before wiring it into the
aws//azure/makeentry points, CI, and README/docs.Not yet done (pending direction)
aws/andazure/maketargets.github/workflows/ci.yml)from-ui-to-production.mdcross-linksThis pull request and its description were written by Isaac.