Skip to content

Commit

Permalink
Build 3.4 branch
Browse files Browse the repository at this point in the history
  • Loading branch information
jangaraj committed Sep 8, 2017
1 parent 9506bc1 commit c0ed2bb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ branches:
- master

before_script:
- "svn --quiet export svn://svn.zabbix.com/branches/3.2 ~/zabbix/"
- "svn --quiet export svn://svn.zabbix.com/branches/3.4 ~/zabbix/"
- "cd ~/zabbix"
- "./bootstrap.sh 1>/dev/null"
- "./configure --enable-agent"
Expand Down
18 changes: 6 additions & 12 deletions artifacts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,7 @@ cd ../../..
#cd ../../..

########## 3.4 section #####################
#sed -i "s#ENV ZABBIX_VERSION=branches/3.2#ENV ZABBIX_VERSION=branches/3.4#g" dockerfiles/amazonlinux/Dockerfile
sed -i "s#ENV ZABBIX_VERSION=branches/3.2#ENV ZABBIX_VERSION=trunk#g" dockerfiles/amazonlinux/Dockerfile
sed -i "s#ENV ZABBIX_VERSION=branches/3.2#ENV ZABBIX_VERSION=branches/3.4#g" dockerfiles/amazonlinux/Dockerfile
mkdir -p out/amazonlinux/3.4/
docker build --rm=true -t local/zabbix-docker-module-compilation -f dockerfiles/amazonlinux/Dockerfile .
docker run --rm -v $PWD/out/amazonlinux/3.4/:/tmp local/zabbix-docker-module-compilation cp /root/zabbix/src/modules/zabbix_module_docker/zabbix_module_docker.so /tmp/zabbix_module_docker.so
Expand All @@ -330,8 +329,7 @@ sha256sum zabbix_module_docker.so > sha256sum.txt
cd ../../..

git checkout -- dockerfiles/centos/Dockerfile
#sed -i "s#ENV ZABBIX_VERSION=branches/3.2#ENV ZABBIX_VERSION=branches/3.4#g" dockerfiles/centos/Dockerfile
sed -i "s#ENV ZABBIX_VERSION=branches/3.2#ENV ZABBIX_VERSION=trunk#g" dockerfiles/centos/Dockerfile
sed -i "s#ENV ZABBIX_VERSION=branches/3.2#ENV ZABBIX_VERSION=branches/3.4#g" dockerfiles/centos/Dockerfile

mkdir -p out/centos7/3.4/
docker build --rm=true -t local/zabbix-docker-module-compilation -f dockerfiles/centos/Dockerfile .
Expand All @@ -355,8 +353,7 @@ sha256sum zabbix_module_docker.so > sha256sum.txt
cd ../../..

git checkout -- dockerfiles/debian/Dockerfile
#sed -i "s#ENV ZABBIX_VERSION=branches/3.2#ENV ZABBIX_VERSION=branches/3.4#g" dockerfiles/debian/Dockerfile
sed -i "s#ENV ZABBIX_VERSION=branches/3.2#ENV ZABBIX_VERSION=trunk#g" dockerfiles/debian/Dockerfile
sed -i "s#ENV ZABBIX_VERSION=branches/3.2#ENV ZABBIX_VERSION=branches/3.4#g" dockerfiles/debian/Dockerfile

mkdir -p out/debian8/3.4/
docker build --rm=true -t local/zabbix-docker-module-compilation -f dockerfiles/debian/Dockerfile .
Expand Down Expand Up @@ -391,8 +388,7 @@ sha256sum zabbix_module_docker.so > sha256sum.txt
cd ../../..

git checkout -- dockerfiles/ubuntu/Dockerfile
#sed -i "s#ENV ZABBIX_VERSION=branches/3.2#ENV ZABBIX_VERSION=branches/3.4#g" dockerfiles/ubuntu/Dockerfile
sed -i "s#ENV ZABBIX_VERSION=branches/3.2#ENV ZABBIX_VERSION=trunk#g" dockerfiles/ubuntu/Dockerfile
sed -i "s#ENV ZABBIX_VERSION=branches/3.2#ENV ZABBIX_VERSION=branches/3.4#g" dockerfiles/ubuntu/Dockerfile

mkdir -p out/ubuntu14/3.4/
docker build --rm=true -t local/zabbix-docker-module-compilation -f dockerfiles/ubuntu/Dockerfile .
Expand Down Expand Up @@ -427,8 +423,7 @@ sha256sum zabbix_module_docker.so > sha256sum.txt
cd ../../..

git checkout -- dockerfiles/opensuse/Dockerfile
#sed -i "s#ENV ZABBIX_VERSION=branches/3.2#ENV ZABBIX_VERSION=branches/3.4#g" dockerfiles/opensuse/Dockerfile
sed -i "s#ENV ZABBIX_VERSION=branches/3.2#ENV ZABBIX_VERSION=trunk#g" dockerfiles/opensuse/Dockerfile
sed -i "s#ENV ZABBIX_VERSION=branches/3.2#ENV ZABBIX_VERSION=branches/3.4#g" dockerfiles/opensuse/Dockerfile

mkdir -p out/opensuse42/3.4/
docker build --rm=true -t local/zabbix-docker-module-compilation -f dockerfiles/opensuse/Dockerfile .
Expand All @@ -441,8 +436,7 @@ sha256sum zabbix_module_docker.so > sha256sum.txt
cd ../../..

git checkout -- dockerfiles/fedora/Dockerfile
#sed -i "s#ENV ZABBIX_VERSION=branches/3.2#ENV ZABBIX_VERSION=branches/3.4#g" dockerfiles/fedora/Dockerfile
sed -i "s#ENV ZABBIX_VERSION=branches/3.2#ENV ZABBIX_VERSION=trunk#g" dockerfiles/fedora/Dockerfile
sed -i "s#ENV ZABBIX_VERSION=branches/3.2#ENV ZABBIX_VERSION=branches/3.4#g" dockerfiles/fedora/Dockerfile

mkdir -p out/fedora25/3.4/
docker build --rm=true -t local/zabbix-docker-module-compilation -f dockerfiles/fedora/Dockerfile .
Expand Down

0 comments on commit c0ed2bb

Please sign in to comment.