generated from openmcp-project/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTaskfile_controller.yaml
67 lines (56 loc) · 1.55 KB
/
Taskfile_controller.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
version: 3
# This Taskfile is meant to be included for controller repos.
# In addition to the library tasks, it contains tasks for building binaries and images.
run: once
method: checksum
includes:
lib:
taskfile: Taskfile_library.yaml
flatten: true
build:
taskfile: tasks_build.yaml
aliases:
- bld
- b
tasks:
# The following tasks are non-namespaced aliases for the most important namespaced tasks.
# This helps with visibility on 'task -l'.
all:
desc: " Run code generation and validation, build all artifacts and push them to the respective registries."
summary: This is an alias for 'build:all'.
run: once
deps:
- build:all
build:
desc: " Build the binaries. Includes code generation and validation."
summary: This is an alias for 'build:bin:all'.
run: once
deps:
- build:bin:all
build-raw:
desc: " Like 'build', but skips code generation/validation tasks."
summary: This is an alias for 'build:bin:build-multi-raw'.
run: once
deps:
- build:bin:build-multi-raw
image:
desc: " Build and push the images. Includes binary build."
summary: This is an alias for 'build:img:all'.
run: once
deps:
- build:img:all
helm:
desc: " Package and push the helm charts."
summary: This is an alias for 'build:helm:all'.
aliases:
- chart
- helm-chart
run: once
deps:
- build:helm:all
ocm:
desc: " Build and push the OCM component."
summary: This is an alias for 'build:ocm:all'.
run: once
deps:
- build:ocm:all