mirror of
https://github.com/digitalocean/ceph_exporter
synced 2025-02-18 04:16:49 +00:00
Merge pull request #43 from digitalocean/fix_ceph_connection
bug: fix installation of ceph libraries, add docker tags
This commit is contained in:
commit
d5a8c64171
@ -5,6 +5,9 @@ dist: trusty
|
||||
go:
|
||||
- 1.5
|
||||
|
||||
env:
|
||||
- DOCKER_TAG=$TRAVIS_TAG
|
||||
|
||||
before_install:
|
||||
- sudo apt-get update
|
||||
- sudo apt-get install -y librados-dev librbd-dev
|
||||
@ -26,5 +29,5 @@ script:
|
||||
after_success:
|
||||
- if [ "$TRAVIS_BRANCH" == "master" ]; then
|
||||
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
|
||||
docker push digitalocean/ceph_exporter;
|
||||
docker push digitalocean/ceph_exporter:$DOCKER_TAG;
|
||||
fi
|
||||
|
@ -11,7 +11,8 @@ RUN apt-get update && \
|
||||
|
||||
RUN echo "deb https://download.ceph.com/debian-jewel trusty main" >> /etc/apt/sources.list
|
||||
|
||||
RUN apt-get install -y --force-yes librados-dev librbd-dev
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --force-yes librados-dev librbd-dev
|
||||
|
||||
RUN \
|
||||
mkdir -p /goroot && \
|
||||
|
Loading…
Reference in New Issue
Block a user