forked from deviceinsight/kafkactl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
106 lines (94 loc) · 2.94 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
before:
hooks:
- go mod download
builds:
- env:
- CGO_ENABLED=0
ldflags:
- -s -w -X github.com/deviceinsight/kafkactl/cmd.Version={{.Tag}} -X github.com/deviceinsight/kafkactl/cmd.GitCommit={{.ShortCommit}} -X github.com/deviceinsight/kafkactl/cmd.BuildTime={{.Date}}
goos:
- darwin
- linux
- windows
# hooks:
# post: './generate_completion.sh {{ .Target }} {{ .Path }}'
archives:
- id: default
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:
-
tap:
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
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 }}