Commit 3e9f5dcc authored by Julien Leduc's avatar Julien Leduc
Browse files

Adding some checks on available rpms to fail Docker build phase if there is no...

Adding some checks on available rpms to fail Docker build phase if there is no point going further (with some diagnostics)
parent 06500702
......@@ -85,6 +85,15 @@ RUN yum-config-manager --enable epel --setopt="epel.priority=4" \
; \
rm -f /etc/rc.d/rc.local
# Check that CTA packages are in container (from previous artifacts)
RUN find ${CTAREPODIR}/RPMS/x86_64 | grep cta-taped && echo "cta-taped rpm is present: artifacts seems OK" || (echo "cta-taped rpm was not added from previously built artifact: this is a gitlab issue that must be investigated" 1>&2; exit 1)
# Check that EOS packages are in container (downloaded from ci-repo)
RUN find ${CTAREPODIR}/RPMS/x86_64 | grep eos-server && echo "eos-server rpm is present: CI repos seem OK" || (echo "eos-server rpm was not downloaded from CI configured repos: this must be investigated" 1>&2; exit 1)
# Check that xrootd packages are in container (downloaded from ci-repo)
RUN find ${CTAREPODIR}/RPMS/x86_64 | grep xrootd-server && echo "xrootd-server rpm is present: CI repos seem OK" || (echo "xrootd-server rpm was not downloaded from CI configured repos: this must be investigated" 1>&2; exit 1)
# Add pod specific configuration
ADD ${BASEDIR}/config ${LOCALORCHESTRATIONDIR}
......
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