Skip to content

Commit 80e9cb4

Browse files
demo test
1 parent 6a11969 commit 80e9cb4

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

.github/workflows/flights_liquibase.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,10 @@ jobs:
108108
109109
- uses: databricks/setup-cli@main
110110

111-
# - run: cd flights/flights-liquibase; databricks bundle deploy --target test_automated
112-
# env:
113-
# DATABRICKS_HOST: ${{ secrets.DATABRICKS_HOST }}
114-
# DATABRICKS_TOKEN: ${{ secrets.DATABRICKS_TOKEN_TST }}
115-
# DATABRICKS_BUNDLE_ENV: tst
111+
- name: Run job (in staging)
112+
env:
113+
DATABRICKS_HOST: ${{ secrets.DATABRICKS_HOST }}
114+
DATABRICKS_TOKEN: ${{ secrets.DATABRICKS_TOKEN_TST }}
115+
DATABRICKS_BUNDLE_ENV: tst
116+
run: |
117+
cd flights/flights-liquibase; databricks bundle deploy; databricks bundle run flights_notebook

flights/flights-liquibase/databricks.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ targets:
3939
# automatic triggers for jobs and enables the 'development' mode for Delta Live Tables pipelines.
4040
mode: development
4141
default: true
42-
workspace:
43-
host: https://e2-demo-field-eng.cloud.databricks.com/
44-
root_path: /Users/${workspace.current_user.userName}/.bundle/${bundle.name}/${bundle.target}
42+
# workspace:
43+
# host: https://e2-demo-field-eng.cloud.databricks.com/
44+
# root_path: /Users/${workspace.current_user.userName}/.bundle/${bundle.name}/${bundle.target}
4545
# resource override
4646
## Only create this schema in dev, for other targets manage with Terraform.
4747

flights/flights-liquibase/src/flights/flights_main_notebook.py renamed to flights/flights-liquibase/src/flights_main_notebook.py

File renamed without changes.

0 commit comments

Comments
 (0)