Skip to content

Commit b8e42a0

Browse files
Remove resources/*/*.yml include pattern from bundle templates (#4751)
## Changes Remove the unused `resources/*/*.yml` include pattern from bundle templates. Only `resources/*.yml` is needed. We abandoned the other pattern some time back.
1 parent 7d72111 commit b8e42a0

File tree

21 files changed

+3
-22
lines changed

21 files changed

+3
-22
lines changed

acceptance/bundle/templates/dbt-sql/output/my_dbt_sql/databricks.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ bundle:
77

88
include:
99
- resources/*.yml
10-
- resources/*/*.yml
1110

1211
# Deployment targets.
1312
# The default schema, catalog, etc. for dbt are defined in dbt_profiles/profiles.yml

acceptance/bundle/templates/default-minimal/output/my_default_minimal/databricks.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ bundle:
66

77
include:
88
- resources/*.yml
9-
- resources/*/*.yml
109

1110
# Variable declarations. These variables are assigned in the dev/prod targets below.
1211
variables:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--- [TESTROOT]/bundle/templates/default-python/classic/../serverless/output/my_default_python/databricks.yml
22
+++ output/my_default_python/databricks.yml
3-
@@ -34,4 +34,6 @@
3+
@@ -33,4 +33,6 @@
44
catalog: hive_metastore
55
schema: ${workspace.current_user.short_name}
66
+ presets:

acceptance/bundle/templates/default-python/classic/output/my_default_python/databricks.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ bundle:
66

77
include:
88
- resources/*.yml
9-
- resources/*/*.yml
109

1110
artifacts:
1211
python_artifact:

acceptance/bundle/templates/default-python/serverless-customcatalog/output.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ To get started, refer to the project README.md file and the documentation at htt
1515
>>> diff.py [TESTROOT]/bundle/templates/default-python/serverless-customcatalog/../serverless/output output/
1616
--- [TESTROOT]/bundle/templates/default-python/serverless-customcatalog/../serverless/output/my_default_python/databricks.yml
1717
+++ output/my_default_python/databricks.yml
18-
@@ -32,5 +32,5 @@
18+
@@ -31,5 +31,5 @@
1919
host: [DATABRICKS_URL]
2020
variables:
2121
- catalog: hive_metastore
2222
+ catalog: customcatalog
2323
schema: ${workspace.current_user.short_name}
2424
prod:
25-
@@ -41,5 +41,5 @@
25+
@@ -40,5 +40,5 @@
2626
root_path: /Workspace/Users/[USERNAME]/.bundle/${bundle.name}/${bundle.target}
2727
variables:
2828
- catalog: hive_metastore

acceptance/bundle/templates/default-python/serverless/output/my_default_python/databricks.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ bundle:
66

77
include:
88
- resources/*.yml
9-
- resources/*/*.yml
109

1110
artifacts:
1211
python_artifact:

acceptance/bundle/templates/default-sql/output/my_default_sql/databricks.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ bundle:
66

77
include:
88
- resources/*.yml
9-
- resources/*/*.yml
109

1110
# Variable declarations. These variables are assigned in the dev/prod targets below.
1211
variables:

acceptance/bundle/templates/experimental-jobs-as-code/output/my_jobs_as_code/databricks.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ artifacts:
2323

2424
include:
2525
- resources/*.yml
26-
- resources/*/*.yml
2726

2827
targets:
2928
dev:

acceptance/bundle/templates/lakeflow-pipelines/python/output/my_lakeflow_pipelines/databricks.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ bundle:
66

77
include:
88
- resources/*.yml
9-
- resources/*/*.yml
109

1110
# Variable declarations. These variables are assigned in the dev/prod targets below.
1211
variables:

acceptance/bundle/templates/lakeflow-pipelines/sql/output/my_lakeflow_pipelines/databricks.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ bundle:
66

77
include:
88
- resources/*.yml
9-
- resources/*/*.yml
109

1110
# Variable declarations. These variables are assigned in the dev/prod targets below.
1211
variables:

0 commit comments

Comments
 (0)