Skip to content
Snippets Groups Projects
Commit a9398ea7 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 04af350c
No related branches found
No related tags found
No related merge requests found
......@@ -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}
......
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