migrate e2e-k8s.sh

This commit is contained in:
Benjamin Elder
2019-10-30 11:03:16 -07:00
parent b544abd071
commit ef2111de68

View File

@@ -95,10 +95,6 @@ EOF
# run e2es with ginkgo-e2e.sh
run_tests() {
# export the KUBECONFIG
KUBECONFIG="$(kind get kubeconfig-path)"
export KUBECONFIG
# IPv6 clusters need some CoreDNS changes in order to work in k8s CI:
# 1. k8s CI doesn´t offer IPv6 connectivity, so CoreDNS should be configured
# to work in an offline environment:
@@ -164,6 +160,11 @@ main() {
export ARTIFACTS="${ARTIFACTS:-${PWD}/_artifacts}"
mkdir -p "${ARTIFACTS}"
# export the KUBECONFIG to a unique path for testing
KUBECONFIG="${HOME}/.kube/kind-test-config"
export KUBECONFIG
echo "exported KUBECONFIG=${KUBECONFIG}"
# debug kind version
kind version