Skip to content

Commit 2718610

Browse files
committed
add missing output files
1 parent 35178f4 commit 2718610

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

acceptance/bundle/templates/default-python/classic/out.compare-vs-serverless.diff

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,23 @@
11
--- [TESTROOT]/bundle/templates/default-python/classic/../serverless/output/my_default_python/databricks.yml
22
+++ output/my_default_python/databricks.yml
3+
<<<<<<< HEAD
34
@@ -25,4 +25,8 @@
45
host: [DATABRICKS_URL]
56

67
+ artifacts:
78
+ python_artifact:
89
+ dynamic_version: true
10+
=======
11+
@@ -25,4 +25,11 @@
12+
host: [DATABRICKS_URL]
13+
14+
+ presets:
15+
+ # Set dynamic_version: true on all artifacts of type "whl".
16+
+ # This makes "bundle deploy" add a timestamp to wheel's version before uploading,
17+
+ # new wheel takes over the previous installation even if actual wheel version is unchanged.
18+
+ # See https://docs.databricks.com/aws/en/dev-tools/bundles/settings
19+
+ artifacts_dynamic_version: true
20+
>>>>>>> 5aac9f812 (add missing output files)
921
+
1022
prod:
1123
mode: production
@@ -38,7 +50,11 @@
3850
- # Full documentation of this spec can be found at:
3951
- # https://docs.databricks.com/api/workspace/jobs/create#environments-spec
4052
- spec:
53+
<<<<<<< HEAD
4154
- client: "2"
55+
=======
56+
- client: "1"
57+
>>>>>>> 5aac9f812 (add missing output files)
4258
- dependencies:
4359
- - ../dist/*.whl
4460
+ job_clusters:
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
>>> [CLI] bundle init default-python --config-file [TESTROOT]/bundle/templates/default-python/serverless-customcatalog/../serverless/input.json --output-dir output
3+
4+
Welcome to the default Python template for Databricks Asset Bundles!
5+
Workspace to use (auto-detected, edit in 'my_default_python/databricks.yml'): [DATABRICKS_URL]
6+
7+
✨ Your new project has been created in the 'my_default_python' directory!
8+
9+
Please refer to the README.md file for "getting started" instructions.
10+
See also the documentation at https://docs.databricks.com/dev-tools/bundles/index.html.
11+
12+
>>> diff.py [TESTROOT]/bundle/templates/default-python/serverless-customcatalog/../serverless/output output/
13+
--- [TESTROOT]/bundle/templates/default-python/serverless-customcatalog/../serverless/output/my_default_python/resources/my_default_python.pipeline.yml
14+
+++ output/my_default_python/resources/my_default_python.pipeline.yml
15+
@@ -4,6 +4,5 @@
16+
my_default_python_pipeline:
17+
name: my_default_python_pipeline
18+
- ## Catalog is required for serverless compute
19+
- catalog: main
20+
+ catalog: customcatalog
21+
schema: my_default_python_${bundle.target}
22+
serverless: true

0 commit comments

Comments
 (0)