Skip to content

Instantly share code, notes, and snippets.

@aweiteka
Created December 18, 2014 17:15
Show Gist options
  • Select an option

  • Save aweiteka/49760d648e7a10a2f8d3 to your computer and use it in GitHub Desktop.

Select an option

Save aweiteka/49760d648e7a10a2f8d3 to your computer and use it in GitHub Desktop.
Run unit tests on Kubernetes
#!/bin/sh -e
yum install -y git
mkdir -p $GOPATH/src/github.com/GoogleCloudPlatform/
cd $GOPATH/src/github.com/GoogleCloudPlatform/
git clone https://github.com/GoogleCloudPlatform/kubernetes.git
cd kubernetes
hack/test-go.sh
# TODO: upstream end-to-end tests
# https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/devel/development.md#end-to-end-tests
#KUBERNETES_PROVIDER=<provider?>
#hack/e2e-test.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment