Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package sonobuoy for openSUSE:Factory checked in at 2023-09-15 22:05:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sonobuoy (Old) and /work/SRC/openSUSE:Factory/.sonobuoy.new.1766 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sonobuoy" Fri Sep 15 22:05:16 2023 rev:8 rq:1111434 version:0.56.16 Changes: -------- --- /work/SRC/openSUSE:Factory/sonobuoy/sonobuoy.changes 2021-02-19 23:46:05.799412295 +0100 +++ /work/SRC/openSUSE:Factory/.sonobuoy.new.1766/sonobuoy.changes 2023-09-15 22:10:35.464110261 +0200 @@ -1,0 +2,758 @@ +Tue Sep 5 13:34:16 UTC 2023 - Johannes Kastl <ka...@b1-systems.de> + +- rework spec file +- add shell completion subpackages +- update to 0.56.16: + * c771247 Merge pull request #1896 from franknstyle/docs-new + * afdd4ea add docs for v0.56.16 + * f6b766f Merge pull request #1892 from franknstyle/psa + * 537203a add support for pod security admission + * 3375907 Bump golang.org/x/net from 0.4.0 to 0.7.0 +- update to 0.56.15: + * 1c88db1 Add e2e tests and docs for v0.56.15 + * 69f7154 Add brew installation to README, fix broken plugin link +- update to 0.56.14: + * bd5465d Merge pull request #1877 from vmware-tanzu/fix + * e90f2d4 Update Sonobuoy version used in Dockerfile + * 9b72df1 Add docs for v0.56.14 + * 7d03a79 Add e2e test lists + * bbfc279 Update go dependencies +- update to 0.56.13: + * 9e95f1a Add docs for v0.56.13 + * 6d46d52 Fix syntax error in k8s release workflow +- update to 0.56.12: + * 5b97033 Merge pull request #1861 from joyvuu-dave/dpr-updates + * 55e07d3 Use latest version of linter in scripts + * f3d6995 Use kubectl 1.25.3 in scripts + * d8bfcb6 Use latest sonobuoy in script + * a4cf1b5 Formatting + * 2a99c18 Update to latest kind image in 1.23 line + * 9baa7f1 Update golang to 1.19 + * 1c714dd Update golang syntax to pass linter + * b466ac4 Add docs for v0.56.12 + * 201c5ec Update versions of Github workflow dependencies + * f285f4f Merge pull request #1860 from joyvuu-dave/e2e + * 265083a Update e2e test list resources + * 78c7931 Update weekly-release issue template + * f1f22cd Update strategy document examples +- update to 0.56.11: + * b762629 Add docs for v0.56.11 + * 67583df fix for CVE-2022-27664 and CVE-2022-32149 + * 785b390 Add new data from k8s 1.25.0 release for e2e command +- update to 0.56.10: + * 551bf68 Update goversion for goreleaser + * aebe979 Add docs for v0.56.10 + * 0ab80f7 Add new data from k8s releases for e2e command + * 78cd688 Remove v0.0.0 e2e data + * 906a4a8 Fix auto-issues to use new label names + * 19aaa60 Use single quotes for github action literal + * 1e65c14 delete minor unreachable code caused by t.Fatal + * ce2bbc4 Allow e2e results to refer to one another +- update to 0.56.9: + * e8648ea Add docs for 0.56.9 + * 2b06bc8 Allow users to skip specific preflight checks + * 94e8236 Fix check for kubectl + * d125fb9 Refresh e2e data + * 32c6c69 Allow worker to upload directory instead of file + * e51d8a3 Add K8s release check workflow + * e00b9a3 Automate e2e data gathering + * 684a594 Plugins with manual results process all `*.yml` and + `*.yaml` files + * 1ef30df Tweak to function to allow multiple args + * 7f82b6b Allow postprocessors to modify done file contents + * d6099e7 Bump a few dep versions + * 9484850 Change warnings to errors for conflicting flags. + * c98e4ba Update plugin ordering to latest Sonobuoy version +- update to 0.56.8: + * e709787 Add docs for v0.56.8 + * b18f805 Simplify logic for status aggregation + * dd9992f Move to registry.k8s.io + * 9a4dedc Fix link to roadmap wiki + * e14baa4 Update Sonobuoy team + * a2fdb9c Add July drumbeat + * 706edde Add command to get worker pod names + * 7c0e8d3 Adds a simple Makefile with the most commonly used + options + * 24ebb1f Add readable mode to results command + * 1c31007 Updates the lint function to be consistent with CI + * e36a26c Update copyright and golden files + * cb82909 Add flags to allow customizing the service account + * 33a0568 Download kubectl when testing locally +- update to 0.56.7: + * 41f2081 Add docs for v0.56.7 + * c156860 Add clusterRead to aggregator permissions help + * 6ef1eae Refactor feature gates into its own package + * 3d5fd5b Link to roadmap in main readme. + * 092122a Fix skopeo login for image push issue + * 5482d22 Add CLI docs to the site + * 35589fa Parse user-provided ConfigMap YAML + * c4593e0 Include Image name in image pull error message (#1718) +- update to 0.56.6: + * 87e26ab Add docs for v0.56.6 (#1710) + * 6811726 Reconcile results directory and mount on server (#1709) + * 6542678 Remove empty resources from gen plugin (#1708) + * 021b7a5 remove unnecessary volume from gen plugin command + (#1703) + * 692522d Only apply imagePullPolicy to plugins if instructed + (#1705) + * b293bf0 Fix typo in pluginDefinitionFilename (#1672) + * 216bda4 Fix bug where 'retrieve' fails if filepath diectories + DNE (#1690) +- update to 0.56.5: + * 4fd3874 Add docs for v0.56.5 (#1702) + * 4fe34cb Add new e2e data for k8s versions (#1701) + * 02cc231 Always upload artifacts to github actions (#1699) + * 4598995 Moved the logic for gathering logs to before plugin + cleanup (#1693) + * 7b3375c FailNow if Must... fails as expected (#1697) + * 8690c6c Remove -r option from mv command (#1696) + * be9293d add url flag to set url for plugin (#1694) + * 8336e02 add description flag and function to set description + (#1673) + * 12ebf3f Fix aggregator to wait forever when timeout is zero. + (#1681) + * 6d36456 Update Build with golang:1.18 (#1674) + * bbc49da Have 'images' commands respect env vars (#1679) + * 9294926 Add drumbeat blog (#1670) +- update to 0.56.4: + * 51c7906 Add docs for v0.56.4 (#1668) + * 24480fa Fix mount for sidecars (#1667) + * 0151ee8 Export functions to enable postprocessing of files + (#1666) + * c12595f Add configmaps to sidecars (#1665) + * 2fb4373 Add function for walking item tree (#1658) + * 8988672 Update linter and fix staticcheck issues (#1659) + * e09387c Add governance document and design folder (#1642) +- update to 0.56.3: + * 1005bee Docs for v0.56.3 (#1645) + * 1409358 Better debug messages when aggregator is starting up + (#1638) + * e8507f2 Add sonobuoy images list command (#1639) + * b8eb801 Update e2e with more tags + * 0138be0 Modify reader code to work on unzipped results as well +- update to 0.56.2: + * 6cf7519 Bump docs and version for v0.56.2 + * 458c06a Tweak docs for release and dryrun test lists + * 65a726a Added health summary with basic log scanning + * 13af7b1 Add extra steps for release + * f5af769 Fix release doc and update_docs script +- update to 0.56.1: + * Overview + A small release as we try and get into the habit of weekly + releases. + - New darwin/arm64 binary in release artifacts + - Improvements to behavior when plugins have other sidecars + - Improved output for progress updates + * Changelog + - eedd1ec Version and docs for v0.56.1 + - d79aeaf Add darwin/arm64 binary to release + - 91f9c2a Improve version subcommand + - 3fce527 Update kind images + - ddda7b1 Issue1595: deal with plugins with unknown total tests + count + - c7e914c Worker sidecars get plugin env vars + - d60bd54 Add a delay before consuming done file for + postprocessing window + - ea06304 Add workflows for automated release and blog issues + - 5200a14 Change the link "custom plugin" +- update to 0.56.0: + * Overview + This release found a surprisingly large amount of new features + and improvements including: The common theme in these features + is that they are about making what you might already do, + better: + - Cut down on CI time with the new --mode=conformance-lite + option + - Better understand and plan which tests and tags to run with + sonobuoy e2e without having to launch a single pod + - Gather API data and logs from the CLI without launching pods + - Run Sonobuoy with reduced permissions more easily and + reliably (--aggregator-permissions) + * New Features + - Sonobuoy Modes and 'conformance-lite' + - 0e4a1c5 Add sonobuoy modes command + - f105e68 Add conformance-lite mode Sonobuoy has a new + command + sonobuoy modes which lists the what each of the various + --mode options means for the E2E plugin. + This allows users to choose the appropriate mode without even + having to navigate to the web documentation. + Instead, sonobuoy modes shows the the name of the mode, its + purpose, and its focus/skip/parallel values. + A new option for --mode was added: conformance-lite which + runs the fastest tests from the conformance suite (~80%) in + parallel. + This allows running of hundreds of tests in just minutes + which can cut down CI and debugging times. + - E2E Improvements: Built in E2E Dry-run and Airgapped + Simplification + - 90dd4c1 Add e2e command for dry-run help + - 7af4fe2 Support KUBE_TEST_REPO + We still get numerous questions regarding what tests from the + E2E conformance suite can/should be run or what tags are + available. + Built into the conformance tests is a "dry-run" feature which + allows you to try out regular expressions and filter the + tests without running them. + However, doing this still requires you launch Sonobuoy and + e2e pods, gather results, and inspect them. + The new sonobuoy e2e command will allow you to try out + focus/skip values and immediately get the resulting test + list. + Not only that, but by editing the output --mode, you can + print only the test tags with or without their respective + frequency counts. + - Sonobuoy Queries from the CLI + - 5577b2d Refactor query logic and add to CLI + Sonobuoy gathers lots of data from the API in order to aid in + debugging. + If you want that information without bothering with launching + any pods at all, just run sonobuoy query. + All the query logic has been extracted and made available on + the CLI for faster, easier access. + - More Permissions Options For Sonobuoy + - a4ca834 Add namespaced permissions with cluster read + The --aggregator-permissions options have expanded to + include: + - clusterRead which is namespace admin permissions with added + read-only permissions at the cluster level + - namespaceAdmin which has no cluster permissions, only + namespaced ones + - the default clusterAdmin + In most cases the default is a good choice, but in production + clusters where access is more carefully monitored, the other + options may be a better fit. + * Improvements and Bug Fixes + - aea30a0 Adjust progress messages to allow for appending data + - Plugins can now report progress updates in more piecemeal + fashion and the aggregator will combine the results. This + fixes a bug where the e2e plugin couldn't report progress + when in parallel mode. The fix will be in Sonobuoy, but the + upstream fix will get put into releases going forward. + - 94b6f18 Allow setting aggregator env vars via CLI + - Sonobuoy now allows you to set environment variables on the + aggregator from the CLI via the existing --plugin-env flag + using the reserved plugin name sonobuoy. For instance, + --plugin-env sonobuoy.KEY=val. + - 9ba34dc Modify entrypoint for getting e2e test images + - Fixed a bug which caused sonobuoy images to fail for + Kubernetes v1.22+ + - c7c47dc Roles and bindings should have namespace label for + deletion + - Fixed a bug which caused cluster roles and bindings to not + be deleted. + Modified the behavior of sonobuoy delete --all to include + deleting all cluster roles related to any Sonobuoy run, + regardless of namespace. + Added back a "namespace" label for ClusterRoles and + ClusterRoleBindings in order to properly associate them + with their Sonobuoy run. + - ec3df49 Continue with run even if unable to query nodes + - Fixed a bug which caused the new + --aggregator-permissions=namespaceAdmin option to fail due + to the inability to query cluster nodes. + * Complete Changelog + - 0665cd3 Add docs for v0.56.0 and bump version + - 7c8e495 Fix calculation for appending failures + - aea30a0 Adjust progress messages to allow for appending data + - f105e68 Add conformance-lite mode + - 5bec08c Add test lists for recent k8s versions + - 90dd4c1 Add e2e command for dry-run help + - 7871297 added aggregator permissions doc + - d831a21 Add POC doc for upcoming feature + - 94b6f18 Allow setting aggregator env vars via CLI + - 928b7b4 Fix spacing for headers in strategy doc + - a265fc0 Add strategy doc + - d98b1fe New document for sonobuoy query + - 0e4a1c5 Add sonobuoy modes command + - 7af4fe2 Support KUBE_TEST_REPO + - a4ca834 Add namespaced permissions with cluster read + - ec3df49 Continue with run even if unable to query nodes + - b47d982 Adjust cluster suggestions for starting with Sonobuoy + - 85b1f22 Add docs for result type gojson + - e679e44 Add links to top of plugins page + - 5577b2d Refactor query logic and add to CLI + - c7c47dc Roles and bindings should have namespace label for + deltion + - 9ba34dc Modify entrypoint for getting e2e test images + - ae75211 Remove template and convert to code + - 9506d94 Fix template for namespaced permissions +- update to 0.55.1: + * Add docs and bump to v0.55.1 + * c2f6968 Fix index bug in gen logic + * 104cfba Export field + * 0142d9c Merge pull request #1526 from + johnSchnake/exportJunitProcessing + * ea56087 Export junitResults type + * 692611c Merge pull request #1472 from NikhilSharmaWe/newFlag + * cdf69c8 Modify the template based on input + * bfce3a9 Add flag/config settings for aggregator permissions + * 0e7f9c9 Manually bump version to v0.55.0 for library code + * af1d73c Add more warnings for flag interactions + * 450be8b Add blog for e2e-skeleton plugin + * 354bb67 Remove junk and fix links in docs + * c5269ae Add ci-lint options- update to 0.55.0: +- update to 0.55.0: + * Overview + This is a fairly big release with a number of worthwhile ++++ 461 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/sonobuoy/sonobuoy.changes ++++ and /work/SRC/openSUSE:Factory/.sonobuoy.new.1766/sonobuoy.changes Old: ---- sonobuoy-0.20.0.tar.gz New: ---- sonobuoy-0.56.16.obscpio sonobuoy.obsinfo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sonobuoy.spec ++++++ --- /var/tmp/diff_new_pack.HcuR69/_old 2023-09-15 22:10:37.132169901 +0200 +++ /var/tmp/diff_new_pack.HcuR69/_new 2023-09-15 22:10:37.136170044 +0200 @@ -1,7 +1,7 @@ # # spec file for package sonobuoy # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,45 +16,100 @@ # -%define project github.com/vmware-tanzu/sonobuoy +%define __arch_install_post export NO_BRP_STRIP_DEBUG=true + Name: sonobuoy -Version: 0.20.0 +Version: 0.56.16 Release: 0 Summary: Conformance test suite for diagnosing a Kubernetes cluster License: Apache-2.0 -Group: Development/Languages/Other URL: https://github.com/vmware-tanzu/sonobuoy -Source: %{name}-%{version}.tar.gz +Source: sonobuoy-%{version}.tar.gz Source1: vendor.tar.gz -BuildRequires: golang-packaging -BuildRequires: golang(API) >= 1.12 -%{go_nostrip} -%{go_provides} +BuildRequires: go >= 1.19 %description -Sonobuoy is a diagnostic tool for understanding the state of a -Kubernetes cluster by running a set of Kubernetes conformance tests -in an accessible and non-destructive manner. +Sonobuoy is a diagnostic tool that makes it easier to understand the state of a Kubernetes cluster by running a set of plugins (including Kubernetes conformance tests) in an accessible and non-destructive manner. It is a customizable, extendable, and cluster-agnostic way to generate clear, informative reports about your cluster. + +Its selective data dumps of Kubernetes resource objects and cluster nodes allow for the following use cases: + +* Integrated end-to-end (e2e) conformance-testing +* Workload debugging +* Custom data collection via extensible plugins + +%package -n %{name}-bash-completion +Summary: Bash Completion for %{name} +Group: System/Shells +Requires: %{name} = %{version} +Requires: bash-completion +Supplements: (%{name} and bash-completion) +BuildArch: noarch + +%description -n %{name}-bash-completion +Bash command line completion support for %{name}. + +%package -n %{name}-fish-completion +Summary: Fish Completion for %{name} +Group: System/Shells +Requires: %{name} = %{version} +Supplements: (%{name} and fish) +BuildArch: noarch + +%description -n %{name}-fish-completion +Fish command line completion support for %{name}. + +%package -n %{name}-zsh-completion +Summary: Zsh Completion for %{name} +Group: System/Shells +Requires: %{name} = %{version} +Supplements: (%{name} and zsh) +BuildArch: noarch + +%description -n %{name}-zsh-completion +zsh command line completion support for %{name}. %prep -%setup -q -a1 +%setup -q +%setup -q -T -D -a 1 %build -%{goprep} github.com/vmware-tanzu/sonobuoy -export GOPATH=$HOME/go -mkdir -pv $HOME/go/src/%{project} -rm -rf $HOME/go/src/%{project}/* -cp -avr * $HOME/go/src/%{project} - -cd $HOME/go/src/%{project} -CGO_ENABLED=0 go build -o sonobuoy -buildmode=pie -ldflags="-s -w -X %{project}/pkg/buildinfo.Version=v%{version}" %{project} +go build \ + -mod=vendor \ + -buildmode=pie \ + -o bin/sonobuoy . %install -cd $HOME/go/src/%{project} -install -Dm755 sonobuoy %{buildroot}/%{_bindir}/sonobuoy +# Install the binary. +install -D -m 0755 bin/%{name} "%{buildroot}/%{_bindir}/%{name}" + +# create the bash completion file +mkdir -p %{buildroot}%{_datarootdir}/bash-completion/completions/ +%{buildroot}/%{_bindir}/%{name} completion bash > %{buildroot}%{_datarootdir}/bash-completion/completions/%{name} + +# create the fish completion file +mkdir -p %{buildroot}%{_datarootdir}/fish/vendor_completions.d/ +%{buildroot}/%{_bindir}/%{name} completion fish > %{buildroot}%{_datarootdir}/fish/vendor_completions.d/%{name}.fish + +# create the zsh completion file +mkdir -p %{buildroot}%{_datarootdir}/zsh_completion.d/ +%{buildroot}/%{_bindir}/%{name} completion zsh > %{buildroot}%{_datarootdir}/zsh_completion.d/_%{name} %files %doc README.md %license LICENSE -%{_bindir}/sonobuoy +%{_bindir}/%{name} + +%files -n %{name}-bash-completion +%dir %{_datarootdir}/bash-completion/completions/ +%{_datarootdir}/bash-completion/completions/%{name} + +%files -n %{name}-fish-completion +%dir %{_datarootdir}/fish +%dir %{_datarootdir}/fish/vendor_completions.d +%{_datarootdir}/fish/vendor_completions.d/%{name}.fish + +%files -n %{name}-zsh-completion +%defattr(-,root,root) +%dir %{_datarootdir}/zsh_completion.d/ +%{_datarootdir}/zsh_completion.d/_%{name} ++++++ _service ++++++ --- /var/tmp/diff_new_pack.HcuR69/_old 2023-09-15 22:10:37.164171045 +0200 +++ /var/tmp/diff_new_pack.HcuR69/_new 2023-09-15 22:10:37.168171188 +0200 @@ -1,20 +1,21 @@ <services> - <service name="tar_scm" mode="disabled"> - <param name="url">https://github.com/vmware-tanzu/sonobuoy.git</param> + <service name="obs_scm" mode="manual"> + <param name="url">https://github.com/vmware-tanzu/sonobuoy</param> <param name="scm">git</param> <param name="exclude">.git</param> - <param name="revision">v0.20.0</param> + <param name="revision">v0.56.16</param> <param name="versionformat">@PARENT_TAG@</param> <param name="changesgenerate">enable</param> <param name="versionrewrite-pattern">v(.*)</param> </service> - <service mode="disabled" name="set_version"> + <service name="set_version" mode="manual"> </service> - <service name="recompress" mode="disabled"> + <service name="tar" mode="buildtime"/> + <service name="recompress" mode="buildtime"> <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.HcuR69/_old 2023-09-15 22:10:37.188171904 +0200 +++ /var/tmp/diff_new_pack.HcuR69/_new 2023-09-15 22:10:37.192172047 +0200 @@ -1,10 +1,6 @@ <servicedata> - <service name="tar_scm"> - <param name="url">https://github.com/heptio/sonobuoy.git</param> - <param name="changesrevision">eb9343dbd96ebc225d076630be5c348a57dfc430</param> - </service> <service name="tar_scm"> - <param name="url">https://github.com/vmware-tanzu/sonobuoy.git</param> - <param name="changesrevision">f6e19140201d6bf2f1274bf6567087bc25154210</param></service></servicedata> + <param name="url">https://github.com/vmware-tanzu/sonobuoy</param> + <param name="changesrevision">c7712478228e3b50a225783119fee1286b5104af</param></service></servicedata> (No newline at EOF) ++++++ sonobuoy.obsinfo ++++++ name: sonobuoy version: 0.56.16 mtime: 1677713450 commit: c7712478228e3b50a225783119fee1286b5104af ++++++ vendor.tar.gz ++++++ /work/SRC/openSUSE:Factory/sonobuoy/vendor.tar.gz /work/SRC/openSUSE:Factory/.sonobuoy.new.1766/vendor.tar.gz differ: char 4, line 1