Commit aa896a67 by Elvin Sindrilaru

CI: Handle broken cern-source repo maintained by linuxsoft

parent c88a6c23
Pipeline #393178 failed with stages
in 3 minutes 52 seconds
......@@ -57,7 +57,7 @@ eos_rpm_cc7:
- cd ..
- echo -e '[eos-depend]\nname=EOS dependencies\nbaseurl=http://storage-ci.web.cern.ch/storage-ci/eos/'${BRANCH}'-depend/el-7/x86_64/\ngpgcheck=0\nenabled=1\nexclude=xrootd*\npriority=4\n' >> /etc/yum.repos.d/eos-depend.repo
- echo -e '\n[kio]\nname=kio\nbaseurl=https://dss-ci-repo.web.cern.ch/dss-ci-repo/kinetic/kineticio/el-7-x86_64\nenabled=1\n' >> /etc/yum.repos.d/eos-depend.repo
- yum-builddep --nogpgcheck --setopt=cern*.exclude=xrootd* -y build/SRPMS/*
- yum-builddep --nogpgcheck --setopt=cern*.exclude=xrootd* --setopt=cern-source.skip_if_unavailable=1 -y build/SRPMS/*
- if [[ $CI_COMMIT_TAG ]]; then BUILD_TYPE=tag; else BUILD_TYPE=commit; fi
- if [ "$BUILD_TYPE" == "commit" ]; then source gitlab-ci/setup_ccache.sh; else export CCACHE_DISABLE=1; fi
- rpmbuild --rebuild --with=server --define "_rpmdir build/RPMS/" --define "_build_name_fmt %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm" build/SRPMS/*
......@@ -91,7 +91,7 @@ eos_rpm_slc6:
- echo -e '[eos-depend]\nname=EOS dependencies\nbaseurl=http://storage-ci.web.cern.ch/storage-ci/eos/'${BRANCH}'-depend/el-6/x86_64/\ngpgcheck=0\nenabled=1\nexclude=xrootd*\npriority=4\n' >> /etc/yum.repos.d/eos-depend.repo
# TODO: this repository needs to be removed in the future
- echo -e '\n[kio]\nname=kio\nbaseurl=https://dss-ci-repo.web.cern.ch/dss-ci-repo/kinetic/kineticio/el-6-x86_64\nenabled=1\n' >> /etc/yum.repos.d/eos-depend.repo
- yum-builddep --nogpgcheck --setopt=cern*.exclude=xrootd* -y build/SRPMS/*
- yum-builddep --nogpgcheck --setopt=cern*.exclude=xrootd* --setopt=cern-source.skip_if_unavailable=1 -y build/SRPMS/*
- if [[ $CI_COMMIT_TAG ]]; then BUILD_TYPE=tag; else BUILD_TYPE=commit; fi
- if [ "$BUILD_TYPE" == "commit" ]; then source gitlab-ci/setup_ccache_slc6.sh; ccache --max-size=1.5G; else export CCACHE_DISABLE=1; fi
- rpmbuild --rebuild --with server --define "_rpmdir build/RPMS/" --define "_build_name_fmt %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm" build/SRPMS/*
......@@ -458,7 +458,7 @@ eos_unit_test:
- if [ "$BUILD_TYPE" == "commit" ]; then source gitlab-ci/setup_ccache.sh; else export CCACHE_DISABLE=1; fi
- echo -e '[eos-depend]\nname=EOS dependencies\nbaseurl=http://storage-ci.web.cern.ch/storage-ci/eos/'${BRANCH}'-depend/el-7/x86_64/\ngpgcheck=0\nenabled=1\nexclude=xrootd*\npriority=4\n' >> /etc/yum.repos.d/eos-depend.repo
- echo -e '\n[kio]\nname=kio\nbaseurl=https://dss-ci-repo.web.cern.ch/dss-ci-repo/kinetic/kineticio/el-7-x86_64\nenabled=1\n' >> /etc/yum.repos.d/eos-depend.repo
- yum-builddep --nogpgcheck -y --setopt=cern*.exclude=xrootd* build/SRPMS/*
- yum-builddep --nogpgcheck -y --setopt=cern*.exclude=xrootd* --setopt=cern-source.skip_if_unavailable=1 build/SRPMS/*
- rm -rf build
- mkdir build
- cd build
......@@ -638,7 +638,7 @@ eos_periodic_coverity:
- cd build
- cmake3 .. -DPACKAGEONLY=1
- make srpm
- sudo yum-builddep --nogpgcheck -y --setopt=cern*.exclude=xrootd* SRPMS/*
- sudo yum-builddep --nogpgcheck -y --setopt=cern*.exclude=xrootd* --setopt=cern-source.skip_if_unavailable=1 SRPMS/*
- rm -f CMakeCache.txt
- scl enable devtoolset-6 "cmake3 .."
- cov-build --dir cov-int make -j 4
......
Markdown is supported
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