-
Notifications
You must be signed in to change notification settings - Fork 13
/
.kres.yaml
67 lines (67 loc) · 1.28 KB
/
.kres.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
# Configuration file for Kres
#
# Kres configuration is a multi-document YAML file, each document has same structure:
#
# ---
# kind: <package>.<Type>
# name: <nodeName> # (optional)
# spec: # configuration for specific project node
# field: value
# ...
#
#
# Any node in the tree might have its configuration overridden via the config.
---
kind: common.Image
name: image-kres
spec:
extraEnvironment:
PLATFORM: linux/amd64,linux/arm64
entrypointArgs: ['gen']
---
kind: golang.Build
spec:
outputs:
linux-amd64:
GOOS: linux
GOARCH: amd64
linux-arm64:
GOOS: linux
GOARCH: arm64
darwin-amd64:
GOOS: darwin
GOARCH: amd64
darwin-arm64:
GOOS: darwin
GOARCH: arm64
---
kind: service.CodeCov
spec:
targetThreshold: 8
---
kind: common.Build
spec:
ignoredPaths:
- "_out/example/"
---
kind: golang.Generate
spec:
versionPackagePath: internal/version
---
kind: golang.GolangciLint
spec:
depguardExtraRules:
test_kres_depguard_extra_rule_1:
list-mode: lax
files:
- test_1.go
deny:
- pkg: io/ioutil
desc: Test rule 1
test_kres_depguard_extra_rule_2:
list-mode: lax
files:
- test_2.go
deny:
- pkg: io/ioutil
desc: Test rule 2