Skip to content
Snippets Groups Projects
Commit 011559c7 authored by Julien Leduc's avatar Julien Leduc
Browse files

versionlock the version of EOS that works and cache its files locally so that...

versionlock the version of EOS that works and cache its files locally so that they are not lost if we remove files from a repo by accident...
parent 926a5f39
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ ENV CTAREPODIR="/tmp/repo"
# Manage repos
ADD ${BASEDIR}/etc /etc
RUN yum install -y yum-plugin-priorities yum-plugin-versionlock createrepo epel-release
RUN yum install -y yum-plugin-downloadonly yum-plugin-priorities yum-plugin-versionlock createrepo epel-release
# where do we want to get xroot from?
# epel version is more recent but eos-citrine-depend repo has a higher priority (4) than epel
......@@ -40,10 +40,11 @@ RUN yum install -y yum-plugin-priorities yum-plugin-versionlock createrepo epel-
# the older version of xroot is installed by cta-cli and is not conflicting later when installing eos...
# Create local repo for cta artifacts
RUN mkdir -p ${CTAREPODIR} ${LOCALORCHESTRATIONDIR}
RUN mkdir -p ${CTAREPODIR}/RPMS/x86_64 ${LOCALORCHESTRATIONDIR}
# Add previously built rpms
ADD build_rpm/RPM ${CTAREPODIR}
# Populate local repository and enable it
RUN yum install --downloadonly --downloaddir=${CTAREPODIR}/RPMS/x86_64 eos-client eos-server xrootd-client xrootd-debuginfo xrootd-server
RUN createrepo ${CTAREPODIR}; echo -e "[cta-artifacts]\nname=CTA artifacts\nbaseurl=file://${CTAREPODIR}\ngpgcheck=0\nenabled=1\npriority=2" > /etc/yum.repos.d/cta-artifacts.repo
# Install needed packages
......
0:eos-client-4.1.11-1.el7.x86_64
0:eos-server-4.1.11-1.el7.x86_64
0:eos-4.1.11-20161201173924git4b5862b.el7.src
0:eos-archive-4.1.11-20161201173924git4b5862b.el7.x86_64
0:eos-cleanup-4.1.11-20161201173924git4b5862b.el7.x86_64
0:eos-client-4.1.11-20161201173924git4b5862b.el7.x86_64
0:eos-debuginfo-4.1.11-20161201173924git4b5862b.el7.x86_64
0:eos-server-4.1.11-20161201173924git4b5862b.el7.x86_64
0:eos-srm-4.1.11-20161201173924git4b5862b.el7.x86_64
0:eos-test-4.1.11-20161201173924git4b5862b.el7.x86_64
0:eos-testkeytab-4.1.11-20161201173924git4b5862b.el7.x86_64
1:xrootd-4.4.0-1.el7.x86_64
1:xrootd-debuginfo-4.4.0-1.el7.x86_64
1:xrootd-client-libs-4.4.0-1.el7.x86_64
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment