Skip to content

Commit

Permalink
client-go: enable smoke compile test for examples
Browse files Browse the repository at this point in the history
  • Loading branch information
sttts committed Feb 2, 2017
1 parent abeabeb commit 880cbd5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
7 changes: 3 additions & 4 deletions hack/make-rules/verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
5 changes: 4 additions & 1 deletion hack/verify-staging-client-go.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 880cbd5

Please sign in to comment.