Make it possible to run zuul layout test locally
Add a tox environment to run the zuul layout tests locally. Modify run-layout.sh to ignore a missing mirror selection script and assume that it is running with a valid mirror configuration. This allows the script to be run locally without breaking a dev environment. Change-Id: I5b0c94ae51e7f41b8b26b3ef4f78b830031d263e
This commit is contained in:
parent
6c6c46ae1e
commit
1374a394e6
@ -25,7 +25,13 @@ then
|
|||||||
echo "PROJECT: The project name (eg 'nova')"
|
echo "PROJECT: The project name (eg 'nova')"
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
/usr/local/jenkins/slave_scripts/select-mirror.sh $org $project
|
if [ -f /usr/local/jenkins/slave_scripts/select-mirror.sh ]
|
||||||
|
then
|
||||||
|
/usr/local/jenkins/slave_scripts/select-mirror.sh $org $project
|
||||||
|
else
|
||||||
|
echo "No mirror script /usr/local/jenkins/slave_scripts/select-mirror.sh,"
|
||||||
|
echo "assuming local environment is configured properly."
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p .test
|
mkdir -p .test
|
||||||
|
Loading…
Reference in New Issue
Block a user