update test

This commit is contained in:
Denis Bilenko 2025-02-12 12:28:49 +01:00
parent d7496cdc46
commit 3b19b695af
4 changed files with 18 additions and 33 deletions

View File

@ -64,7 +64,7 @@
]
},
"format": "MULTI_TASK",
"id": "0",
"id": "1",
"max_concurrent_runs": 4,
"name": "[[TARGET] [USERNAME]] my_default_sql_sql_job",
"parameters": [
@ -119,7 +119,7 @@
"unit": "DAYS"
}
},
"url": "[DATABRICKS_URL]/jobs/0?o=900800700600"
"url": "[DATABRICKS_URL]/jobs/1?o=900800700600"
}
}
},

View File

@ -26,12 +26,14 @@
},
"uuid": "[UUID]"
},
@@ -65,15 +63,14 @@
@@ -64,16 +62,15 @@
]
},
"format": "MULTI_TASK",
"id": "0",
- "id": "1",
- "max_concurrent_runs": 4,
- "name": "[[TARGET] [USERNAME]] my_default_sql_sql_job",
+ "id": "2",
+ "name": "my_default_sql_sql_job",
"parameters": [
{
@ -55,7 +57,7 @@
},
"tasks": [
{
@@ -113,7 +110,6 @@
@@ -113,13 +110,12 @@
}
],
"trigger": {
@ -63,6 +65,13 @@
"periodic": {
"interval": 1,
"unit": "DAYS"
}
},
- "url": "[DATABRICKS_URL]/jobs/1?o=900800700600"
+ "url": "[DATABRICKS_URL]/jobs/2?o=900800700600"
}
}
},
@@ -128,13 +124,14 @@
"."
]

View File

@ -62,7 +62,7 @@
]
},
"format": "MULTI_TASK",
"id": "0",
"id": "2",
"name": "my_default_sql_sql_job",
"parameters": [
{
@ -115,7 +115,7 @@
"unit": "DAYS"
}
},
"url": "[DATABRICKS_URL]/jobs/0?o=900800700600"
"url": "[DATABRICKS_URL]/jobs/2?o=900800700600"
}
}
},

View File

@ -46,36 +46,12 @@ Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/my_default_sql/dev
Deploying resources...
Updating deployment state...
Deployment complete!
Error: terraform apply: exit status 1
Error: cannot read job:
with databricks_job.my_default_sql_sql_job,
on bundle.tf.json line 81, in resource.databricks_job.my_default_sql_sql_job:
81: }
Exit code: 1
>>> [CLI] bundle deploy -t prod
Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/my_default_sql/prod/files...
Deploying resources...
Updating deployment state...
Deployment complete!
Error: terraform apply: exit status 1
Error: cannot read job:
with databricks_job.my_default_sql_sql_job,
on bundle.tf.json line 80, in resource.databricks_job.my_default_sql_sql_job:
80: }
Exit code: 1
=== Testing summary, both JSON and regular output
>>> [CLI] bundle summary -t dev
@ -89,7 +65,7 @@ Resources:
Jobs:
my_default_sql_sql_job:
Name: [dev [USERNAME]] my_default_sql_sql_job
URL: [DATABRICKS_URL]/jobs/0?o=900800700600
URL: [DATABRICKS_URL]/jobs/1?o=900800700600
>>> [CLI] bundle summary -t dev -o json
@ -106,7 +82,7 @@ Resources:
Jobs:
my_default_sql_sql_job:
Name: my_default_sql_sql_job
URL: [DATABRICKS_URL]/jobs/0?o=900800700600
URL: [DATABRICKS_URL]/jobs/2?o=900800700600
>>> diff -u ../../out.summary.dev.json ../../out.summary.prod.json