New ๐ŸŒŠ wave for @helm

Commit 2f778253

2f7782535047Merged

Dmitriy Zhilyaev <[email protected]> ยท 2 years ago ยท 1 file ยท ~1 modified

Description

fix(ci): decommission schema

Signed-off-by: Dmitriy Zhilyaev [email protected]

Details

Commit
2f7782535047
Parent
d221c09bf8cf

.goreleaser.ymlmodifiedView file

@@ -1,12 +1,13 @@
11 version: 2
22
33 metadata:
4- homepage: "https://helmwave.app/"
5- maintainers:
4+
5+ homepage: &homepage "https://helmwave.app/"
6+ maintainers: &maintainers
67 - "Dmitrii Zhiliaev"
78 - "Sviatoslav Dumchenko"
8- license: "MIT"
9- description: "Helmwave is true release management for helm"
9+ license: &license "MIT"
10+ description: &desc "Helmwave is true release management for helm"
1011
1112 before:
1213 hooks:
@@ -28,9 +29,6 @@
2829 # Go can build using different instruction sets - https://github.com/golang/go/wiki/MinimumRequirements#amd64
2930 # We don't really need this type of optimization (limiting CPUs helmwave can run on) so we use general v1.
3031 - v1
31- # - v2
32- # - v3
33- # - v4
3432 goos:
3533 - linux
3634 # - windows
@@ -38,10 +36,12 @@
3836 main: ./cmd/helmwave
3937 ldflags:
4038 - -s -w -X github.com/helmwave/helmwave/pkg/version.Version={{ .Version }}
41- - <<: *bin
42- main: ./cmd/schema
43- id: schema
44- binary: schema
39+
40+ # - <<: *bin
41+ # main: ./cmd/schema
42+ # id: schema
43+ # binary: schema
44+
4545 - <<: *bin
4646 main: ./cmd/gitops
4747 id: gitops
@@ -52,20 +52,36 @@
5252 ###
5353
5454 archives:
55- - format: tar.gz
55+ - &archive
56+ builds: [ helmwave ]
57+ id: helmwave
58+ format: tar.gz
5659 format_overrides:
5760 - goos: windows
5861 format: zip
5962
63+ - <<: *archive
64+ id: gitops
65+ builds: [ gitops ]
66+
67+
68+
6069 nfpms:
61- - homepage: https://helmwave.github.io/
62- license: MIT
63- maintainer: TBD
70+ - id: helmwave
71+ builds: [ helmwave ]
6472 formats:
6573 - apk
6674 - deb
6775 - rpm
6876
77+ - id: gitops
78+ package_name: gitops
79+ builds: [ gitops ]
80+ formats:
81+ - apk
82+ - deb
83+ - rpm
84+
6985 checksum:
7086 name_template: "checksums.txt"
7187
@@ -166,98 +182,6 @@
166182 goarch: arm64
167183 use: buildx
168184
169- # schema
170- - dockerfile: Dockerfile
171- image_templates:
172- - ghcr.io/helmwave/schema:{{ .Version }}-scratch-amd64
173- - ghcr.io/helmwave/schema:scratch-amd64
174- build_flag_templates:
175- - "--label=org.opencontainers.image.description=Schema generator for helmwave"
176- - "--label=org.opencontainers.image.created={{ .Date }}"
177- - "--label=org.opencontainers.image.title=schema"
178- - "--label=org.opencontainers.image.revision={{ .FullCommit }}"
179- - "--label=org.opencontainers.image.version={{ .Version }}"
180- - "--label=org.opencontainers.image.licenses=MIT"
181- - "--label=org.opencontainers.image.source=https://github.com/helmwave/helmwave"
182- - "--label=org.opencontainers.image.url=https://github.com/helmwave/helmwave/pkgs/container/schema"
183- - "--label=org.opencontainers.image.documentation=https://helmwave.app/"
184-
185- - "--platform=linux/amd64"
186- - "--target=scratch-goreleaser"
187- - "--pull"
188- - "--build-arg=PROJECT=schema"
189- goos: linux
190- goarch: amd64
191- goamd64: v1
192- use: buildx
193- - dockerfile: Dockerfile
194- image_templates:
195- - ghcr.io/helmwave/schema:{{ .Version }}-scratch-arm64v8
196- - ghcr.io/helmwave/schema:scratch-arm64v8
197- build_flag_templates:
198- - "--label=org.opencontainers.image.description=Schema generator for helmwave"
199- - "--label=org.opencontainers.image.created={{ .Date }}"
200- - "--label=org.opencontainers.image.title=schema"
201- - "--label=org.opencontainers.image.revision={{ .FullCommit }}"
202- - "--label=org.opencontainers.image.version={{ .Version }}"
203- - "--label=org.opencontainers.image.licenses=MIT"
204- - "--label=org.opencontainers.image.source=https://github.com/helmwave/helmwave"
205- - "--label=org.opencontainers.image.url=https://github.com/helmwave/helmwave/pkgs/container/schema"
206- - "--label=org.opencontainers.image.documentation=https://helmwave.app/"
207-
208- - "--platform=linux/arm64/v8"
209- - "--target=scratch-goreleaser"
210- - "--pull"
211- - "--build-arg=PROJECT=schema"
212- goos: linux
213- goarch: arm64
214- use: buildx
215- - dockerfile: Dockerfile
216- image_templates:
217- - ghcr.io/helmwave/schema:{{ .Version }}-amd64
218- - ghcr.io/helmwave/schema:latest-amd64
219- build_flag_templates:
220- - "--label=org.opencontainers.image.description=Schema generator for helmwave"
221- - "--label=org.opencontainers.image.created={{ .Date }}"
222- - "--label=org.opencontainers.image.title=schema"
223- - "--label=org.opencontainers.image.revision={{ .FullCommit }}"
224- - "--label=org.opencontainers.image.version={{ .Version }}"
225- - "--label=org.opencontainers.image.licenses=MIT"
226- - "--label=org.opencontainers.image.source=https://github.com/helmwave/helmwave"
227- - "--label=org.opencontainers.image.url=https://github.com/helmwave/helmwave/pkgs/container/schema"
228- - "--label=org.opencontainers.image.documentation=https://helmwave.app/"
229-
230- - "--platform=linux/amd64"
231- - "--target=goreleaser"
232- - "--pull"
233- - "--build-arg=PROJECT=schema"
234- goos: linux
235- goarch: amd64
236- goamd64: v1
237- use: buildx
238- - dockerfile: Dockerfile
239- image_templates:
240- - ghcr.io/helmwave/schema:{{ .Version }}-arm64v8
241- - ghcr.io/helmwave/schema:latest-arm64v8
242- build_flag_templates:
243- - "--label=org.opencontainers.image.description=Schema generator for helmwave"
244- - "--label=org.opencontainers.image.created={{ .Date }}"
245- - "--label=org.opencontainers.image.title=schema"
246- - "--label=org.opencontainers.image.revision={{ .FullCommit }}"
247- - "--label=org.opencontainers.image.version={{ .Version }}"
248- - "--label=org.opencontainers.image.licenses=MIT"
249- - "--label=org.opencontainers.image.source=https://github.com/helmwave/helmwave"
250- - "--label=org.opencontainers.image.url=https://github.com/helmwave/helmwave/pkgs/container/schema"
251- - "--label=org.opencontainers.image.documentation=https://helmwave.app/"
252-
253- - "--platform=linux/arm64/v8"
254- - "--target=goreleaser"
255- - "--pull"
256- - "--build-arg=PROJECT=schema"
257- goos: linux
258- goarch: arm64
259- use: buildx
260-
261185 # gitops
262186 - dockerfile: Dockerfile
263187 image_templates:
@@ -369,24 +293,6 @@
369293 - ghcr.io/helmwave/helmwave:latest-amd64
370294 - ghcr.io/helmwave/helmwave:latest-arm64v8
371295
372- # schema: GitHub Container Registry
373- - name_template: ghcr.io/helmwave/schema:{{ .Version }}-scratch
374- image_templates:
375- - ghcr.io/helmwave/schema:{{ .Version }}-scratch-amd64
376- - ghcr.io/helmwave/schema:{{ .Version }}-scratch-arm64v8
377- - name_template: ghcr.io/helmwave/schema:scratch
378- image_templates:
379- - ghcr.io/helmwave/schema:scratch-amd64
380- - ghcr.io/helmwave/schema:scratch-arm64v8
381- - name_template: ghcr.io/helmwave/schema:{{ .Version }}
382- image_templates:
383- - ghcr.io/helmwave/schema:{{ .Version }}-amd64
384- - ghcr.io/helmwave/schema:{{ .Version }}-arm64v8
385- - name_template: ghcr.io/helmwave/schema:latest
386- image_templates:
387- - ghcr.io/helmwave/schema:latest-amd64
388- - ghcr.io/helmwave/schema:latest-arm64v8
389-
390296 # gitops: GitHub Container Registry
391297 - name_template: ghcr.io/helmwave/gitops:{{ .Version }}-scratch
392298 image_templates:
@@ -473,16 +379,17 @@
473379 prerelease: auto
474380
475381 brews:
476- - repository:
382+ - ids: [ helmwave ]
383+ repository:
477384 owner: helmwave
478385 name: homebrew-tap
479386 token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
480387 pull_request:
481388 enabled: false
482389 goamd64: v1
483- homepage: https://helmwave.app
484- description: "Helmwave is true release management for helm"
485- license: "MIT"
390+ homepage: *homepage
391+ description: *desc
392+ license: *license
486393 directory: Formula
487394 skip_upload: auto
488395