Accepting request 614155 from Virtualization:containers

OBS-URL: https://build.opensuse.org/request/show/614155
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/containerd?expand=0&rev=24
This commit is contained in:
Dominique Leuenberger 2018-06-08 21:09:48 +00:00 committed by Git OBS Bridge
commit f4c69d203e
2 changed files with 12 additions and 6 deletions

View File

@ -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

View File

@ -111,12 +111,11 @@ cp $PROJECT/bin/containerd containerd-%{version}
cp $PROJECT/bin/containerd-shim containerd-shim-%{version}
%check
export GOPATH=$HOME/go/src/github.com/containerd/containerd/vendor:$GOPATH
cd $HOME/go/src/github.com/containerd/containerd
%go_tool test %GO_BUILD_FLAGS -v $(%go_tool list ./... | \
grep github.com/containerd/containerd | \
grep -v github.com/containerd/containerd/vendor | \
grep -v /integration-test)
# We used to run 'go test' here, however we found that this actually didn't
# catch any issues that were caught by smoke testing, and %check would
# continually cause package builds to fail due to flaky tests. If you ever need
# to know how the testing was done, you can always look in the package history.
# boo#1095817
%install
install -D -m755 containerd-%{version} %{buildroot}/%{_sbindir}/containerd