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:
Emilien Macchi
2017年08月18日 11:02:19 -07:00
parent 6c05d5b037
commit dd9582ff9b

View File

@@ -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
openstack/puppet-openstack-integration
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.

The note is not visible to the blocked user.