mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-26 07:30:14 +00:00
These plugins are not compatible with python 3 and breaking unit tests
17 lines
402 B
Bash
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
|