cli icon indicating copy to clipboard operation
cli copied to clipboard

Pass template name to README for templates that inherit from 'default'

Open lennartkats-db opened this issue 1 month ago β€’ 1 comments

Changes

The default, default-python, pydabs, and lakeflow-pipelines templates now correctly display their template name in the generated README instead of always saying 'default template'.

Why

Showing the actual template name to customers seems helpful, even if it comes at the cost of a bit of extra code in the template.

Tests

Standard template acceptance tests

lennartkats-db avatar Nov 07 '25 07:11 lennartkats-db

Run: 19386822754

Env πŸŸ¨β€‹KNOWN πŸ’šβ€‹RECOVERED πŸ™ˆβ€‹SKIP βœ…β€‹pass πŸ™ˆβ€‹skip Time
πŸŸ¨β€‹ aws linux 7 2 360 613 17:28
πŸŸ¨β€‹ aws windows 7 2 361 612 18:13
πŸ’šβ€‹ aws-ucws linux 7 2 498 503 21:22
πŸ’šβ€‹ aws-ucws windows 7 2 499 502 20:40
πŸ’šβ€‹ azure linux 1 4 360 612 20:56
πŸ’šβ€‹ azure windows 1 4 361 611 19:45
πŸ’šβ€‹ azure-ucws linux 1 4 494 502 20:52
πŸ’šβ€‹ azure-ucws windows 1 4 495 501 20:55
πŸ’šβ€‹ gcp linux 1 4 356 615 18:23
πŸ’šβ€‹ gcp windows 1 4 357 614 16:27
9 failing tests:
Test Name aws linux aws windows aws-ucws linux aws-ucws windows azure linux azure windows azure-ucws linux azure-ucws windows gcp linux gcp windows
TestAccept πŸŸ¨β€‹K πŸŸ¨β€‹K πŸ’šβ€‹R πŸ’šβ€‹R πŸ’šβ€‹R πŸ’šβ€‹R πŸ’šβ€‹R πŸ’šβ€‹R πŸ’šβ€‹R πŸ’šβ€‹R
TestAccept/bundle/resources/permissions πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S
TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions πŸŸ¨β€‹K πŸŸ¨β€‹K πŸ’šβ€‹R πŸ’šβ€‹R πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S
TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions/DATABRICKS_BUNDLE_ENGINE=direct πŸŸ¨β€‹K πŸŸ¨β€‹K πŸ’šβ€‹R πŸ’šβ€‹R
TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions/DATABRICKS_BUNDLE_ENGINE=terraform πŸŸ¨β€‹K πŸŸ¨β€‹K πŸ’šβ€‹R πŸ’šβ€‹R
TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions πŸŸ¨β€‹K πŸŸ¨β€‹K πŸ’šβ€‹R πŸ’šβ€‹R πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S
TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions/DATABRICKS_BUNDLE_ENGINE=direct πŸŸ¨β€‹K πŸŸ¨β€‹K πŸ’šβ€‹R πŸ’šβ€‹R
TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions/DATABRICKS_BUNDLE_ENGINE=terraform πŸŸ¨β€‹K πŸŸ¨β€‹K πŸ’šβ€‹R πŸ’šβ€‹R
TestAccept/bundle/run/app-with-job πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S
Top 50 slowest tests (at least 2 minutes):
duration env testname
5:43 aws windows TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform
5:37 gcp windows TestAccept/ssh/connection
5:34 aws-ucws linux TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct
5:33 gcp windows TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform
5:30 aws-ucws windows TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform
5:26 aws-ucws linux TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform
5:25 aws windows TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct
5:25 gcp linux TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct
5:24 aws-ucws linux TestAccept/ssh/connection
5:18 aws linux TestAccept/ssh/connection
5:17 gcp windows TestSecretsPutSecretStringValue
5:14 gcp linux TestAccept/bundle/resources/clusters/deploy/data_security_mode/DATABRICKS_BUNDLE_ENGINE=direct
5:13 azure linux TestAccept/ssh/connection
5:12 aws-ucws linux TestAccept/bundle/resources/clusters/deploy/data_security_mode/DATABRICKS_BUNDLE_ENGINE=direct
5:09 aws-ucws windows TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct
5:04 gcp windows TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct
5:02 aws-ucws windows TestAccept/bundle/resources/clusters/deploy/data_security_mode/DATABRICKS_BUNDLE_ENGINE=direct
5:02 azure windows TestSecretsPutSecretStringValue
5:01 gcp linux TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform
4:55 aws windows TestSecretsPutSecretStringValue
4:47 azure-ucws windows TestAccept/ssh/connection
4:47 aws windows TestAccept/bundle/resources/clusters/deploy/data_security_mode/DATABRICKS_BUNDLE_ENGINE=direct
4:38 gcp linux TestAccept/ssh/connection
4:31 azure-ucws linux TestAccept/ssh/connection
4:30 azure-ucws windows TestSecretsPutSecretStringValue
4:27 aws windows TestAccept/ssh/connection
4:24 gcp windows TestAccept/bundle/resources/clusters/deploy/data_security_mode/DATABRICKS_BUNDLE_ENGINE=direct
4:24 azure windows TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform
4:21 azure linux TestAccept/bundle/resources/clusters/deploy/data_security_mode/DATABRICKS_BUNDLE_ENGINE=direct
4:14 azure windows TestAccept/bundle/resources/clusters/deploy/data_security_mode/DATABRICKS_BUNDLE_ENGINE=direct
4:12 azure-ucws linux TestAccept/bundle/resources/clusters/deploy/data_security_mode/DATABRICKS_BUNDLE_ENGINE=direct
4:05 azure linux TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform
4:00 azure-ucws windows TestAccept/bundle/resources/clusters/deploy/data_security_mode/DATABRICKS_BUNDLE_ENGINE=direct
3:58 azure-ucws linux TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct
3:57 azure linux TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct
3:50 azure linux TestSecretsPutSecretStringValue
3:41 azure windows TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct
3:41 azure-ucws windows TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform
3:38 azure-ucws windows TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct
3:35 azure-ucws linux TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform
3:07 aws-ucws windows TestAccept/ssh/connection
3:06 aws linux TestSecretsPutSecretStringValue
3:05 azure-ucws windows TestAccept/bundle/resources/synced_database_tables/basic
3:03 azure-ucws linux TestAccept/bundle/resources/synced_database_tables/basic
3:02 azure windows TestAccept/ssh/connection
2:38 azure-ucws linux TestSecretsPutSecretStringValue
2:30 aws linux TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=terraform
2:29 aws linux TestAccept/bundle/resources/clusters/deploy/update-after-create/DATABRICKS_BUNDLE_ENGINE=direct
2:22 azure-ucws linux TestAccept
2:20 aws-ucws linux TestAccept

eng-dev-ecosystem-bot avatar Nov 07 '25 07:11 eng-dev-ecosystem-bot

Commit: https://github.com/databricks/cli/commit/079891f7667bc2c4cea13f98da952f358eefa1b7

Run: 19506396575

Env πŸŸ¨β€‹KNOWN πŸ”„β€‹flaky πŸ’šβ€‹RECOVERED πŸ™ˆβ€‹SKIP βœ…β€‹pass πŸ™ˆβ€‹skip Time
πŸŸ¨β€‹ aws linux 7 2 1 1 396 600 60:08
πŸŸ¨β€‹ aws windows 10 1 397 599 51:15
πŸŸ¨β€‹ aws-ucws linux 3 7 1 552 484 63:19
πŸŸ¨β€‹ aws-ucws windows 3 7 1 553 483 62:13
πŸŸ¨β€‹ azure linux 4 2 3 394 599 65:29
πŸŸ¨β€‹ azure windows 1 3 3 397 598 52:07
πŸŸ¨β€‹ azure-ucws linux 4 3 548 483 68:30
πŸŸ¨β€‹ azure-ucws windows 3 2 1 3 547 482 68:11
πŸŸ¨β€‹ gcp linux 4 3 383 605 53:40
πŸŸ¨β€‹ gcp windows 4 3 384 604 55:12
13 failing tests:
Test Name aws linux aws windows aws-ucws linux aws-ucws windows azure linux azure windows azure-ucws linux azure-ucws windows gcp linux gcp windows
TestAccept πŸŸ¨β€‹K πŸŸ¨β€‹K πŸŸ¨β€‹K πŸŸ¨β€‹K πŸŸ¨β€‹K πŸ”„β€‹f πŸŸ¨β€‹K πŸŸ¨β€‹K πŸŸ¨β€‹K πŸŸ¨β€‹K
TestAccept/bundle/resources/permissions πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S
TestAccept/bundle/resources/permissions/factcheck βœ…β€‹p βœ…β€‹p βœ…β€‹p βœ…β€‹p πŸ”„β€‹f βœ…β€‹p βœ…β€‹p πŸ”„β€‹f πŸ™ˆβ€‹s πŸ™ˆβ€‹s
TestAccept/bundle/resources/permissions/factcheck/DATABRICKS_BUNDLE_ENGINE=terraform βœ…β€‹p βœ…β€‹p βœ…β€‹p βœ…β€‹p πŸ”„β€‹f βœ…β€‹p βœ…β€‹p πŸ”„β€‹f
TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions πŸŸ¨β€‹K πŸŸ¨β€‹K πŸ’šβ€‹R πŸ’šβ€‹R πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S
TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions/DATABRICKS_BUNDLE_ENGINE=direct πŸŸ¨β€‹K πŸŸ¨β€‹K πŸ’šβ€‹R πŸ’šβ€‹R
TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions/DATABRICKS_BUNDLE_ENGINE=terraform πŸŸ¨β€‹K πŸŸ¨β€‹K πŸ’šβ€‹R πŸ’šβ€‹R
TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions πŸŸ¨β€‹K πŸŸ¨β€‹K πŸ’šβ€‹R πŸ’šβ€‹R πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S πŸ™ˆβ€‹S
TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions/DATABRICKS_BUNDLE_ENGINE=direct πŸŸ¨β€‹K πŸŸ¨β€‹K πŸ’šβ€‹R πŸ’šβ€‹R
TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions/DATABRICKS_BUNDLE_ENGINE=terraform πŸŸ¨β€‹K πŸŸ¨β€‹K πŸ’šβ€‹R πŸ’šβ€‹R
TestAccept/bundle/run/app-with-job πŸ’šβ€‹R πŸŸ¨β€‹K πŸŸ¨β€‹K πŸŸ¨β€‹K πŸŸ¨β€‹K πŸ”„β€‹f πŸŸ¨β€‹K πŸŸ¨β€‹K πŸŸ¨β€‹K πŸŸ¨β€‹K
TestAccept/bundle/run/app-with-job/DATABRICKS_BUNDLE_ENGINE=direct πŸ”„β€‹f πŸŸ¨β€‹K πŸ’šβ€‹R πŸŸ¨β€‹K πŸŸ¨β€‹K πŸ”„β€‹f πŸŸ¨β€‹K πŸ’šβ€‹R πŸŸ¨β€‹K πŸŸ¨β€‹K
TestAccept/bundle/run/app-with-job/DATABRICKS_BUNDLE_ENGINE=terraform πŸ”„β€‹f πŸŸ¨β€‹K πŸŸ¨β€‹K πŸ’šβ€‹R πŸŸ¨β€‹K πŸŸ¨β€‹K πŸŸ¨β€‹K πŸŸ¨β€‹K πŸŸ¨β€‹K πŸŸ¨β€‹K
Top 50 slowest tests (at least 2 minutes):
duration env testname
13:26 gcp windows TestAccept/bundle/integration_whl/interactive_single_user/DATABRICKS_BUNDLE_ENGINE=terraform
12:46 aws-ucws windows TestAccept/bundle/integration_whl/interactive_single_user/DATABRICKS_BUNDLE_ENGINE=terraform
12:45 azure windows TestAccept/bundle/integration_whl/base/DATABRICKS_BUNDLE_ENGINE=direct
12:39 azure-ucws linux TestAccept/bundle/resources/permissions/factcheck/DATABRICKS_BUNDLE_ENGINE=terraform
12:06 aws windows TestAccept/bundle/integration_whl/base/DATABRICKS_BUNDLE_ENGINE=direct
11:10 aws-ucws linux TestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=terraform/DATA_SECURITY_MODE=SINGLE_USER
10:52 azure-ucws windows TestAccept/bundle/integration_whl/base/DATABRICKS_BUNDLE_ENGINE=direct
10:51 aws-ucws linux TestAccept/bundle/resources/model_serving_endpoints/running-endpoint/DATABRICKS_BUNDLE_ENGINE=terraform
10:40 aws-ucws linux TestAccept/bundle/resources/model_serving_endpoints/running-endpoint/DATABRICKS_BUNDLE_ENGINE=direct
9:57 azure-ucws linux TestSparkJarTaskDeployAndRunOnVolumes/Databricks_Runtime_15.4_LTS
9:30 gcp linux TestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=terraform/DATA_SECURITY_MODE=SINGLE_USER
9:24 azure linux TestAccept/bundle/integration_whl/wrapper/DATABRICKS_BUNDLE_ENGINE=direct
8:54 aws-ucws linux TestAccept/bundle/integration_whl/custom_params/DATABRICKS_BUNDLE_ENGINE=direct
8:42 azure-ucws windows TestAccept/bundle/integration_whl/base/DATABRICKS_BUNDLE_ENGINE=terraform
8:36 azure windows TestAccept/bundle/integration_whl/base/DATABRICKS_BUNDLE_ENGINE=terraform
8:27 azure linux TestAccept/bundle/integration_whl/base/DATABRICKS_BUNDLE_ENGINE=direct
8:12 aws-ucws windows TestAccept/bundle/integration_whl/custom_params/DATABRICKS_BUNDLE_ENGINE=direct
8:12 azure-ucws linux TestAccept/bundle/integration_whl/base/DATABRICKS_BUNDLE_ENGINE=direct
8:12 aws linux TestAccept/bundle/resources/clusters/run/spark_python_task/DATABRICKS_BUNDLE_ENGINE=direct
8:09 azure-ucws linux TestAccept/bundle/integration_whl/base/DATABRICKS_BUNDLE_ENGINE=terraform
8:07 aws windows TestAccept/bundle/integration_whl/base/DATABRICKS_BUNDLE_ENGINE=terraform
8:00 aws-ucws windows TestAccept/bundle/integration_whl/custom_params/DATABRICKS_BUNDLE_ENGINE=terraform
8:00 aws-ucws windows TestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=terraform/DATA_SECURITY_MODE=USER_ISOLATION
7:55 aws windows TestSparkJarTaskDeployAndRunOnWorkspace/Databricks_Runtime_15.4_LTS
7:54 azure-ucws linux TestSparkJarTaskDeployAndRunOnVolumes/Databricks_Runtime_13.3_LTS
7:48 aws-ucws windows TestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=direct/DATA_SECURITY_MODE=USER_ISOLATION
7:48 aws linux TestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=terraform/DATA_SECURITY_MODE=USER_ISOLATION
7:47 aws-ucws windows TestAccept/bundle/integration_whl/base/DATABRICKS_BUNDLE_ENGINE=terraform
7:38 aws windows TestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=terraform/DATA_SECURITY_MODE=USER_ISOLATION
7:35 gcp windows TestAccept/bundle/integration_whl/base/DATABRICKS_BUNDLE_ENGINE=direct
7:32 azure linux TestAccept/bundle/integration_whl/base/DATABRICKS_BUNDLE_ENGINE=terraform
7:32 aws-ucws linux TestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=terraform/DATA_SECURITY_MODE=USER_ISOLATION
7:31 gcp linux TestAccept/bundle/integration_whl/base/DATABRICKS_BUNDLE_ENGINE=terraform
7:31 gcp windows TestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=direct/DATA_SECURITY_MODE=USER_ISOLATION
7:29 gcp linux TestAccept/bundle/integration_whl/base/DATABRICKS_BUNDLE_ENGINE=direct
7:29 gcp linux TestAccept/bundle/integration_whl/interactive_single_user/DATABRICKS_BUNDLE_ENGINE=terraform
7:29 gcp linux TestAccept/bundle/integration_whl/interactive_single_user/DATABRICKS_BUNDLE_ENGINE=direct
7:27 aws-ucws windows TestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=terraform/DATA_SECURITY_MODE=SINGLE_USER
7:22 azure windows TestAccept/bundle/integration_whl/interactive_single_user/DATABRICKS_BUNDLE_ENGINE=terraform
7:21 gcp windows TestAccept/bundle/integration_whl/interactive_cluster/DATABRICKS_BUNDLE_ENGINE=terraform
7:20 aws-ucws linux TestAccept/bundle/integration_whl/interactive_cluster/DATABRICKS_BUNDLE_ENGINE=terraform
7:19 azure-ucws linux TestAccept/bundle/resources/model_serving_endpoints/running-endpoint/DATABRICKS_BUNDLE_ENGINE=direct
7:18 aws windows TestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=direct/DATA_SECURITY_MODE=USER_ISOLATION
7:13 gcp windows TestAccept/bundle/integration_whl/base/DATABRICKS_BUNDLE_ENGINE=terraform
7:10 azure-ucws windows TestAccept/bundle/integration_whl/interactive_single_user/DATABRICKS_BUNDLE_ENGINE=terraform
7:09 aws-ucws linux TestSparkJarTaskDeployAndRunOnWorkspace/Databricks_Runtime_14.3_LTS
7:09 aws-ucws windows TestAccept/bundle/integration_whl/interactive_cluster/DATABRICKS_BUNDLE_ENGINE=terraform
7:07 aws linux TestAccept/bundle/integration_whl/base/DATABRICKS_BUNDLE_ENGINE=direct
6:59 aws windows TestAccept/bundle/integration_whl/interactive_cluster_dynamic_version/DATABRICKS_BUNDLE_ENGINE=terraform/DATA_SECURITY_MODE=SINGLE_USER
6:55 aws linux TestAccept/bundle/integration_whl/interactive_single_user/DATABRICKS_BUNDLE_ENGINE=terraform

eng-dev-ecosystem-bot avatar Nov 19 '25 16:11 eng-dev-ecosystem-bot