Commit 8d0f5410 authored by Volodymyr Yurchenko's avatar Volodymyr Yurchenko
Browse files

Let yum-builddep install oracle client

Move oracle repo setup to bootstrapCTA
parent 33414e8b
......@@ -23,11 +23,21 @@ for r in `ls -1 ~/CTA/continuousintegration/docker/ctafrontend/cc7/etc/yum.repos
sudo yum install -y yum-plugin-priorities
sudo wget -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
sudo tee /etc/yum.repos.d/oracle-instant-client.repo > /dev/null << 'EOF'
name=Oracle instant client
echo Adding versionlock for xrootd:
sudo cp ~/CTA/continuousintegration/docker/ctafrontend/cc7/etc/yum/pluginconf.d/versionlock.list /etc/yum/pluginconf.d/versionlock.list
echo Installing build dependencies
sudo yum-builddep -y ~/CTA-build-srpm/RPM/SRPMS/cta-0-1.src.rpm --nogpgcheck
sudo yum-builddep -y ~/CTA-build-srpm/RPM/SRPMS/cta-0-1.src.rpm --nogpgcheck --enablerepo=oracle-instant-client
echo Installing mhvtl
sudo yum install -y mhvtl-utils kmod-mhvtl mhvtl-utils --enablerepo=castor
......@@ -28,12 +28,6 @@ sudo -u $CTAUSER cp tigConf/tigrc $CTAUSERHOME/.tigrc
echo Installing minimal tools and tape tools
sudo yum install -y git cmake rpm-build gcc gcc-c++ vim gdb cgdb strace ltrace screen tig lsscsi mt-st mtx sg3_utils jq psmisc mariadb-devel yum-plugin-versionlock krb5-workstation wget yum-utils epel-release
echo Installing Oracle instant client
sudo wget -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
sudo wget -O /etc/yum.repos.d/public-yum-ol7.repo
sudo yum install -y --enablerepo=ol7_oracle_instantclient $(grep 'Requires: oracle' ../../../ | awk '{print $2}' | tr '\n' ' ')
sudo yum-config-manager --disable ol7_*
echo "Getting CTA sources for $CTAUSER..."
sudo -u $CTAUSER bash -c 'cd ~ ; git clone; cd CTA ; git submodule update --init --recursive'
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