Repository navigation
Expand file tree
/
Copy pathmise.toml
More file actions
138 lines (108 loc) · 3.25 KB
/
Copy pathmise.toml
File metadata and controls
138 lines (108 loc) · 3.25 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
[settings]
minimum_release_age = "7d" # only install versions released more than 7 days ago - https://mise.en.dev/security.html#minimum-release-age
[env]
EXP_CLUSTER_RESOURCE_SET = "true"
GOTOOLCHAIN = "auto"
[tools]
go = "1.27.4"
golangci-lint = "2.15.0"
helm = "3.22.1"
kubectl = "1.37.2"
kustomize = "5.8.3"
kind = "0.33.0"
ctlptl = "0.9.6"
clusterctl = "1.13.3"
ko = "0.19.1"
"go:github.com/kyverno/chainsaw" = "0.2.15"
"go:golang.org/x/vuln/cmd/govulncheck" = "1.9.0"
"go:github.com/golang/mock/mockgen" = "1.6.0"
yq = "4.54.1"
jq = "1.8.2"
envsubst = "1.4.3"
"pipx:linode-cli" = "5.70.0"
shellcheck = "0.11.0"
[tasks.build]
description = "Build the CCM binary"
run = "make build"
[tasks.clean]
description = "Clean up build artifacts"
run = "make clean"
[tasks.codegen]
description = "Generate code"
run = "make codegen"
[tasks.ko-build]
description = "Build the container image locally with ko"
run = "make ko-build"
[tasks.ko-publish]
description = "Build and publish the container image with ko"
run = "make ko-publish"
[tasks.fmt]
description = "Run go fmt"
run = "make fmt"
[tasks.helm-lint]
description = "Lint the Helm chart"
run = "make helm-lint"
[tasks.mgmt-and-capl-cluster]
description = "Create the management cluster and both CAPL test clusters"
run = "make mgmt-and-capl-cluster"
[tasks.mgmt-cluster]
description = "Create the CAPL management cluster"
run = "make mgmt-cluster"
[tasks.capl-cluster]
description = "Create the primary CAPL child cluster"
run = "make capl-cluster"
[tasks.capl-ipv6-cluster]
description = "Create the IPv6 CAPL child cluster"
run = "make capl-ipv6-cluster"
[tasks.e2e-test]
description = "Run the standard e2e suite"
run = "make e2e-test"
[tasks.e2e-test-ipv6-backends]
description = "Run the IPv6 backend e2e slice"
run = "make e2e-test-ipv6-backends"
[tasks.e2e-test-subnet]
description = "Run the subnet filtering e2e test"
run = "make e2e-test-subnet"
[tasks.cleanup-cluster]
description = "Clean up CAPL test clusters"
run = "make cleanup-cluster"
[tasks.vet]
description = "Run go vet"
run = "make vet"
[tasks.lint]
description = "Run golangci-lint"
run = "make lint"
[tasks.chainsaw-lint]
description = "Validate the Chainsaw configuration and every E2E test manifest."
run = "make chainsaw-lint"
[tasks.lint-fix]
description = "Run golangci-lint --fix"
run = "make lint-fix"
[tasks.build-nilaway]
description = "Build the custom NilAway-enabled golangci-lint binary"
hide = true
run = "mkdir -p ./bin && golangci-lint custom --version v$(mise current golangci-lint)"
[tasks.nilcheck]
description = "Run nilaway lint checks"
run = "mise run build-nilaway && ./bin/golangci-lint-nilaway run -c .golangci-nilaway.yml"
[tasks.vulncheck]
description = "Run go vulncheck"
run = "make vulncheck"
[tasks.release]
description = "Create the release chart artifact"
run = "make release"
[tasks.run]
description = "Run the CCM locally"
run = "make run"
[tasks.run-debug]
description = "Run the CCM locally with linodego debug enabled"
run = "make run-debug"
[tasks.test]
description = "Run unit tests"
run = "make test"
[tasks.serve-docs]
description = "Serve the documentation site locally with live reload"
run = "make serve-docs"
[tasks.build-docs]
description = "Build the documentation site the way GitHub Pages does"
run = "make build-docs"