Created
August 15, 2019 20:31
-
-
Save haircommander/da96d9af883ddaa58ef276c3e4f6d424 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -euo pipefail | |
IFS=$'\n\t' | |
export KUBE_CONTAINER_RUNTIME=remote | |
export KUBECONFIG=/var/run/kubernetes/admin.kubeconfig | |
export GOPATH=/home/pehunt/go | |
export PATH=/usr/local/go/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/root/bin:$GOPATH/bin:$GOPATH/src/k8s.io/kubernetes/third_party/etcd:$GOPATH/src/k8s.io/kubernetes/_output/local/bin/linux/amd64 | |
IP=$(hostname -I | cut -d' ' -f1) | |
export KUBE_MASTER_URL=$IP | |
export KUBE_MASTER_IP=$IP | |
export KUBE_MASTER=$IP | |
sudo make ginkgo | |
sudo make WHAT=test/e2e/e2e.test | |
sudo -E go run hack/e2e.go \ | |
--get=true -- --test --provider=local \ | |
--test_args="\ | |
-host=https://$IP:6443 \ | |
-ginkgo.skip=\[Slow\]|\[Serial\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]|PersistentVolumes|\[HPA\]|should.support.building.a.client.with.a.CSR|should.propagate.mounts.to.the.host|for.NodePort.service|type.clusterIP|unready.pods|ExternalName.services|Guestbook.application|in-cluster.config|Pods.should.support.pod.readiness.gates|\[sig-storage\].In-tree.Volumes.\[Driver:.local\]|\[sig-storage\].CSI.Volumes.CSI.Topology.test.using.GCE.PD.driver \ | |
" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment