Files
patroni/acceptance_tests.sh
T
Alexander Kukushkin c955e29805 Disable gce boto plugins by overriding BOTO_CONFIG
These plugins are not compatible with python 3 and breaking unit tests
2016-03-10 20:02:40 +01:00

17 lines
402 B
Bash

#!/bin/bash
ETCDVERSION=2.2.5
BINDIR=bin
[ -d $BINDIR ] || mkdir $BINDIR
export PATH=$BINDIR:$PATH
# Add etcd
curl -L https://github.com/coreos/etcd/releases/download/v${ETCDVERSION}/etcd-v${ETCDVERSION}-linux-amd64.tar.gz | tar xz -C $BINDIR --strip=1 --wildcards --no-anchored etcd etcdctl
sudo pip2.7 install lettuce python-Levenshtein
sudo pip2.7 install -r requirements-py2.txt
exec lettuce