Accepting request 895583 from home:ojkastl_buildservice:Branch_devel_kubic

new package pluto: A cli tool to help discover deprecated apiVersions in Kubernetes

OBS-URL: https://build.opensuse.org/request/show/895583
OBS-URL: https://build.opensuse.org/package/show/devel:kubic/pluto?expand=0&rev=1
This commit is contained in:
Richard Brown 2021-05-28 12:33:03 +00:00 committed by Git OBS Bridge
commit b60cd688bf
8 changed files with 111 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

21
_service Normal file
View File

@ -0,0 +1,21 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="url">https://github.com/FairwindsOps/pluto</param>
<param name="scm">git</param>
<param name="exclude">.git</param>
<param name="revision">v4.1.2</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">
<param name="basename">pluto</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
<service name="go_modules" mode="disabled">
<param name="archive">pluto-4.1.2.tar.gz</param>
</service>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/FairwindsOps/pluto</param>
<param name="changesrevision">80fc8ccac6158c48e774bf69a759f1fc3b194cdd</param></service></servicedata>

3
pluto-4.1.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3ed5517865423255673a7624405b3c5dff87c37514a784f76e22b594a54edb38
size 233011

4
pluto.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Wed May 26 17:31:51 UTC 2021 - Johannes Kastl <kastl@b1-systems.de>
- initial version of package pluto

52
pluto.spec Normal file
View File

@ -0,0 +1,52 @@
#
# spec file for package pluto
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define __arch_install_post export NO_BRP_STRIP_DEBUG=true
Name: pluto
Version: 4.1.2
Release: 0
Summary: A cli tool to help discover deprecated apiVersions in Kubernetes
License: Apache-2.0
URL: https://github.com/FairwindsOps/pluto
Source: pluto-%{version}.tar.gz
Source1: vendor.tar.gz
BuildRequires: go >= 1.13
%description
Pluto is a utility to help users find deprecated Kubernetes apiVersions in their code repositories and their helm releases.
%prep
%setup -q
%setup -q -T -D -a 1
%build
go build \
-mod=vendor \
-ldflags="-X main.Version=%{version}"
%install
# Install the binary.
install -D -m 0755 %{name} "%{buildroot}/%{_bindir}/%{name}"
%files
%doc README.md
%license LICENSE
%{_bindir}/%{name}
%changelog

3
vendor.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8288bef8cbd2d2bf1e126be38fe9af43ff75551d9060696782d22ffc0fac36f5
size 4826322