Skip to content

Commit 3b746e5

Browse files
author
Mourya S
committed
DAB validate 4th fix
1 parent cb94a05 commit 3b746e5

4 files changed

Lines changed: 4 additions & 27 deletions

File tree

.github/workflows/alteryx-migration.yml

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,10 @@ on:
66
- 'workflows/*.yxmd'
77

88
jobs:
9-
109
migrate:
11-
1210
runs-on: ubuntu-latest
1311

1412
steps:
15-
1613
- name: Checkout
1714
uses: actions/checkout@v4
1815

@@ -24,10 +21,6 @@ jobs:
2421
- name: Install Dependencies
2522
run: |
2623
pip install -r requirements.txt
27-
28-
- name: Install Python Dependencies
29-
run: |
30-
pip install google-genai
3124
3225
- name: Install Databricks CLI
3326
run: |
@@ -37,8 +30,6 @@ jobs:
3730
run: |
3831
databricks version
3932
40-
41-
4233
- name: Parse Workflow
4334
run: |
4435
python parser/parser.py workflows/Sample_Workflow1.yxmd
@@ -59,33 +50,18 @@ jobs:
5950
6051
echo "===== workflow.py ====="
6152
head -50 generated/src/workflow.py
62-
63-
- name: Show Generated Files
64-
run: |
65-
echo "===== databricks.yml ====="
66-
cat generated/databricks.yml
67-
68-
echo "===== jobs.yml ====="
69-
cat generated/resources/jobs.yml
7053
7154
- name: Configure Databricks
7255
env:
7356
DATABRICKS_HOST: ${{ secrets.DATABRICKS_HOST }}
7457
DATABRICKS_TOKEN: ${{ secrets.DATABRICKS_TOKEN }}
7558
run: |
76-
mkdir -p ~/.databricks
7759
cat > ~/.databrickscfg << EOF
7860
[DEFAULT]
7961
host=$DATABRICKS_HOST
8062
token=$DATABRICKS_TOKEN
8163
EOF
82-
- name: Debug Generated Files
83-
run: |
84-
echo "===== databricks.yml ====="
85-
cat generated/databricks.yml
8664
87-
echo "===== jobs.yml ====="
88-
cat generated/resources/jobs.yml
8965
- name: Validate Bundle
9066
run: |
9167
cd generated
@@ -94,4 +70,4 @@ jobs:
9470
- name: Deploy Bundle
9571
run: |
9672
cd generated
97-
databricks bundle deploy
73+
databricks bundle deploy

generated/databricks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ include:
66

77
targets:
88
dev:
9-
default: true
9+
default:*true
1010
mode: development

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
google-genai
1+
google-genai

workflows/Sample_Workflow1.yxmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@
239239
<Wiz_NoOutputFilesMessage />
240240
<Wiz_ChainRunWizard />
241241
</RuntimeProperties>
242+
242243

243244
</Properties>
244245

0 commit comments

Comments
 (0)