forked from tohjustin/kube-lineage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
73 lines (73 loc) · 2.31 KB
/
.goreleaser.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
68
69
70
71
72
73
project_name: kube-lineage
before:
hooks:
- go mod tidy
builds:
- binary: kube-lineage
main: ./cmd/kube-lineage
goos:
- darwin
- linux
- windows
goarch:
- amd64
- arm64
ignore:
- goos: windows
goarch: arm64
env:
- CGO_ENABLED=0
ldflags:
- -s
- -w
- -X github.com/tohjustin/kube-lineage/internal/version.buildDate={{ .Env.BUILD_DATE }}
- -X github.com/tohjustin/kube-lineage/internal/version.gitCommit={{ .Env.GIT_COMMIT }}
- -X github.com/tohjustin/kube-lineage/internal/version.gitTreeState={{ .Env.GIT_TREE_STATE }}
- -X github.com/tohjustin/kube-lineage/internal/version.gitVersion={{ .Env.GIT_VERSION }}
- -X github.com/tohjustin/kube-lineage/internal/version.gitVersionMajor={{ .Env.GIT_VERSION_MAJOR }}
- -X github.com/tohjustin/kube-lineage/internal/version.gitVersionMinor={{ .Env.GIT_VERSION_MINOR }}
archives:
- files:
- LICENSE.md
- README.md
format_overrides:
- goos: windows
format: zip
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
wrap_in_directory: false
checksum:
name_template: checksums.txt
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- "^build(\\(.+\\))?:"
- "^chore(\\(.+\\))?:"
- "^ci(\\(.+\\))?:"
- "^docs(\\(.+\\))?:"
- "^perf(\\(.+\\))?:"
- "^refactor(\\(.+\\))?:"
- "^style(\\(.+\\))?:"
- "^test(\\(.+\\))?:"
krews:
- name: lineage
index:
owner: tohjustin
name: kubectl-plugins
branch: master
token: "{{ .Env.KREW_GITHUB_TOKEN }}"
url_template: "https://github.com/tohjustin/kube-lineage/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
commit_author:
name: Justin Toh
email: tohjustin@hotmail.com
commit_msg_template: "Krew plugin update for {{ .ProjectName }} version {{ .Tag }}"
homepage: https://github.com/tohjustin/kube-lineage
short_description: Display all dependent resources or resource dependencies
description: |
This plugin prints a table of dependencies or dependents of the specified
resource.
caveats: |
The tool only shows dependencies or dependents among the resources you have
access to. So for restricted users, the result may be incomplete.