ci: fix bad assumptions
@@ -8,7 +8,7 @@ set -o pipefail
: ${TEST_NAMESPACE:?"Need to set TEST_NAMESPACE"}
origpwd=$(pwd)
-GOPATH="${origpwd}/../build-${UNIQUE_BUILD_NAME}/gopath/"
+GOPATH="${origpwd}/build-${UNIQUE_BUILD_NAME}/gopath/"
rm -rf $GOPATH
mkdir -p $GOPATH
cd $GOPATH
@@ -22,7 +22,7 @@ cd $GOPATH/src/github.com/coreos/etcd-operator
cleanup() {
echo "cleaning up ==="
cd $origpwd
- rm -rf "${origpwd}/../build-${UNIQUE_BUILD_NAME}"
+ rm -rf "${origpwd}/build-${UNIQUE_BUILD_NAME}"
}
trap cleanup EXIT
@@ -39,7 +39,7 @@ export E2E_TEST_SELECTOR=${E2E_TEST_SELECTOR:-.*}
echo "UNIQUE_BUILD_NAME: ${UNIQUE_BUILD_NAME}"
echo "OPERATOR_IMAGE: ${OPERATOR_IMAGE}"
echo "TEST_NAMESPACE: ${TEST_NAMESPACE}"
-echo "AWS_TEST_ENABLED: ${AWS_TEST_ENABLED}"
+echo "AWS_TEST_ENABLED: ${AWS_TEST_ENABLED-}"
echo "E2E_TEST_SELECTOR: ${E2E_TEST_SELECTOR}"
gcloud docker -a # have docker command access to gcloud
