Skip to content
Snippets Groups Projects

Use LbEnv insteas of LbLogin for build time enironment in the nightlies

Merged Marco Clemencic requested to merge clemenci/LbNightlyTools:use-lbenv into master
6 files
+ 12
47
Compare changes
  • Side-by-side
  • Inline
Files
6
@@ -143,12 +143,6 @@ build_slot flavour slot slot_build_id platform
time lbn-rpm ${loglevel_opt} --build-id "${slot}.${slot_build_id}" --artifacts-dir "${directory}" ${config_file} --platform "${platform}"
createrepo ${directory}/rpms
if [[ "$platform" != *-slc5-* ]] ; then
# remove old copies (we want always a fresh install)
rm -rf ~/.local/{bin,lib} ~/.cache/pip
# get latest pip and lbinstall
curl -O https://bootstrap.pypa.io/get-pip.py
python get-pip.py --user
~/.local/bin/pip install --extra-index-url https://lhcb-pypi.web.cern.ch/lhcb-pypi/simple --trusted-host lhcb-pypi.web.cern.ch --user lbinstall -U
lbn-rpm-validator -d --build-folder=${directory}/rpms --repo-url=file:${directory}/rpms ${platform}
fi
fi
Loading