Skip to content

Commit

Permalink
hack ci e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
aojea committed Jun 25, 2023
1 parent 720e4f8 commit 8cd76a2
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions hack/ci/e2e-k8s.sh → hack/ci/e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ run_tests() {
fi

# ginkgo regexes
SKIP="${SKIP:-}"
FOCUS="${FOCUS:-"\\[Conformance\\]"}"
SKIP="${SKIP:-"Feature|Federation|PerformanceDNS|DualStack|Disruptive|Serial|KubeProxy|GCE|Netpol|NetworkPolicy|256.search.list.characters|LoadBalancer.Service.without.NodePort|type.and.ports.of.a.TCP.service|loadbalancer.source.ranges"}"
FOCUS="${FOCUS:-"\\[sig-network\\]"}"
# if we set PARALLEL=true, skip serial tests set --ginkgo-parallel
if [ "${PARALLEL:-false}" = "true" ]; then
export GINKGO_PARALLEL=y
Expand Down Expand Up @@ -224,7 +224,17 @@ main() {
# debug kind version
kind version

# build cloud-provider-kind
make
nohup bin/cloud-provider-kind > ${ARTIFACTS}/ccm-kind.log 2>&1 &

# build kubernetes
K8S_PATH=$(find ${GOPATH} -path '*/k8s.io/kubernetes/go.mod' -print -quit)
if [ -z "${K8S_PATH}" ]; then
K8S_PATH=$(find / -path '*/kubernetes/go.mod' -print -quit)
fi
cd $(dirname ${K8S_PATH})

build
# in CI attempt to release some memory after building
if [ -n "${KUBETEST_IN_DOCKER:-}" ]; then
Expand Down

0 comments on commit 8cd76a2

Please sign in to comment.