run_tests: cp gemrc in /root
If .gemrc exists, make sure it's copied on /root, so we can use it when deploying gems + modules as root in the scripts. Change-Id: I8ff30d9cb147cf48fae74bf1963e2869f48875de
This commit is contained in:
1 changed files with 6 additions and 0 deletions
@@ -107,6 +107,12 @@ if [ "${ADD_SWAP}" = true ]; then
$SUDO swapon /swapfile
fi
# We install some gems as root so to take benefit of
# OpenStack Infra mirrors.
if [ -f ~/.gemrc ]; then
cat ~/.gemrc | $SUDO tee /root/.gemrc
fi
print_header 'Clone Tempest, plugins & pre-cache CirrOS'
# TODO(pabelanger): Move this into tools/install_tempest.sh and add logic so we
# can clone tempest outside of the gate. Also, tempest should be sandboxed into
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.