From 1c34dc92a43924287cd6a6f94fd1b1ab0c5c3ec0 Mon Sep 17 00:00:00 2001 From: Lennart Kats Date: Wed, 4 Sep 2024 16:07:21 +0200 Subject: [PATCH] Add comments --- .../{{.project_name}}/resources/{{.project_name}}_job.yml.tmpl | 1 + .../{{.project_name}}/resources/{{.project_name}}_job.yml.tmpl | 1 + .../resources/{{.project_name}}_sql_job.yml.tmpl | 1 + 3 files changed, 3 insertions(+) diff --git a/libs/template/templates/dbt-sql/template/{{.project_name}}/resources/{{.project_name}}_job.yml.tmpl b/libs/template/templates/dbt-sql/template/{{.project_name}}/resources/{{.project_name}}_job.yml.tmpl index 43fd2e5c8..edeafd9b1 100644 --- a/libs/template/templates/dbt-sql/template/{{.project_name}}/resources/{{.project_name}}_job.yml.tmpl +++ b/libs/template/templates/dbt-sql/template/{{.project_name}}/resources/{{.project_name}}_job.yml.tmpl @@ -4,6 +4,7 @@ resources: name: {{.project_name}}_job trigger: + # Run this job every day; see https://docs.databricks.com/api/workspace/jobs/create periodic: interval: 1 unit: DAYS diff --git a/libs/template/templates/default-python/template/{{.project_name}}/resources/{{.project_name}}_job.yml.tmpl b/libs/template/templates/default-python/template/{{.project_name}}/resources/{{.project_name}}_job.yml.tmpl index 0350d42cf..29a932582 100644 --- a/libs/template/templates/default-python/template/{{.project_name}}/resources/{{.project_name}}_job.yml.tmpl +++ b/libs/template/templates/default-python/template/{{.project_name}}/resources/{{.project_name}}_job.yml.tmpl @@ -11,6 +11,7 @@ resources: name: {{.project_name}}_job trigger: + # Run this job every day; see https://docs.databricks.com/api/workspace/jobs/create periodic: interval: 1 unit: DAYS diff --git a/libs/template/templates/default-sql/template/{{.project_name}}/resources/{{.project_name}}_sql_job.yml.tmpl b/libs/template/templates/default-sql/template/{{.project_name}}/resources/{{.project_name}}_sql_job.yml.tmpl index 2e6004186..31bdf72d5 100644 --- a/libs/template/templates/default-sql/template/{{.project_name}}/resources/{{.project_name}}_sql_job.yml.tmpl +++ b/libs/template/templates/default-sql/template/{{.project_name}}/resources/{{.project_name}}_sql_job.yml.tmpl @@ -5,6 +5,7 @@ resources: name: {{.project_name}}_sql_job trigger: + # Run this job every day; see https://docs.databricks.com/api/workspace/jobs/create periodic: interval: 1 unit: DAYS