-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdeployment.yml
64 lines (57 loc) · 1.74 KB
/
deployment.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
build:
no_build: true
clusters:
test-cluster-props: &test-cluster-props
spark_version: "12.2.x-cpu-ml-scala2.12"
spark_conf:
spark.master: "local[*, 4]"
spark.databricks.cluster.profile": "singleNode"
prod-cluster-props: &prod-cluster-props
spark_version: "12.2.x-cpu-ml-scala2.12"
test-cluster: &test-cluster
new_cluster:
<<: *test-cluster-props
num_workers: 0
instance_pool_id: "0616-122248-prowl82-pool-g8xxgqsy"
driver_instance_pool_id: "0616-122248-prowl82-pool-g8xxgqsy"
prod-cluster: &prod-cluster
new_cluster:
<<: *prod-cluster-props
num_workers: 0
instance_pool_id: "0616-122248-prowl82-pool-g8xxgqsy"
driver_instance_pool_id: "0616-122248-prowl82-pool-g8xxgqsy"
git:
git-source: &git-source
git_url: "https://github.com/DataSentics/cicd_basic_example"
git_provider: "github"
git_branch: "main"
environments:
default:
workflows:
- name: "production_pipeline"
schedule:
quartz_cron_expression: 59 0 0 * * ?
timezone_id: UTC
pause_status: UNPAUSED
git_source:
<<: *git-source
job_clusters:
- job_cluster_key: "default"
<<: *prod-cluster
tasks:
- task_key: "features"
job_cluster_key: "default"
notebook_task:
notebook_path: "features"
- name: "integration_test"
git_source:
<<: *git-source
git_branch: "{{env['GITHUB_HEAD_REF']}}"
job_clusters:
- job_cluster_key: "default"
<<: *test-cluster
tasks:
- task_key: "features"
job_cluster_key: "default"
notebook_task:
notebook_path: "features"