Accepting request 790639 from devel:kubic
OBS-URL: https://build.opensuse.org/request/show/790639 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cri-tools?expand=0&rev=16
This commit is contained in:
commit
81f9089003
4
_service
4
_service
@ -4,8 +4,8 @@
|
|||||||
<param name="url">https://github.com/kubernetes-sigs/cri-tools.git</param>
|
<param name="url">https://github.com/kubernetes-sigs/cri-tools.git</param>
|
||||||
<param name="scm">git</param>
|
<param name="scm">git</param>
|
||||||
<param name="filename">cri-tools</param>
|
<param name="filename">cri-tools</param>
|
||||||
<param name="versionformat">1.17.0</param>
|
<param name="versionformat">1.18.0</param>
|
||||||
<param name="revision">v1.17.0</param>
|
<param name="revision">v1.18.0</param>
|
||||||
</service>
|
</service>
|
||||||
|
|
||||||
<service name="recompress" mode="disabled">
|
<service name="recompress" mode="disabled">
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:bc68c69266d7afa60000082d9d8b99673bb7a978698077572325bd38fcc71c49
|
|
||||||
size 2382216
|
|
3
cri-tools-1.18.0.tar.xz
Normal file
3
cri-tools-1.18.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:53b8cf93bda94b00104f74336cb2614af7efd05467f084aaef164ea21f02e383
|
||||||
|
size 2423500
|
@ -1,3 +1,20 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 1 08:03:55 UTC 2020 - Sascha Grunert <sgrunert@suse.com>
|
||||||
|
|
||||||
|
- Update to v1.18.0:
|
||||||
|
* Main Changes
|
||||||
|
* Update Kubernetes to v1.18.0
|
||||||
|
* Switch to urfave/cli/v2
|
||||||
|
* CRI CLI (crictl)
|
||||||
|
* Use ContextDialer to fix build
|
||||||
|
* Add go-template option for inspect commands
|
||||||
|
* Fix invalid log_path in docs
|
||||||
|
* CRI validation testing (critest)
|
||||||
|
* Make apparmor failure test more flexible
|
||||||
|
* Start container before fetching metrics
|
||||||
|
* Cleanup container create test to reduce duplication
|
||||||
|
* Add container stats test
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 16 08:46:22 UTC 2019 - Sascha Grunert <sgrunert@suse.com>
|
Mon Dec 16 08:46:22 UTC 2019 - Sascha Grunert <sgrunert@suse.com>
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
%define name_source1 crictl.yaml
|
%define name_source1 crictl.yaml
|
||||||
|
|
||||||
Name: cri-tools
|
Name: cri-tools
|
||||||
Version: 1.17.0
|
Version: 1.18.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: CLI and validation tools for Kubelet Container Runtime Interface
|
Summary: CLI and validation tools for Kubelet Container Runtime Interface
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
@ -31,7 +31,7 @@ Source1: %{name_source1}
|
|||||||
Source2: rpmlintrc
|
Source2: rpmlintrc
|
||||||
BuildRequires: go-go-md2man
|
BuildRequires: go-go-md2man
|
||||||
BuildRequires: golang-packaging
|
BuildRequires: golang-packaging
|
||||||
BuildRequires: golang(API) >= 1.12
|
BuildRequires: golang(API) >= 1.14
|
||||||
# disable stripping of binaries
|
# disable stripping of binaries
|
||||||
%{go_nostrip}
|
%{go_nostrip}
|
||||||
|
|
||||||
@ -59,15 +59,16 @@ fi
|
|||||||
|
|
||||||
go build $BUILDMODE_ARGS \
|
go build $BUILDMODE_ARGS \
|
||||||
-o bin/crictl \
|
-o bin/crictl \
|
||||||
|
-mod vendor \
|
||||||
-ldflags '-X %{project}/pkg/version.Version=%{version}' \
|
-ldflags '-X %{project}/pkg/version.Version=%{version}' \
|
||||||
%{project}/cmd/crictl
|
%{project}/cmd/crictl
|
||||||
|
|
||||||
go test $BUILDMODE_ARGS \
|
go test $BUILDMODE_ARGS \
|
||||||
-o bin/critest \
|
-o bin/critest \
|
||||||
|
-mod vendor \
|
||||||
-ldflags '-X %{project}/pkg/version.Version=%{version}' \
|
-ldflags '-X %{project}/pkg/version.Version=%{version}' \
|
||||||
-c %{project}/cmd/critest
|
-c %{project}/cmd/critest
|
||||||
|
|
||||||
|
|
||||||
# compile the manpages
|
# compile the manpages
|
||||||
for md in docs/*.md
|
for md in docs/*.md
|
||||||
do
|
do
|
||||||
@ -76,8 +77,9 @@ done
|
|||||||
rename '.md' '.1' docs/*
|
rename '.md' '.1' docs/*
|
||||||
|
|
||||||
# generate auto-completions
|
# generate auto-completions
|
||||||
./bin/crictl completion bash > crictl-completion-bash
|
bin/crictl completion bash > crictl-completion-bash
|
||||||
./bin/crictl completion zsh > crictl-completion-zsh
|
bin/crictl completion zsh > crictl-completion-zsh
|
||||||
|
bin/crictl completion fish > crictl.fish
|
||||||
|
|
||||||
%install
|
%install
|
||||||
cd $HOME/go/src/%{project}
|
cd $HOME/go/src/%{project}
|
||||||
@ -89,6 +91,7 @@ install -D -m 0644 docs/benchmark.1 %{buildroot}/%{_mandir}/man1/critest-benchma
|
|||||||
install -D -m 0644 docs/validation.1 %{buildroot}/%{_mandir}/man1/critest-validation.1
|
install -D -m 0644 docs/validation.1 %{buildroot}/%{_mandir}/man1/critest-validation.1
|
||||||
install -D -m 0644 crictl-completion-bash %{buildroot}/%{_datadir}/bash-completion/completions/crictl
|
install -D -m 0644 crictl-completion-bash %{buildroot}/%{_datadir}/bash-completion/completions/crictl
|
||||||
install -D -m 0644 crictl-completion-zsh %{buildroot}/%{_datadir}/zsh/site-functions/_crictl
|
install -D -m 0644 crictl-completion-zsh %{buildroot}/%{_datadir}/zsh/site-functions/_crictl
|
||||||
|
install -D -m 0644 crictl.fish %{buildroot}/%{_datadir}/fish/completions/crictl.fish
|
||||||
install -D -m 0644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/%{name_source1}
|
install -D -m 0644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/%{name_source1}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -97,6 +100,9 @@ install -D -m 0644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/%{name_source1}
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%{_datadir}/bash-completion/completions/crictl
|
%{_datadir}/bash-completion/completions/crictl
|
||||||
%{_datadir}/zsh
|
%{_datadir}/zsh
|
||||||
|
%{_datadir}/fish
|
||||||
|
%{_datadir}/fish/completions
|
||||||
|
%{_datadir}/fish/completions/crictl.fish
|
||||||
%config(noreplace) %{_sysconfdir}/%{name_source1}
|
%config(noreplace) %{_sysconfdir}/%{name_source1}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user