Commit 58df66cf authored by rem31's avatar rem31
Browse files

test_new_ci

parent 7072dcf3
...@@ -11,15 +11,18 @@ fi ...@@ -11,15 +11,18 @@ fi
if [ $DISTRIB = "el7" ] ; then if [ $DISTRIB = "el7" ] ; then
curl http://yum-1.centreon.com/standard/21.10/el7/unstable/x86_64/clib/centreon-clib-21.10.0-1632908959.e89357c/centreon-clib-21.10.0-1632908959.e89357c.el7.centos.x86_64.rpm --output centreon-clib-21.10.0-1632908959.e89357c.el7.centos.x86_64.rpm curl http://yum-1.centreon.com/standard/21.10/el7/unstable/x86_64/clib/centreon-clib-21.10.0-1632908959.e89357c/centreon-clib-21.10.0-1632908959.e89357c.el7.centos.x86_64.rpm --output centreon-clib-21.10.0-1632908959.e89357c.el7.centos.x86_64.rpm
curl http://yum-1.centreon.com/standard/21.10/el7/unstable/x86_64/clib/centreon-clib-21.10.0-1632908959.e89357c/centreon-clib-devel-21.10.0-1632908959.e89357c.el7.centos.x86_64.rpm --output centreon-clib-devel-21.10.0-1632908959.e89357c.el7.centos.x86_64.rpm curl http://yum-1.centreon.com/standard/21.10/el7/unstable/x86_64/clib/centreon-clib-21.10.0-1632908959.e89357c/centreon-clib-devel-21.10.0-1632908959.e89357c.el7.centos.x86_64.rpm --output centreon-clib-devel-21.10.0-1632908959.e89357c.el7.centos.x86_64.rpm
yum install centreon-clib*.rpm yum -y install centreon-clib*.rpm
else else
curl http://yum-1.centreon.com/standard/21.10/el8/unstable/x86_64/clib/clib-21.10.0-1632908959.e89357c/centreon-clib-21.10.0-1632908959.e89357c.el8.x86_64.rpm --output centreon-clib-21.10.0-1632908959.e89357c.el8.x86_64.rpm curl http://yum-1.centreon.com/standard/21.10/el8/unstable/x86_64/clib/clib-21.10.0-1632908959.e89357c/centreon-clib-21.10.0-1632908959.e89357c.el8.x86_64.rpm --output centreon-clib-21.10.0-1632908959.e89357c.el8.x86_64.rpm
curl http://yum-1.centreon.com/standard/21.10/el8/unstable/x86_64/clib/clib-21.10.0-1632908959.e89357c/centreon-clib-devel-21.10.0-1632908959.e89357c.el8.x86_64.rpm --output centreon-clib-devel-21.10.0-1632908959.e89357c.el8.x86_64.rpm curl http://yum-1.centreon.com/standard/21.10/el8/unstable/x86_64/clib/clib-21.10.0-1632908959.e89357c/centreon-clib-devel-21.10.0-1632908959.e89357c.el8.x86_64.rpm --output centreon-clib-devel-21.10.0-1632908959.e89357c.el8.x86_64.rpm
yum install centreon-clib*.rpm yum -y install centreon-clib*.rpm
fi fi
# echo "################################################## BUILDING CONNECTOR ##################################################" # echo "################################################## BUILDING CONNECTOR ##################################################"
# generate rpm connector # generate rpm connector
if [ ! -d /root/rpmbuild/SOURCES ] ; then
mkdir -p /root/rpmbuild/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS}
fi
mkdir centreon-connector-$VERSION mkdir centreon-connector-$VERSION
cp -r centreon-connector/* centreon-connector-$VERSION cp -r centreon-connector/* centreon-connector-$VERSION
tar -czf centreon-connector-$VERSION.tar.gz centreon-connector-$VERSION centreon-connector/cmake.sh tar -czf centreon-connector-$VERSION.tar.gz centreon-connector-$VERSION centreon-connector/cmake.sh
......
...@@ -6,14 +6,15 @@ DISTRIB=$(lsb_release -rs | cut -f1 -d.) ...@@ -6,14 +6,15 @@ DISTRIB=$(lsb_release -rs | cut -f1 -d.)
if [ $DISTRIB = "7" ] ; then if [ $DISTRIB = "7" ] ; then
curl http://yum-1.centreon.com/standard/21.10/el7/unstable/x86_64/clib/centreon-clib-21.10.0-1632908959.e89357c/centreon-clib-21.10.0-1632908959.e89357c.el7.centos.x86_64.rpm --output centreon-clib-21.10.0-1632908959.e89357c.el7.centos.x86_64.rpm curl http://yum-1.centreon.com/standard/21.10/el7/unstable/x86_64/clib/centreon-clib-21.10.0-1632908959.e89357c/centreon-clib-21.10.0-1632908959.e89357c.el7.centos.x86_64.rpm --output centreon-clib-21.10.0-1632908959.e89357c.el7.centos.x86_64.rpm
curl http://yum-1.centreon.com/standard/21.10/el7/unstable/x86_64/clib/centreon-clib-21.10.0-1632908959.e89357c/centreon-clib-devel-21.10.0-1632908959.e89357c.el7.centos.x86_64.rpm --output centreon-clib-devel-21.10.0-1632908959.e89357c.el7.centos.x86_64.rpm curl http://yum-1.centreon.com/standard/21.10/el7/unstable/x86_64/clib/centreon-clib-21.10.0-1632908959.e89357c/centreon-clib-devel-21.10.0-1632908959.e89357c.el7.centos.x86_64.rpm --output centreon-clib-devel-21.10.0-1632908959.e89357c.el7.centos.x86_64.rpm
yum install centreon-clib*.rpm yum -y install centreon-clib*.rpm
elif [ $DISTRIB = "8" ] ; then elif [ $DISTRIB = "8" ] ; then
curl http://yum-1.centreon.com/standard/21.10/el8/unstable/x86_64/clib/clib-21.10.0-1632908959.e89357c/centreon-clib-21.10.0-1632908959.e89357c.el8.x86_64.rpm --output centreon-clib-21.10.0-1632908959.e89357c.el8.x86_64.rpm curl http://yum-1.centreon.com/standard/21.10/el8/unstable/x86_64/clib/clib-21.10.0-1632908959.e89357c/centreon-clib-21.10.0-1632908959.e89357c.el8.x86_64.rpm --output centreon-clib-21.10.0-1632908959.e89357c.el8.x86_64.rpm
curl http://yum-1.centreon.com/standard/21.10/el8/unstable/x86_64/clib/clib-21.10.0-1632908959.e89357c/centreon-clib-devel-21.10.0-1632908959.e89357c.el8.x86_64.rpm --output centreon-clib-devel-21.10.0-1632908959.e89357c.el8.x86_64.rpm curl http://yum-1.centreon.com/standard/21.10/el8/unstable/x86_64/clib/clib-21.10.0-1632908959.e89357c/centreon-clib-devel-21.10.0-1632908959.e89357c.el8.x86_64.rpm --output centreon-clib-devel-21.10.0-1632908959.e89357c.el8.x86_64.rpm
yum install centreon-clib*.rpm yum -y install centreon-clib*.rpm
elif [ "$(cat /etc/debian_version)" = "10.10" ] ; then
fi fi
# elif [ "$(cat /etc/debian_version)" = "10.10" ] ; then
# fi
#Cmake #Cmake
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment