File tree Expand file tree Collapse file tree 2 files changed +38
-0
lines changed
acceptance/bundle/templates/default-python Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change 1
1
--- [TESTROOT]/bundle/templates/default-python/classic/../serverless/output/my_default_python/databricks.yml
2
2
+++ output/my_default_python/databricks.yml
3
+ <<<<<<< HEAD
3
4
@@ -25,4 +25,8 @@
4
5
host: [DATABRICKS_URL]
5
6
6
7
+ artifacts:
7
8
+ python_artifact:
8
9
+ 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)
9
21
+
10
22
prod:
11
23
mode: production
38
50
- # Full documentation of this spec can be found at:
39
51
- # https://docs.databricks.com/api/workspace/jobs/create#environments-spec
40
52
- spec:
53
+ <<<<<<< HEAD
41
54
- client: "2"
55
+ =======
56
+ - client: "1"
57
+ >>>>>>> 5aac9f812 (add missing output files)
42
58
- dependencies:
43
59
- - ../dist/*.whl
44
60
+ job_clusters:
Original file line number Diff line number Diff line change
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
You can’t perform that action at this time.
0 commit comments