-
Notifications
You must be signed in to change notification settings - Fork 79
/
.goreleaser.yml
128 lines (115 loc) · 3.52 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
before:
hooks:
- go mod download
builds:
- env:
- CGO_ENABLED=0
ldflags:
- -s -w -X {{ .ModulePath }}/cmd.Version={{.Tag}} -X {{ .ModulePath }}/cmd.GitCommit={{.ShortCommit}} -X {{ .ModulePath }}/cmd.BuildTime={{.Date}}
goos:
- darwin
- linux
- windows
# hooks:
# post: './generate_completion.sh {{ .Target }} {{ .Path }}'
archives:
- id: default
format_overrides:
- goos: windows
format: zip
files:
- LICENSE.md
- CHANGELOG.md
checksum:
name_template: 'checksums.txt'
nfpms:
- id: default
vendor: Device Insight GmbH
homepage: https://www.device-insight.com/
maintainer: Dirk Wilden <[[email protected]]>
description: A command-line interface for interaction with Apache Kafka
license: Apache 2.0
formats:
- deb
- rpm
release:
disable: false
draft: false
snapcrafts:
- id: default
publish: true
summary: A command-line interface for interaction with Apache Kafka
description: |
A Commandline interface for Apache Kafka which provides useful features adapted from kubectl for Kubernetes.
Multiple kafka brokers can be configured in a config file and the active broker is also persisted within the config.
In addition kafkactl supports auto-completion for its commands as well as topic names.
grade: stable
confinement: strict
license: Apache-2.0
apps:
kafkactl:
plugs: ["home", "network", "dot-kube", "config-kafkactl"]
completer: kafkactl-completion.bash
plugs:
dot-kube:
interface: personal-files
read:
- $HOME/.kube
config-kafkactl:
interface: personal-files
write:
- $HOME/.config/kafkactl/config.yml
brews:
-
repository:
owner: deviceinsight
name: homebrew-packages
commit_author:
name: goreleaserbot
email: [email protected]
folder: Formula
homepage: https://www.device-insight.com/
description: |
A Commandline interface for Apache Kafka which provides useful features adapted from kubectl for Kubernetes.
Multiple kafka brokers can be configured in a config file and the active broker is also persisted within the config.
In addition kafkactl supports auto-completion for its commands as well as topic names.
skip_upload: false
winget:
- name: kafkactl
publisher: deviceinsight
short_description: A command-line interface for interaction with Apache Kafka
license: Apache-2.0
publisher_support_url: https://github.com/deviceinsight/kafkactl/issues
package_identifier: deviceinsight.kafkactl
homepage: https://www.device-insight.com/
repository:
owner: deviceinsight
name: winget-pkgs
branch: "kafkactl-{{.Version}}"
pull_request:
enabled: true
base:
owner: microsoft
name: winget-pkgs
branch: master
dockers:
-
skip_push: false
dockerfile: Dockerfile.Ubuntu
image_templates:
- "deviceinsight/kafkactl:latest-ubuntu"
- "deviceinsight/kafkactl:{{ .Tag }}-ubuntu"
- "deviceinsight/kafkactl:latest"
- "deviceinsight/kafkactl:{{ .Tag }}"
-
skip_push: false
dockerfile: Dockerfile.Scratch
image_templates:
- "deviceinsight/kafkactl:latest-scratch"
- "deviceinsight/kafkactl:{{ .Tag }}-scratch"
publishers:
- name: aur-kafkactl
env:
- AUR_SSH_PRIVATE_KEY={{ .Env.AUR_SSH_PRIVATE_KEY }}
cmd: |
.github/aur/kafkactl/publish.sh {{ .Version }}