Merge "adding change discovery tool to run and display merged patches from the runnin...
[releng/builder.git] / packer / provision / java-builder.sh
index f4829c69245af758f56baabed4a6c45006dce9e9..653012b63120a7a463d506af3651c6125c046caf 100644 (file)
@@ -4,10 +4,14 @@
 
 # The following packages are not needed by all projects, but they are
 # needed by enough to make them useful everywhere
-yum install -q -y @development perl-{Digest-SHA,ExtUtils-MakeMaker} \
+yum install -y @development perl-{Digest-SHA,ExtUtils-MakeMaker} \
     ant {boost,gtest,json-c,libcurl,libxml2,libvirt,openssl}-devel \
     {readline,unixODBC}-devel yum-utils
 
+#Install python3 and dependencies
+yum install -y python34
+yum install -y python34-{devel,virtualenv,setuptools,pip}
+
 # Install python dependencies
 yum install -y python-{devel,virtualenv,setuptools,pip}
 
@@ -22,19 +26,28 @@ yum install -y sshpass
 # requesting the following be installed (note the kernel headers are
 # going to be the x86_64 package as there aren't separate 32bit and
 # x86_64 packages for them
-yum install -q -y glibc-devel.i686 kernel-headers
+yum install -y glibc-devel.i686 kernel-headers
 
 # The following is needed by opendove, if this is to be perfomed against
 # an EL6 system some of these packages are not availalble (or at the
 # wrong version) in publically available repositories as such this
 # should only really be done on an EL7 (or F18+) system
-yum install -q -y {jansson,libevent,libnl,libuuid}-devel
+yum install -y {jansson,libevent,libnl,libuuid}-devel
 
 #The following is needed for the vsemprovider build 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://download.mono-project.com/repo/centos/
+yum-config-manager -y --add-repo http://download.mono-project.com/repo/centos/
 #install the mono toolchain and nuget
-yum -q -y install mono-complete-4.2.3.4 nuget
+yum -y install mono-complete nuget
 #end changes for vsemprovider in VTN
+
+# The following installs hashicorp's packer binary which is required  for
+# the {verify,merge}-packer jobs
+mkdir /tmp/packer
+cd /tmp/packer
+wget https://releases.hashicorp.com/packer/0.10.1/packer_0.10.1_linux_amd64.zip
+unzip packer_0.10.1_linux_amd64.zip -d /usr/local/bin/
+# rename packer to avoid conflict with binary in cracklib
+mv /usr/local/bin/packer /usr/local/bin/packer.io