client-go: enable smoke compile test for examples

This commit is contained in:
Dr. Stefan Schimanski 2017-01-31 09:14:47 +01:00
parent abeabeb7a6
commit 880cbd5d7b
2 changed files with 7 additions and 5 deletions

View File

@ -23,10 +23,9 @@ source "${KUBE_ROOT}/cluster/lib/util.sh"
# Excluded checks are always skipped.
EXCLUDED_CHECKS=(
"verify-linkcheck.sh" # runs in separate Jenkins job once per day due to high network usage
"verify-govet.sh" # it has a separate make vet target
"verify-staging-client-go.sh" # TODO: enable the script after 1.5 code freeze
"verify-test-owners.sh" # TODO(rmmh): figure out how to avoid endless conflicts
"verify-linkcheck.sh" # runs in separate Jenkins job once per day due to high network usage
"verify-govet.sh" # it has a separate make vet target
"verify-test-owners.sh" # TODO(rmmh): figure out how to avoid endless conflicts
)
function is-excluded {

View File

@ -18,5 +18,8 @@ set -o errexit
set -o nounset
set -o pipefail
go build ./staging/src/k8s.io/client-go/examples/...
KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
"${KUBE_ROOT}"/staging/copy.sh -v
# TODO: reenable copy.sh when test can cope with circular dependencies
# "${KUBE_ROOT}"/staging/copy.sh -v