-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.travis.yml
44 lines (37 loc) · 1.58 KB
/
.travis.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
sudo: required
dist: trusty
language: generic
services:
- docker
env:
global:
- GRAFANA_VERSION=6.4.3
- GRAPHITE_VERSION=1.1.5
- INFLUXDB_VERSION=1.7.8
# STATSD_VERSION=0.8.5
- TELEGRAF_VERSION=1.12.3
before_install:
- docker run --rm --privileged multiarch/qemu-user-static:register --reset
script:
- docker build -t easypi/grafana-arm:$GRAFANA_VERSION fig/grafana
- docker build -t easypi/graphite-arm:$GRAPHITE_VERSION fig/graphite
- docker build -t easypi/influxdb-arm:$INFLUXDB_VERSION fig/influxdb
# docker build -t easypi/statsd-arm:$STATSD_VERSION fig/statsd
- docker build -t easypi/telegraf-arm:$TELEGRAF_VERSION fig/telegraf
after_success:
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
- docker tag easypi/grafana-arm:$GRAFANA_VERSION easypi/grafana-arm:latest
- docker tag easypi/graphite-arm:$GRAPHITE_VERSION easypi/graphite-arm:latest
- docker tag easypi/influxdb-arm:$INFLUXDB_VERSION easypi/influxdb-arm:latest
# docker tag easypi/statsd-arm:$STATSD_VERSION easypi/statsd-arm:latest
- docker tag easypi/telegraf-arm:$TELEGRAF_VERSION easypi/telegraf-arm:latest
- docker push easypi/grafana-arm:$GRAFANA_VERSION
- docker push easypi/graphite-arm:$GRAPHITE_VERSION
- docker push easypi/influxdb-arm:$INFLUXDB_VERSION
# docker push easypi/statsd-arm:$STATSD_VERSION
- docker push easypi/telegraf-arm:$TELEGRAF_VERSION
- docker push easypi/grafana-arm:latest
- docker push easypi/graphite-arm:latest
- docker push easypi/influxdb-arm:latest
# docker push easypi/statsd-arm:latest
- docker push easypi/telegraf-arm:latest