Remove solaris files

For obvious reasons that it is not really supported now.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Upstream-commit: 5a9b5f10cf967f31f0856871ad08f9a0286b4a46
Component: engine
This commit is contained in:
Michael Crosby
2017-10-24 15:39:34 -04:00
parent d0c54aaf3d
commit d78181e968
41 changed files with 14 additions and 1776 deletions
-7
View File
@@ -95,13 +95,6 @@ if [ "$AUTO_GOPATH" ]; then
mkdir -p .gopath/src/"$(dirname "${DOCKER_PKG}")"
ln -sf ../../../.. .gopath/src/"${DOCKER_PKG}"
export GOPATH="${PWD}/.gopath"
if [ "$(go env GOOS)" = 'solaris' ]; then
# sys/unix is installed outside the standard library on solaris
# TODO need to allow for version change, need to get version from go
export GO_VERSION=${GO_VERSION:-"1.8.1"}
export GOPATH="${GOPATH}:/usr/lib/gocode/${GO_VERSION}"
fi
fi
if [ ! "$GOPATH" ]; then
-4
View File
@@ -207,10 +207,6 @@ release_build() {
linux)
s3Os=Linux
;;
solaris)
echo skipping solaris release
return 0
;;
windows)
# this is windows use the .zip and .exe extensions for the files.
s3Os=Windows
-3
View File
@@ -17,9 +17,6 @@ BUILDFLAGS=( -tags "netgo seccomp libdm_no_deferred_remove" )
TESTDIRS="${TESTDIRS:-"./..."}"
exclude_paths="/vendor/|/integration"
if [ "$(go env GOHOSTOS)" = 'solaris' ]; then
exclude_paths="$exclude_paths|/daemon/graphdriver"
fi
pkg_list=$(go list $TESTDIRS | grep -vE "($exclude_paths)")
go test -cover "${BUILDFLAGS[@]}" $TESTFLAGS $pkg_list