[minor] couple of quick cleanups for kill reporoot

This commit is contained in:
jayunit100 2016-07-29 20:14:11 -04:00
parent 6166083c78
commit 4cd6bf42af
3 changed files with 2 additions and 14 deletions

View File

@ -16,14 +16,13 @@
set -o errexit
set -o pipefail
set -o nounset
if [[ -z ${KUBE_ROOT} ]]; then
if [[ -z "${KUBE_ROOT:-}" ]]; then
echo "KUBE_ROOT not detected, setting default."
KUBE_ROOT="../../../"
fi
set -o nounset
if [[ ! -d "${KUBE_ROOT}/examples" ]]; then
echo "${KUBE_ROOT}/examples not detected. This script should be run from a location where the source dirs are available."
exit 1

View File

@ -653,11 +653,6 @@ func podFromManifest(filename string) (*api.Pod, error) {
// Run a test container to try and contact the Kubernetes api-server from a pod, wait for it
// to flip to Ready, log its output and delete it.
func RunKubernetesServiceTestContainer(c *client.Client, ns string) {
c, err := LoadClient()
if err != nil {
Logf("Failed to load client")
return
}
path := "test/images/clusterapi-tester/pod.yaml"
p, err := podFromManifest(path)
if err != nil {

View File

@ -28,12 +28,6 @@ set -x
. $1
if [ "$INSTALL_GODEP" = true ] ; then
go get -u github.com/tools/godep
go get -u github.com/onsi/ginkgo/ginkgo
go get -u github.com/onsi/gomega
fi
make generated_files
# TODO converge build steps with hack/build-go some day if possible.