forked from kubeshop/testkube
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
114 lines (107 loc) · 2.82 KB
/
.goreleaser.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
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
version: 2
builds:
- builder: prebuilt
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
- 386
goamd64:
- v1
prebuilt:
path: "{{ .Os }}/testkube_{{ .Os }}_{{ .Arch }}{{ with .Amd64 }}_{{ . }}{{ end }}/kubectl-testkube{{ .Ext }}"
binary: kubectl-testkube
archives:
- id: testkube
name_template: >-
{{ .ProjectName }}_{{.Version}}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
checksum:
name_template: "checksums.txt"
sboms:
- artifacts: archive
- id: source
artifacts: source
signs:
- cmd: cosign
certificate: '${artifact}.pem'
args:
- sign-blob
- '--output-certificate=${certificate}'
- '--output-signature=${signature}'
- '${artifact}'
- "--yes"
artifacts: all
output: true
changelog:
sort: asc
use: github
filters:
exclude:
- '^test:'
- '^chore'
- 'merge conflict'
- Merge pull request
- Merge remote-tracking branch
- Merge branch
- go mod tidy
groups:
- title: Dependency updates
regexp: '^.*?(feat|fix)\(deps\)!?:.+$'
order: 300
- title: 'New Features'
regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
order: 100
- title: 'Security updates'
regexp: '^.*?sec(\([[:word:]]+\))??!?:.+$'
order: 150
- title: 'Bug fixes'
regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$'
order: 200
- title: 'Documentation updates'
regexp: ^.*?doc(\([[:word:]]+\))??!?:.+$
order: 400
- title: 'Build process updates'
regexp: ^.*?build(\([[:word:]]+\))??!?:.+$
order: 400
- title: Other work
order: 9999
release:
# Create a thread in the General category in the repo's discussion tab.
discussion_category_name: General
# Tags that have the format v1.0.0-rc1 will mark the release as a pre-release (i.e. not ready for production)
# Other tags will be marked as ready for production
prerelease: auto
brews:
- repository:
owner: kubeshop
name: homebrew-testkube
description: Testkube - your somewhat opinionated and friendly Kubernetes testing framework!
homepage: https://testkube.io
license: "MIT"
dependencies:
- name: helm
- name: kubectl
install: |
bin.install "kubectl-testkube"
ln_s bin/"kubectl-testkube", bin/"tk"
ln_s bin/"kubectl-testkube", bin/"testkube"
nfpms:
- maintainer: Testkube team
license: "MIT"
formats:
- deb
description: Testkube - your somewhat opinionated and friendly Kubernetes testing framework!
contents:
- src: /usr/bin/kubectl-testkube
dst: /usr/bin/tk
type: "symlink"
- src: /usr/bin/kubectl-testkube
dst: /usr/bin/testkube
type: "symlink"