-
Notifications
You must be signed in to change notification settings - Fork 11
/
.kres.yaml
49 lines (49 loc) · 958 Bytes
/
.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
# 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