mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
functional-tester: remove old assets
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
parent
27d938f825
commit
8bba5367f0
@ -1,4 +0,0 @@
|
||||
agent-1: mkdir -p agent-1 && cd agent-1 && ../bin/etcd-agent -etcd-path ../bin/etcd -port 127.0.0.1:19027 -use-root=false
|
||||
agent-2: mkdir -p agent-2 && cd agent-2 && ../bin/etcd-agent -etcd-path ../bin/etcd -port 127.0.0.1:29027 -use-root=false
|
||||
agent-3: mkdir -p agent-3 && cd agent-3 && ../bin/etcd-agent -etcd-path ../bin/etcd -port 127.0.0.1:39027 -use-root=false
|
||||
stresser: sleep 1s && bin/etcd-tester -agent-endpoints "127.0.0.1:19027,127.0.0.1:29027,127.0.0.1:39027" -client-ports 12379,22379,32379 -peer-ports 12380,22380,32380
|
@ -1,8 +0,0 @@
|
||||
FROM alpine
|
||||
RUN apk update
|
||||
RUN apk add -v iptables sudo
|
||||
ADD bin/etcd-agent /
|
||||
ADD bin/etcd /
|
||||
ADD bin/etcd-tester /
|
||||
RUN mkdir /failure_archive
|
||||
CMD ["./etcd-agent", "-etcd-path", "./etcd"]
|
@ -1,28 +0,0 @@
|
||||
# build according provided Dockerfile
|
||||
a1:
|
||||
build: .
|
||||
privileged: true
|
||||
net: etcd-functional
|
||||
a2:
|
||||
build: .
|
||||
privileged: true
|
||||
net: etcd-functional
|
||||
a3:
|
||||
build: .
|
||||
privileged: true
|
||||
net: etcd-functional
|
||||
tester:
|
||||
build: .
|
||||
privileged: true
|
||||
net: etcd-functional
|
||||
command:
|
||||
- /etcd-tester
|
||||
- -agent-endpoints
|
||||
- "172.20.0.2:9027,172.20.0.3:9027,172.20.0.4:9027"
|
||||
- -limit
|
||||
- "1"
|
||||
- -stress-key-count
|
||||
- "1"
|
||||
- -stress-key-size
|
||||
- "1"
|
||||
|
@ -1,23 +0,0 @@
|
||||
#!/bin/sh -e
|
||||
set -x
|
||||
set -e
|
||||
|
||||
# 1. build etcd binaries
|
||||
[ -f bin/etcd ] || ./build
|
||||
|
||||
# 2. build agent & tester
|
||||
[ -f bin/etcd-agent -a -f bin/etcd-tester ] || ./tools/functional-tester/build
|
||||
|
||||
# 3. build docker image (alpine based)
|
||||
mkdir -p ./tools/functional-tester/docker/bin
|
||||
cp -v bin/etcd-agent bin/etcd-tester bin/etcd ./tools/functional-tester/docker/bin
|
||||
docker-compose -f tools/functional-tester/docker/docker-compose.yml build
|
||||
|
||||
# 4. create network (assumption - no overlaps)
|
||||
docker network ls | grep etcd-functional || docker network create --subnet 172.20.0.0/16 etcd-functional
|
||||
|
||||
# 5. run cluster and tester (assumption - agents'll get first ip addresses)
|
||||
docker-compose -f tools/functional-tester/docker/docker-compose.yml up -d a1 a2 a3
|
||||
|
||||
# 6. run tester
|
||||
docker-compose -f tools/functional-tester/docker/docker-compose.yml run tester
|
Loading…
x
Reference in New Issue
Block a user