X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jenkins-scripts%2Fbuilder.sh;h=e80945ac19cb81e67da662515e82854f8ae627e8;hb=4fe946ab377d9063e5cc214a1104c1d2a1525c1c;hp=ea7c7b583d44ec456bacc9670cec5224c7c762d7;hpb=7cd23b721dc3a8ce1db03c52ba2ef280ab57b683;p=releng%2Fbuilder.git diff --git a/jenkins-scripts/builder.sh b/jenkins-scripts/builder.sh index ea7c7b583..e80945ac1 100755 --- a/jenkins-scripts/builder.sh +++ b/jenkins-scripts/builder.sh @@ -1,21 +1,80 @@ #!/bin/bash +# vim: sw=2 ts=2 sts=2 et : yum clean all -yum install -y python-virtualenv xmlstarlet -# sshpass for the current deploy test to be runable immediatelly after build -yum install -y sshpass +# +# VTN +# -# add in mono components for VTN +# Add mono components for VTN yum install -y yum-utils -#The following is needed for the new code in vtn project. -#these packages will enable C# compilation. +# The following is needed for the new code in VTN project +# These packages will enable C# compilation rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF" -#Added the mono tools repository -yum-config-manager -q -y --add-repo http://origin-download.mono-project.com/repo/centos6 -#Install the nuget binary +# Add the mono tools repository +yum-config-manager -q -y --add-repo http://origin-download.mono-project.com/repo/centos +# Install the nuget binary yum install -q -y http://origin-download.mono-project.com/repo/centos/n/nuget/nuget-2.8.3+md58+dhx1-0.noarch.rpm -#install the mono toolchain +# Install the mono toolchain yum -q -y install mono-complete +# +# Integration/Packaging +# + +# Install software for building RPMs +yum install -y fedora-packager + +# Install software for building docs +yum install -y libxslt-devel + + + +# disable the firewall +/bin/bash ./disable_firewall.sh + +# install sshpass +yum install -y sshpass + # vim: sw=2 ts=2 sts=2 et : +# Installation of Hbase +mkdir /tmp/Hbase +cd /tmp/Hbase + +wget --no-verbose http://apache.osuosl.org/hbase/hbase-0.94.27/hbase-0.94.27.tar.gz + +echo "Installing the Hbase Server..." + +tar -xvf hbase-0.94.27.tar.gz + +#Installation of Cassandra + + +mkdir /tmp/cassandra +cd /tmp/cassandra + +wget --no-verbose http://apache.osuosl.org/cassandra/2.1.14/apache-cassandra-2.1.14-bin.tar.gz + +echo "Installing the Cassandra Server..." + +tar -xvf apache-cassandra-2.1.14-bin.tar.gz + +# Installation of Elasticsearch node + +mkdir /tmp/elasticsearch +cd /tmp/elasticsearch + +wget --no-verbose https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.7.5.tar.gz + +echo "Installing the Elasticsearch node..." + +tar -xvzf elasticsearch-1.7.5.tar.gz + +cat </etc/sudoers.d/89-jenkins-user-defaults +Defaults:jenkins !requiretty +jenkins ALL = NOPASSWD: ALL +EOF + +# install crudini command line tool for editing config files +yum install -y crudini