File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,24 @@ builds:
4040 flags : -tags netgo -tags containers_image_ostree_stub -tags exclude_graphdriver_devicemapper -tags exclude_graphdriver_btrfs -tags containers_image_openpgp -installsuffix netgo
4141 binary : support-bundle
4242 hooks : {}
43+ - id : collect
44+ goos :
45+ - linux
46+ - darwin
47+ - windows
48+ goarch :
49+ - amd64
50+ env :
51+ - CGO_ENABLED=0
52+ main : cmd/collect/main.go
53+ ldflags : -s -w
54+ -X github.com/replicatedhq/troubleshoot/pkg/version.version={{.Version}}
55+ -X github.com/replicatedhq/troubleshoot/pkg/version.gitSHA={{.Commit}}
56+ -X github.com/replicatedhq/troubleshoot/pkg/version.buildTime={{.Date}}
57+ -extldflags "-static"
58+ flags : -tags netgo -tags containers_image_ostree_stub -tags exclude_graphdriver_devicemapper -tags exclude_graphdriver_btrfs -tags containers_image_openpgp -installsuffix netgo
59+ binary : collect
60+ hooks : {}
4361archives :
4462 - id : preflight
4563 builds :
@@ -81,6 +99,26 @@ archives:
8199 - src : ' sbom/assets/*'
82100 dst : .
83101 strip_parent : true # this is needed to make up for the way unzips work in krew v0.4.1
102+ - id : collect
103+ builds :
104+ - collect
105+ format : tar.gz
106+ format_overrides :
107+ - goos : windows
108+ format : zip
109+ name_template : ' collect_{{ .Os }}_{{ .Arch }}'
110+ files :
111+ - licence*
112+ - LICENCE*
113+ - license*
114+ - LICENSE*
115+ - readme*
116+ - README*
117+ - changelog*
118+ - CHANGELOG*
119+ - src : ' sbom/assets/*'
120+ dst : .
121+ strip_parent : true # this is needed to make up for the way unzips work in krew v0.4.1
84122dockers :
85123 - dockerfile : ./deploy/Dockerfile.troubleshoot
86124 image_templates :
@@ -91,6 +129,7 @@ dockers:
91129 ids :
92130 - support-bundle
93131 - preflight
132+ - collect
94133 - dockerfile : ./deploy/Dockerfile.troubleshoot
95134 image_templates :
96135 - " replicated/preflight:latest"
@@ -100,3 +139,4 @@ dockers:
100139 ids :
101140 - support-bundle
102141 - preflight
142+ - collect
You can’t perform that action at this time.
0 commit comments