-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtaskfile.yaml
More file actions
48 lines (43 loc) · 1 KB
/
taskfile.yaml
File metadata and controls
48 lines (43 loc) · 1 KB
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
---
version: "3"
tasks:
install:
cmds:
- >
brew install
helm
helmfile
kube-score
kube-linter
yamllint
prettier
trufflehog
markdownlint-cli
actionlint
- "helm plugin install https://github.com/helm-unittest/helm-unittest.git"
render:
cmds:
- >
helmfile template -f ./chart/helmfile.yaml
--output-dir dist
--output-dir-template '{{"{{ .OutputDir }}"}}'
lint:
deps:
- "render"
cmds:
- "prettier --write ."
- "markdownlint '**/*.md'"
- "yamllint ."
- "yamllint -c .yamllint-manifests.yaml ."
- "kube-score score chart/dist/grafaml/templates/*.yaml"
- "kube-linter lint chart/dist/grafaml/templates/*.yaml"
- "trufflehog git file://."
test:
cmds:
- "helm unittest -f 'templates/*-test.yaml' ./chart"
build:
cmds:
- "cp ./README.md ./chart/README.md"
- >
helm package chart
--version "0.0.0"