Skip to content

Commit

Permalink
provisioning a CentOS 6.3 slave (for ci use with jenkins)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdeltel committed Aug 3, 2017
1 parent 7b0c20e commit 7c96228
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions test/slaves/centos63-shell-provisioner.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#!/bin/bash
# Shell script for provisioning an Ubuntu 16.04 LTS slave on Inria cloudstack to compile GATB-CORE
# (for use with Jenkins, ci.inria.fr)

set -xv
set -e


yum -y update yum
yum clean all

# Install necessary packages
# --------------------------

yum -y --disablerepo=\* --enablerepo=base,update update cmake

yum -y --disablerepo=\* --enablerepo=base,update install flex
yum -y --disablerepo=\* --enablerepo=base,update install cppunit.x86_64
yum -y --disablerepo=\* --enablerepo=base,update install cppunit-devel.x86_64
yum -y --disablerepo=\* --enablerepo=base,update install graphviz


# Install Doxygen
# ---------------
# Note: CentOS 6.3 comes with doxygen 1.6 (not compatible with Plast, needing 1.8).

cd /tmp
git clone https://github.com/doxygen/doxygen.git
cd doxygen
git checkout 0072ba56aa99420 # validated on Plast, as of 2017/08/03

# http://www.stack.nl/~dimitri/doxygen/manual/install.html
mkdir build
cd build
cmake -G "Unix Makefiles" ..

make

make install

# Display java version
# --------------------
# as of 2017/08/03 : OpenJDK Runtime Environment (IcedTea6 1.11.4) (rhel-1.49.1.11.4.el6_3-x86_64)

java -version

0 comments on commit 7c96228

Please sign in to comment.