Skip to content

Commit d46ca7b

Browse files
committed
serverless and no schedule
1 parent af84ba2 commit d46ca7b

5 files changed

Lines changed: 19 additions & 33 deletions

File tree

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
.databricks
32
*.jar
4-
*.class
3+
*.class

knowledge_base/target_includes/resources/set1/job_1.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,8 @@ job-config: &job-config
88
- task_key: "process_data"
99
notebook_task:
1010
notebook_path: ../../src/notebook.py
11-
new_cluster:
12-
spark_version: "13.3.x-scala2.12"
13-
node_type_id: "Standard_DS3_v2"
14-
num_workers: 1
1511
max_concurrent_runs: 1
1612
timeout_seconds: 3600
17-
schedule:
18-
quartz_cron_expression: "0 0 12 * * ?"
19-
timezone_id: "UTC"
2013

2114
targets:
2215
dev:

knowledge_base/target_includes/resources/set1/job_2.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,18 @@
33

44
job-config: &job-config
55
set1-job-2:
6-
name: "Set1 Job 2 - ${var.environment}"
6+
name: "Set1 Job 2 - ${bundle.target}"
77
tasks:
88
- task_key: "process_data"
99
notebook_task:
1010
notebook_path: ../../src/notebook.py
11-
new_cluster:
12-
spark_version: "13.3.x-scala2.12"
13-
node_type_id: "Standard_DS3_v2"
14-
num_workers: 1
1511
max_concurrent_runs: 1
1612
timeout_seconds: 3600
17-
schedule:
18-
quartz_cron_expression: "0 0 12 * * ?"
19-
timezone_id: "UTC"
13+
trigger:
14+
type: "cron"
15+
cron:
16+
quartz_cron_expression: "0 0 12 * * ?"
17+
timezone_id: "UTC"
2018

2119
targets:
2220
dev:

knowledge_base/target_includes/resources/set2/job_1.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,18 @@
33

44
job-config: &job-config
55
set2-job-1:
6-
name: "Set2 Job 1 - ${var.environment}"
6+
name: "Set2 Job 1 - ${bundle.target}"
77
tasks:
88
- task_key: "process_data"
99
notebook_task:
1010
notebook_path: ../../src/notebook.py
11-
new_cluster:
12-
spark_version: "13.3.x-scala2.12"
13-
node_type_id: "Standard_DS3_v2"
14-
num_workers: 1
1511
max_concurrent_runs: 1
1612
timeout_seconds: 3600
17-
schedule:
18-
quartz_cron_expression: "0 0 12 * * ?"
19-
timezone_id: "UTC"
13+
trigger:
14+
type: "cron"
15+
cron:
16+
quartz_cron_expression: "0 0 12 * * ?"
17+
timezone_id: "UTC"
2018

2119
targets:
2220
staging:

knowledge_base/target_includes/resources/set2/job_2.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,18 @@
33

44
job-config: &job-config
55
set2-job-2:
6-
name: "Set2 Job 2 - ${var.environment}"
6+
name: "Set2 Job 2 - ${bundle.target}"
77
tasks:
88
- task_key: "process_data"
99
notebook_task:
1010
notebook_path: ../../src/notebook.py
11-
new_cluster:
12-
spark_version: "13.3.x-scala2.12"
13-
node_type_id: "Standard_DS3_v2"
14-
num_workers: 1
1511
max_concurrent_runs: 1
1612
timeout_seconds: 3600
17-
schedule:
18-
quartz_cron_expression: "0 0 12 * * ?"
19-
timezone_id: "UTC"
13+
trigger:
14+
type: "cron"
15+
cron:
16+
quartz_cron_expression: "0 0 12 * * ?"
17+
timezone_id: "UTC"
2018

2119
targets:
2220
staging:

0 commit comments

Comments
 (0)