-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtaskctl.yaml
49 lines (42 loc) · 1022 Bytes
/
taskctl.yaml
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
# Import contexts and tasks for Taskctl
import:
- ./build/taskctl/contexts.yaml
- ./build/taskctl/tasks.yaml
watchers:
lint:
watch:
- '*.yml'
- '*.yaml'
events: [create, write]
task: lint:yaml
pipelines:
setup:
- task: debug:env
- task: buildnumber
depends_on:
- debug:env
lint:
- task: lint:yaml
- task: lint:terraform:format
- task: lint:terraform:validate
# Pipeline to ensure that the infrastructure is valid
infrastructure:
- task: infra:init
- task: infra:plan
depends_on: infra:init
- task: infra:apply
depends_on: infra:plan
infrastructurePlan:
- task: infra:init
- task: infra:plan
depends_on: infra:init
- task: infra:apply
depends_on: infra:plan
databricks:
- task: databricks:connect
- task: databricks:createdir
depends_on: databricks:connect
- task: databricks:upload
depends_on: databricks:createdir
deworkloadTesting:
- task: deworkload:Testing