Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dbdemos/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.6.22"
__version__ = "0.6.27"

from .dbdemos import list_demos, install, create_cluster, help, install_all, check_status_all, check_status, get_html_list_demos

5 changes: 5 additions & 0 deletions dbdemos/dbdemos.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,11 @@ def install(demo_name, path = None, overwrite = False, username = None, pat_toke
if demo_name == "identity-pk-fk":
print("WARN: identity-pk-fk has been renamed to sql-warehouse")
demo_name = "sql-warehouse"
if demo_name == "auto-loader":
print("WARN: auto-loader has been renamed to data-ingestion")
demo_name = "data-ingestion"



try:
installer = Installer(username, pat_token, workspace_url, cloud, current_cluster_id = current_cluster_id)
Expand Down
6 changes: 4 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@ def bundle():
#bundler.add_bundle("product_demos/Unity-Catalog/uc-05-upgrade")
# Or manually add bundle to run faster:
"""
bundler.add_bundle("aibi/aibi-sales-pipeline-review")

bundler.add_bundle("product_demos/Unity-Catalog/05-Upgrade-to-UC")
bundler.add_bundle("product_demos/Unity-Catalog/02-External-location")
#bundler.load_bundles_conf()
"""
#bundler.add_bundle("product_demos/data-ingestion")


# Run the jobs (only if there is a new commit since the last time, or failure, or force execution)
bundler.start_and_wait_bundle_jobs(force_execution = False, skip_execution=False, recreate_jobs=False)
Expand All @@ -51,7 +53,7 @@ def bundle():
dbdemos.list_demos(pat_token=c['pat_token'])
#dbdemos.install_all("/Users/quentin.ambard@databricks.com/test_install_quentin", True, c['username'], c['pat_token'], c['url'], cloud="AWS", start_cluster = False, skip_dashboards=False, catalog='main_test_quentin')
#dbdemos.check_status_all()
dbdemos.install("pipeline-bike", "/Users/quentin.ambard@databricks.com/test_install_quentin", True, c['username'], c['pat_token'], c['url'], catalog='main', schema='quentin_test', cloud="AWS", start_cluster = False, skip_dashboards=False, serverless=True)
dbdemos.install("ai-agent", "/Users/quentin.ambard@databricks.com/test_install_quentin", True, c['username'], c['pat_token'], c['url'], catalog='main', schema='quentin_test', cloud="AWS", start_cluster = False, skip_dashboards=False, serverless=True)
#dbdemos.install("lakehouse-iot-platform", "/Users/quentin.ambard@databricks.com/test_install_quentin", True, c['username'], c['pat_token'], c['url'], catalog='main', schema='quentin_test', cloud="AWS", start_cluster = False, skip_dashboards=False, serverless=True)
#dbdemos.install("lakehouse-fsi-fraud", "/Users/quentin.ambard@databricks.com/test_install_quentin", True, c['username'], c['pat_token'], c['url'], catalog='main', schema='quentin_test', cloud="AWS", start_cluster = False, skip_dashboards=False)
#dbdemos.install("lakehouse-retail-c360", "/Users/quentin.ambard@databricks.com/test_install_quentin", True, c['username'], c['pat_token'], c['url'], catalog='main_test_quentin2', schema='quentin_test', cloud="AWS", start_cluster = False, skip_dashboards=False, create_schema=True)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#this will be the package name you will see, e.g. the output of 'conda list' in anaconda prompt
name = 'dbdemos',
#some version number you may wish to add - increment this after every update
version='0.6.22',
version='0.6.27',
author="Databricks",
author_email=["quentin.ambard@databricks.com", "cal.reynolds@databricks.com"],
description="Install databricks demos: notebooks, Delta Live Table Pipeline, DBSQL Dashboards, ML Models etc.",
Expand Down