Skip to content

Commit

Permalink
Merge pull request kubernetes-sigs#148 from nehaLohia27/fix_ci
Browse files Browse the repository at this point in the history
fix kubeconfig 2
  • Loading branch information
k8s-ci-robot authored Dec 10, 2021
2 parents a72dbc7 + 34b9852 commit f58a126
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hack/test_e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ function create_cluster {
- role: worker
EOF
kind get kubeconfig --internal --name ${E2E_CLUSTER_NAME} > "${E2E_ARTIFACTS}/kubeconfig.conf"
export KUBECONFIG="${E2E_ARTIFACTS}/kubeconfig.conf"
kind get kubeconfig --name ${E2E_CLUSTER_NAME} > "${E2E_ARTIFACTS}/kubeconfig_tests.conf"
echo "cluster is up"
echo -e "Let's move on.\n"
}
Expand Down Expand Up @@ -244,13 +244,13 @@ function install_kpng {
}

function run_tests {
cp ${E2E_ARTIFACTS}/kubeconfig.conf ${E2E_DIR}/kubeconfig.conf
cp ${E2E_ARTIFACTS}/kubeconfig_tests.conf ${E2E_DIR}/kubeconfig_tests.conf
${E2E_DIR}/ginkgo --nodes=25 \
--focus="\[Conformance\]|\[sig-network\]" \
--skip="Feature|Federation|PerformanceDNS|Disruptive|Serial|LoadBalancer|KubeProxy|GCE|Netpol|NetworkPolicy" \
${E2E_DIR}/e2e.test \
-- \
--kubeconfig=kubeconfig.conf \
--kubeconfig=kubeconfig_tests.conf \
--provider=local \
--dump-logs-on-failure=false \
--report-dir=artifacts/reports \
Expand Down

0 comments on commit f58a126

Please sign in to comment.