Accepting request 614141 from home:cyphar:containers:remove_check_section
- Remove 'go test' from %check section, as it has only ever caused us problems and hasn't (as far as I remember) ever caught a release-blocking issue. Smoke testing has been far more useful. boo#1095817 OBS-URL: https://build.opensuse.org/request/show/614141 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/containerd?expand=0&rev=72
This commit is contained in:
parent
6abe1909e2
commit
d0e0089949
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 5 06:38:40 UTC 2018 - asarai@suse.com
|
||||||
|
|
||||||
|
- Remove 'go test' from %check section, as it has only ever caused us problems
|
||||||
|
and hasn't (as far as I remember) ever caught a release-blocking issue. Smoke
|
||||||
|
testing has been far more useful. boo#1095817
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 1 16:57:14 CET 2018 - ro@suse.de
|
Thu Feb 1 16:57:14 CET 2018 - ro@suse.de
|
||||||
|
|
||||||
|
@ -111,12 +111,11 @@ cp $PROJECT/bin/containerd containerd-%{version}
|
|||||||
cp $PROJECT/bin/containerd-shim containerd-shim-%{version}
|
cp $PROJECT/bin/containerd-shim containerd-shim-%{version}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
export GOPATH=$HOME/go/src/github.com/containerd/containerd/vendor:$GOPATH
|
# We used to run 'go test' here, however we found that this actually didn't
|
||||||
cd $HOME/go/src/github.com/containerd/containerd
|
# catch any issues that were caught by smoke testing, and %check would
|
||||||
%go_tool test %GO_BUILD_FLAGS -v $(%go_tool list ./... | \
|
# continually cause package builds to fail due to flaky tests. If you ever need
|
||||||
grep github.com/containerd/containerd | \
|
# to know how the testing was done, you can always look in the package history.
|
||||||
grep -v github.com/containerd/containerd/vendor | \
|
# boo#1095817
|
||||||
grep -v /integration-test)
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -D -m755 containerd-%{version} %{buildroot}/%{_sbindir}/containerd
|
install -D -m755 containerd-%{version} %{buildroot}/%{_sbindir}/containerd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user