summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorMohamed Ashiq Liyazudeen <mliyazud@redhat.com>2017-08-10 16:58:09 +0530
committerMohamed Ashiq Liyazudeen <mliyazud@redhat.com>2017-08-10 17:31:05 +0530
commit1171781ec72f3b804ca91e6db2dc456559acca05 (patch)
tree71a29e638b6ce02c3f83ad6402d01709eef7a991 /.travis.yml
parente60e60560bb279714f423e97bf1f9d32cc573b4d (diff)
downloadgluster-1171781ec72f3b804ca91e6db2dc456559acca05.tar.gz
gluster-1171781ec72f3b804ca91e6db2dc456559acca05.tar.bz2
gluster-1171781ec72f3b804ca91e6db2dc456559acca05.tar.xz
gluster-1171781ec72f3b804ca91e6db2dc456559acca05.zip
Add tests for the script changes
Signed-off-by: Mohamed Ashiq Liyazudeen <mliyazud@redhat.com>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 78f0592..3bc0479 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -21,10 +21,30 @@ before_install:
- docker run -d --name gcentos --privileged gluster/centos
- sleep 10
- docker exec -it gcentos systemctl is-active glusterd
+- docker stop gcentos
+- docker rm gcentos
+- sudo mkdir -p /home/centos-glusterd
+- sudo mkdir -p /home/centos-gluster-etc
+- sudo mkdir -p /home/centos-gluster-log
+- docker run -d --name gcentos -v /home/centos-glusterd:/var/lib/glusterd/:z -v /home/centos-gluster-etc:/etc/glusterfs:z -v /home/centos-gluster-log:/var/log/glusterfs --privileged gluster/centos
+- sleep 10
+- docker exec -it gcentos systemctl is-active glusterd
+- docker stop gcentos
+- docker rm gcentos
- docker build -t gluster/fedora ./Fedora/
- docker run -d --name gfedora --privileged -v /sys/fs/cgroup:/sys/fs/cgroup:ro gluster/fedora
- sleep 10
- docker exec -it gfedora systemctl is-active glusterd
+- docker stop gfedora
+- docker rm gfedora
+- sudo mkdir -p /home/fedora-glusterd
+- sudo mkdir -p /home/fedora-gluster-etc
+- sudo mkdir -p /home/fedora-gluster-log
+- docker run -d --name gfedora -v /home/fedora-glusterd:/var/lib/glusterd/:z -v /home/fedora-gluster-etc:/etc/glusterfs:z -v /home/fedora-gluster-log:/var/log/glusterfs -v /sys/fs/cgroup:/sys/fs/cgroup:ro --privileged gluster/fedora
+- sleep 10
+- docker exec -it gfedora systemctl is-active glusterd
+- docker stop gfedora
+- docker rm gfedora
- docker build -t gluster/s3object ./gluster-s3object/CentOS/docker-gluster-s3/
- docker run -d --name s3object --privileged -v /sys/fs/cgroup:/sys/fs/cgroup:ro -e S3_ACCOUNT=vol -e S3_USER="admin" -e S3_PASSWORD="redhat" gluster/s3object
- sleep 10