mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 02:34:03 +00:00
client-go: enable smoke compile test for examples
This commit is contained in:
parent
abeabeb7a6
commit
880cbd5d7b
@ -23,10 +23,9 @@ source "${KUBE_ROOT}/cluster/lib/util.sh"
|
|||||||
|
|
||||||
# Excluded checks are always skipped.
|
# Excluded checks are always skipped.
|
||||||
EXCLUDED_CHECKS=(
|
EXCLUDED_CHECKS=(
|
||||||
"verify-linkcheck.sh" # runs in separate Jenkins job once per day due to high network usage
|
"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-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-test-owners.sh" # TODO(rmmh): figure out how to avoid endless conflicts
|
|
||||||
)
|
)
|
||||||
|
|
||||||
function is-excluded {
|
function is-excluded {
|
||||||
|
@ -18,5 +18,8 @@ set -o errexit
|
|||||||
set -o nounset
|
set -o nounset
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
|
go build ./staging/src/k8s.io/client-go/examples/...
|
||||||
|
|
||||||
KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user