Merge pull request #15336 from ixdy/install-etcd

Move hack/travis/install-etcd.sh to hack/, and update etcd version to 2.0.12
This commit is contained in:
Marek Grabowski
2015-10-15 09:29:25 +02:00
7 changed files with 16 additions and 13 deletions

View File

@@ -18,11 +18,11 @@ set -o errexit
set -o nounset
set -o pipefail
KUBE_ROOT=$(dirname "${BASH_SOURCE}")/../..
KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
ETCD_VERSION=${ETCD_VERSION:-v2.0.0}
ETCD_VERSION=${ETCD_VERSION:-v2.0.12}
cd "${KUBE_ROOT}/third_party"
curl -sL https://github.com/coreos/etcd/releases/download/${ETCD_VERSION}/etcd-${ETCD_VERSION}-linux-amd64.tar.gz \
curl -fsSL https://github.com/coreos/etcd/releases/download/${ETCD_VERSION}/etcd-${ETCD_VERSION}-linux-amd64.tar.gz \
| tar xzf -
ln -sF etcd-${ETCD_VERSION}-linux-amd64 etcd
ln -fns etcd-${ETCD_VERSION}-linux-amd64 etcd

View File

@@ -32,7 +32,7 @@ export PATH=${GOPATH}/bin:${HOME}/third_party/etcd:/usr/local/go/bin:$PATH
# Install a few things needed by unit and /integration tests.
go get -u github.com/jstemmer/go-junit-report
./hack/travis/install-etcd.sh
./hack/install-etcd.sh
# Enable the Go race detector.
export KUBE_RACE=-race