-
Notifications
You must be signed in to change notification settings - Fork 1
/
circle.yml
26 lines (21 loc) · 954 Bytes
/
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
machine:
services:
- docker
dependencies:
override:
- docker info
- docker build -t sebastien-prudhomme/collectd collectd
- docker build -t sebastien-prudhomme/grafana grafana
- docker build -t sebastien-prudhomme/influxdb influxdb
- docker build -t sebastien-prudhomme/telegraf telegraf
test:
override:
- docker run -d sebastien-prudhomme/collectd; sleep 10
- docker run -d -p 3000:3000 sebastien-prudhomme/grafana; sleep 10
- curl --retry 10 --retry-delay 5 -v http://localhost:3000
- docker run -d -p 2003:2003 -p 4242:4242 -p 8083:8083 -p 8086:8086 sebastien-prudhomme/influxdb; sleep 10
- curl --retry 10 --retry-delay 5 -v http://localhost:2003
- curl --retry 10 --retry-delay 5 -v http://localhost:4242
- curl --retry 10 --retry-delay 5 -v http://localhost:8083
- curl --retry 10 --retry-delay 5 -v http://localhost:8086
- docker run -d sebastien-prudhomme/telegraf; sleep 10