forked from ploio/docker-elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
52 lines (48 loc) · 2.01 KB
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
machine:
services:
- docker
general:
branches:
ignore:
- gh-pages # list of branches to ignore
dependencies:
cache_directories:
- "~/docker"
override:
- docker info
- docker build -t portefaix/elasticsearch:1.5 1.5
- docker build -t portefaix/elasticsearch:1.6 1.6
- docker build -t portefaix/elasticsearch:1.7 1.7
- docker build -t portefaix/elasticsearch:2.0 2.0
- docker build -t portefaix/elasticsearch:2.1 2.1
- docker build -t portefaix/elasticsearch:2.2 2.2
- docker build -t portefaix/elasticsearch:2.3 2.3
test:
override:
- docker run -d -p 9215:9200 -p 9315:9300 --name es1.5 portefaix/elasticsearch:1.5; sleep 20
- curl --retry 10 --retry-delay 5 -v http://localhost:9215
- docker stop es1.5
- docker run -d -p 9216:9200 -p 9316:9300 --name es1.6 portefaix/elasticsearch:1.6; sleep 20
- curl --retry 10 --retry-delay 5 -v http://localhost:9216
- docker stop es1.6
- docker run -d -p 9217:9200 -p 9317:9300 --name es1.7 portefaix/elasticsearch:1.7; sleep 20
- curl --retry 10 --retry-delay 5 -v http://localhost:9217
- docker stop es1.7
- docker run -d -p 9218:9200 -p 9318:9300 --name es2.0 portefaix/elasticsearch:2.0; sleep 20
- curl --retry 10 --retry-delay 5 -v http://localhost:9218
- docker stop es2.0
- docker run -d -p 9219:9200 -p 9319:9300 --name es2.1 portefaix/elasticsearch:2.1; sleep 20
- curl --retry 10 --retry-delay 5 -v http://localhost:9219
- docker stop es2.1
- docker run -d -p 9220:9200 -p 9320:9300 --name es2.2 portefaix/elasticsearch:2.2; sleep 20
- curl --retry 10 --retry-delay 5 -v http://localhost:9220
- docker stop es2.2
- docker run -d -p 9221:9200 -p 9321:9300 --name es2.3 portefaix/elasticsearch:2.3; sleep 20
- curl --retry 10 --retry-delay 5 -v http://localhost:9221
- docker stop es2.3
#deployment:
# hub:
# branch: master
# commands:
# - docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
# - docker push portefaix/elasticsearch