From 13f3b9c2144ec7a89a2cf9b46cd96dc21c2bc90a Mon Sep 17 00:00:00 2001 From: derailed Date: Sat, 14 Sep 2024 11:35:34 -0600 Subject: [PATCH] bump release --- .goreleaser.yml | 68 ++++++++++++++++++++++++++++++---- Makefile | 2 +- change_logs/release_v0.21.5.md | 28 ++++++++++++++ 3 files changed, 89 insertions(+), 9 deletions(-) create mode 100644 change_logs/release_v0.21.5.md diff --git a/.goreleaser.yml b/.goreleaser.yml index 34325b03..5970d929 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,5 @@ +version: 2 + project_name: popeye before: @@ -7,17 +9,20 @@ before: release: prerelease: false +env: + - CGO_ENABLED=0 + builds: - - env: - - CGO_ENABLED=0 + - id: linux goos: - linux - - darwin - - windows + - freebsd goarch: - amd64 - - arm - arm64 + - arm + - ppc64le + - s390x goarm: - 7 flags: @@ -27,6 +32,32 @@ builds: - -s -w -X github.com/derailed/popeye/cmd.commit={{.Commit}} - -s -w -X github.com/derailed/popeye/cmd.date={{.Date}} + - id: osx + goos: + - darwin + goarch: + - amd64 + - arm64 + flags: + - -trimpath + ldflags: + - -s -w -X github.com/derailed/popeye/cmd.version={{.Version}} + - -s -w -X github.com/derailed/popeye/cmd.commit={{.Commit}} + - -s -w -X github.com/derailed/popeye/cmd.date={{.Date}} + + - id: windows + goos: + - windows + goarch: + - amd64 + - arm64 + flags: + - -trimpath + ldflags: + - -s -w -X github.com/derailed/popeye/cmd.version={{.Version}} + - -s -w -X github.com/derailed/popeye/cmd.commit={{.Commit}} + - -s -w -X github.com/derailed/popeye/cmd.date={{.Date}} + archives: - name_template: >- {{ .ProjectName }}_ @@ -37,7 +68,7 @@ archives: {{- if .Arm }}v{{ .Arm }}{{ end }} checksum: - name_template: "checksums.txt" + name_template: "checksums.sha256" snapshot: name_template: "{{ .Tag }}-next" @@ -57,8 +88,29 @@ brews: commit_author: name: derailed email: fernand@imhotep.io - folder: Formula + directory: Formula homepage: https://imhotep.io/popeye - description: A Kubernetes Cluster sanitizer and linter. + description: A Kubernetes Cluster sanitizer and linter! test: | system "popeye version" + +nfpms: + - file_name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}' + maintainer: Fernand Galiana + homepage: https://popeyecli.io + description: A Kubernetes Cluster sanitizer and linter! + license: "Apache-2.0" + formats: + - deb + - rpm + - apk + bindir: /usr/bin + section: utils + contents: + - src: ./LICENSE + dst: /usr/share/doc/nfpm/copyright + file_info: + mode: 0644 + +sboms: + - artifacts: archive \ No newline at end of file diff --git a/Makefile b/Makefile index 81c6ddd6..21f55d70 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ NAME := popeye PACKAGE := github.com/derailed/$(NAME) -VERSION := v0.21.3 +VERSION := v0.21.5 GIT := $(shell git rev-parse --short HEAD) DATE := $(shell date +%FT%T%Z) IMG_NAME := derailed/popeye diff --git a/change_logs/release_v0.21.5.md b/change_logs/release_v0.21.5.md new file mode 100644 index 00000000..2dfc26dc --- /dev/null +++ b/change_logs/release_v0.21.5.md @@ -0,0 +1,28 @@ + + +# Release v0.21.5 + +## Notes + +Thank you to all that contributed with flushing out issues and enhancements for Popeye! I'll try to mark some of these issues as fixed. But if you don't mind grab the latest rev and see if we're happier with some of the fixes! If you've filed an issue please help me verify and close. Your support, kindness and awesome suggestions to make Popeye better is as ever very much noticed and appreciated! + +This project offers a GitHub Sponsor button (over here 👆). As you well know this is not pimped out by big corps with deep pockets. If you feel `Popeye` is saving you cycles diagnosing potential cluster issues please consider sponsoring this project!! It does go a long way in keeping our servers lights on and beers in our fridge. + +Also if you dig this tool, please make some noise on social! [@kitesurfer](https://twitter.com/kitesurfer) + +--- + +## Maintenance Release + +--- + +## Resolved Issues + +* [#316](https://github.com/derailed/popeye/issues/316) Path of the results file changed from v0.11 to v0.20 +* [#314](https://github.com/derailed/popeye/issues/314) Filter by namespace doesn't seem to be working +* [#311](https://github.com/derailed/popeye/issues/311) False positive on network policies.. Sometimes +* [#310](https://github.com/derailed/popeye/issues/310) Add support for ClusterRule aggregationRule + +--- + +  © 2024 Imhotep Software LLC. All materials licensed under [Apache v2.0](http://www.apache.org/licenses/LICENSE-2.0)