Skip to content

Commit 4609db6

Browse files
authored
fix: bug for cli-pipelines template include path (#3199)
## Changes Changed include path in `databricks.yml` for `cli-pipelines` template to include project/*.yml files. ## Why Bug in include path has `bundle deploy` not recognize pipelines as resources. ## Tests Modified sample templates in tests to use new path.
1 parent 40fae91 commit 4609db6

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

acceptance/pipelines/init/error-cases/output/my_project/databricks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ bundle:
77
include:
88
- resources/*.yml
99
- resources/*/*.yml
10-
- ./*.yml
10+
- ./*/*.yml
1111

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

acceptance/pipelines/init/python/output/my_python_project/databricks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ bundle:
77
include:
88
- resources/*.yml
99
- resources/*/*.yml
10-
- ./*.yml
10+
- ./*/*.yml
1111

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

acceptance/pipelines/init/sql/output/my_sql_project/databricks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ bundle:
77
include:
88
- resources/*.yml
99
- resources/*/*.yml
10-
- ./*.yml
10+
- ./*/*.yml
1111

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

libs/template/templates/cli-pipelines/template/{{.project_name}}/databricks.yml.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ bundle:
77
include:
88
- resources/*.yml
99
- resources/*/*.yml
10-
- ./*.yml
10+
- ./*/*.yml
1111
1212
# Variable declarations. These variables are assigned in the dev/prod targets below.
1313
variables:

0 commit comments

Comments
 (0)