Avoid execution failure when mirror_info.sh is missing
Avoids execution failure like: /home/zuul/src/opendev.org/openstack/tripleo-ci/toci_gate_test.sh: line 20: /etc/ci/mirror_info.sh: No such file or directory Change-Id: I3ef13bd9f7a029154334c0f7d98df9697dd7f6ad Example: http://logs.rdoproject.org/23/23423/1/check/tripleo-ci-centos-7-scenario000-standalone/dd8ff8c/job-output.txt
This commit is contained in:
parent
3e38ea023e
commit
4c73731482
|
@ -17,7 +17,9 @@ if [ -f /etc/nodepool/provider ] ; then
|
|||
source /etc/nodepool/provider
|
||||
|
||||
# source variables common across all the scripts.
|
||||
source /etc/ci/mirror_info.sh
|
||||
if [ -e /etc/ci/mirror_info.sh ]; then
|
||||
source /etc/ci/mirror_info.sh
|
||||
fi
|
||||
|
||||
{% if rhcloud -%}
|
||||
# In order to save space remove the cached git repositories, at this point in
|
||||
|
|
|
@ -18,7 +18,9 @@ if [ -f /etc/nodepool/provider ] ; then
|
|||
source /etc/nodepool/provider
|
||||
|
||||
# source variables common across all the scripts.
|
||||
source /etc/ci/mirror_info.sh
|
||||
if [ -e /etc/ci/mirror_info.sh ]; then
|
||||
source /etc/ci/mirror_info.sh
|
||||
fi
|
||||
|
||||
export RHCLOUD=''
|
||||
if [[ ${NODEPOOL_PROVIDER:-''} == 'rdo-cloud'* ]]; then
|
||||
|
|
Loading…
Reference in New Issue