Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kubeaudit for openSUSE:Factory checked in at 2023-11-30 22:01:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kubeaudit (Old) and /work/SRC/openSUSE:Factory/.kubeaudit.new.25432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kubeaudit" Thu Nov 30 22:01:43 2023 rev:2 rq:1129947 version:0.22.1 Changes: -------- --- /work/SRC/openSUSE:Factory/kubeaudit/kubeaudit.changes 2023-04-17 17:41:19.834232510 +0200 +++ /work/SRC/openSUSE:Factory/.kubeaudit.new.25432/kubeaudit.changes 2023-11-30 22:02:24.887480998 +0100 @@ -1,0 +2,8 @@ +Thu Nov 30 09:13:08 UTC 2023 - ka...@b1-systems.de + +- Update to version 0.22.1: + * version bump: patch. prepare release (#577) + * capture exit code for sarif (#576) + * go releaser action (#539) + +------------------------------------------------------------------- Old: ---- kubeaudit-0.22.0.obscpio New: ---- kubeaudit-0.22.1.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kubeaudit.spec ++++++ --- /var/tmp/diff_new_pack.R2OXfm/_old 2023-11-30 22:02:32.195758998 +0100 +++ /var/tmp/diff_new_pack.R2OXfm/_new 2023-11-30 22:02:32.207759455 +0100 @@ -19,7 +19,7 @@ %define __arch_install_post export NO_BRP_STRIP_DEBUG=true Name: kubeaudit -Version: 0.22.0 +Version: 0.22.1 Release: 0 Summary: Audit your Kubernetes clusters against common security controls License: MIT ++++++ _service ++++++ --- /var/tmp/diff_new_pack.R2OXfm/_old 2023-11-30 22:02:32.431767976 +0100 +++ /var/tmp/diff_new_pack.R2OXfm/_new 2023-11-30 22:02:32.463769193 +0100 @@ -1,14 +1,14 @@ <services> - <service name="obs_scm" mode="disabled"> + <service name="obs_scm" mode="manual"> <param name="url">https://github.com/Shopify/kubeaudit</param> <param name="scm">git</param> <param name="exclude">.git</param> - <param name="revision">v0.22.0</param> + <param name="revision">v0.22.1</param> <param name="versionformat">@PARENT_TAG@</param> <param name="changesgenerate">enable</param> <param name="versionrewrite-pattern">v(.*)</param> </service> - <service name="set_version" mode="disabled"> + <service name="set_version" mode="manual"> <param name="basename">kubeaudit</param> </service> <service name="tar" mode="buildtime"/> @@ -16,7 +16,7 @@ <param name="file">*.tar</param> <param name="compression">gz</param> </service> - <service name="go_modules" mode="disabled"> + <service name="go_modules" mode="manual"> </service> </services> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.R2OXfm/_old 2023-11-30 22:02:32.647776193 +0100 +++ /var/tmp/diff_new_pack.R2OXfm/_new 2023-11-30 22:02:32.687777714 +0100 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/Shopify/kubeaudit</param> - <param name="changesrevision">3ac358b48288bd44a272a74e516d5786f4ad5ffb</param></service></servicedata> + <param name="changesrevision">76fe452b9d9ef3638afa365304d3de3226c9e01f</param></service></servicedata> (No newline at EOF) ++++++ kubeaudit-0.22.0.obscpio -> kubeaudit-0.22.1.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kubeaudit-0.22.0/.github/workflows/release.yml new/kubeaudit-0.22.1/.github/workflows/release.yml --- old/kubeaudit-0.22.0/.github/workflows/release.yml 2023-03-16 15:01:58.000000000 +0100 +++ new/kubeaudit-0.22.1/.github/workflows/release.yml 2023-11-27 23:20:12.000000000 +0100 @@ -23,15 +23,6 @@ fetch-depth: 0 - - name: GPG config - run: | - mkdir -p ~/.gnupg - cat << EOF >> ~/.gnupg/options - keyserver keys.openpgp.org - keyserver-options auto-key-retrieve - EOF - - - name: Log into registry ${{ env.REGISTRY }} uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a with: @@ -46,12 +37,6 @@ go-version: 1.19 check-latest: true cache: true - - - name: Build release changelog - run: | - version=${GITHUB_REF#refs/tags/v*} - mkdir -p tmp - sed '/^# \['$version'\]/,/^# \[/!d;//d;/^\s*$/d' CHANGELOG.md > tmp/release_changelog.md - name: Release @@ -59,6 +44,6 @@ with: distribution: goreleaser version: v1.10.3 - args: release --rm-dist --release-notes=tmp/release_changelog.md + args: release --rm-dist env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kubeaudit-0.22.0/CHANGELOG.md new/kubeaudit-0.22.1/CHANGELOG.md --- old/kubeaudit-0.22.0/CHANGELOG.md 2023-03-16 15:01:58.000000000 +0100 +++ new/kubeaudit-0.22.1/CHANGELOG.md 1970-01-01 01:00:00.000000000 +0100 @@ -1,15 +0,0 @@ -# Unreleased -* tba - -# 0.22.0 - -* support for metadata info on sarif result -* Makefile fix for go mod tidy -* test without Kind by default -* deprecate kubernetes.io in override labels - - -# 0.21.0 -* the Seccomp auditor has been updated to flag missing Seccomp profiles in securityContext instead of deprecated seccomp annotations. Thank you @Ser87ch, for your amazing contribution! ð - -* Override added for the unconfined apparmor profile! Once again, thank you @Ser87ch! ð diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kubeaudit-0.22.0/cmd/commands/VERSION new/kubeaudit-0.22.1/cmd/commands/VERSION --- old/kubeaudit-0.22.0/cmd/commands/VERSION 2023-03-16 15:01:58.000000000 +0100 +++ new/kubeaudit-0.22.1/cmd/commands/VERSION 2023-11-27 23:20:12.000000000 +0100 @@ -1 +1 @@ -0.22.0 +0.22.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kubeaudit-0.22.0/cmd/commands/root.go new/kubeaudit-0.22.1/cmd/commands/root.go --- old/kubeaudit-0.22.0/cmd/commands/root.go 2023-03-16 15:01:58.000000000 +0100 +++ new/kubeaudit-0.22.1/cmd/commands/root.go 2023-11-27 23:20:12.000000000 +0100 @@ -89,6 +89,10 @@ log.WithError(err).Fatal("Error generating the SARIF output") } sarifReport.PrettyWrite(os.Stdout) + + if report.HasErrors() { + os.Exit(rootConfig.exitCode) + } return case "json": printOptions = append(printOptions, kubeaudit.WithFormatter(&log.JSONFormatter{})) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kubeaudit-0.22.0/docs/release.md new/kubeaudit-0.22.1/docs/release.md --- old/kubeaudit-0.22.0/docs/release.md 2023-03-16 15:01:58.000000000 +0100 +++ new/kubeaudit-0.22.1/docs/release.md 2023-11-27 23:20:12.000000000 +0100 @@ -24,26 +24,17 @@ git push origin v0.11.6 ``` -5. You will need a Github token in order for Goreleaser to be able to create a release in Github. If you already have one, skip to the next step. -[Create a Github token](https://github.com/settings/tokens/new) with the `repo` scope. - -6. Run Goreleaser - -``` -GITHUB_TOKEN=<YOUR TOKEN> goreleaser --rm-dist -``` - -7. Publish the release in Github - -Goreleaser is set to draft mode which means it will create a draft release in Github, allowing you to double check the release and make changes to the Changelog. Find the [draft release](https://github.com/Shopify/kubeaudit/releases) and make sure there are no commits to main since the release. +5. Once you push the tag, the release Github action will be triggered and generate a draft release in Github, allowing you to double check it and make changes to the Changelog. Find the [draft release](https://github.com/Shopify/kubeaudit/releases) and make sure there are no commits to main since the release. > If there are commits to main since the release, this may mean you didn't > make the tag on main or your main is out of date. -Click `Edit` on the right of the draft release and tidy up the Changelog if necessary. We like to add thank you's to external contributors, for example: +6. Click `Edit` on the right of the draft release and tidy up the Changelog if necessary. We like to add thank you's to external contributors, for example: ``` 202e355 Fixed code quality issues using DeepSource (#315) - Thank you @withshubh for the contribution! ``` -Click on `Publish release` at the bottom. +Optionally, you can click on "Generate release notes", which adds Markdown for all the merged pull requests from the diff and contributors of the release. + +7. Click on `Publish release` at the bottom. ++++++ kubeaudit.obsinfo ++++++ --- /var/tmp/diff_new_pack.R2OXfm/_old 2023-11-30 22:02:33.091793083 +0100 +++ /var/tmp/diff_new_pack.R2OXfm/_new 2023-11-30 22:02:33.123794300 +0100 @@ -1,5 +1,5 @@ name: kubeaudit -version: 0.22.0 -mtime: 1678975318 -commit: 3ac358b48288bd44a272a74e516d5786f4ad5ffb +version: 0.22.1 +mtime: 1701123612 +commit: 76fe452b9d9ef3638afa365304d3de3226c9e01f ++++++ vendor.tar.gz ++++++