-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTaskfile.dist.yml
58 lines (47 loc) · 1.09 KB
/
Taskfile.dist.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
# https://taskfile.dev/installation/
version: '3'
tasks:
gen:
desc: Generate code
cmds:
- task: gen:buf
- go generate ./...
- task: gen:chart
gen:buf:
desc: Generate code with buf
cmds:
- buf build
- buf generate
gen:chart:
desc: Generate Helm chart README
# https://github.com/norwoodj/helm-docs/
cmds:
- go run github.com/norwoodj/helm-docs/cmd/helm-docs@latest -t=README.tmpl.md -s=file -b=flat
build:
desc: Build the project
cmds:
- docker compose build observer
run:
desc: Build and run the project
cmds:
- task: build
- docker compose up
ci:lint:
desc: Run linter via act
cmds:
- act -q -j lint-go
ci:test:
desc: Run tests via act
cmds:
- act -q -j test
chart:lint:
desc: Lint Helm chart
cmds:
- helm lint ./charts/youless-observer
chart:debug:
desc: Debug Helm chart
cmds:
- helm template --debug --release-name youless-observer ./charts/youless-observer
chart:pack:
cmds:
- helm package charts/youless-observer