Avoid sanity excludes so that users can run ansible-test sanity --docker and it usually passes. (#260)

This commit is contained in:
Felix Fontein 2020-05-01 13:45:22 +02:00 committed by GitHub
parent 01eee507f2
commit 77fe9c82fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View file

@ -34,5 +34,4 @@ fi
# shellcheck disable=SC2086
ansible-test sanity --color -v --junit ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHANGED"} \
--docker --base-branch "${base_branch}" \
--exclude shippable.yml --exclude tests/utils/ \
"${options[@]}" --allow-disabled

View file

@ -28,6 +28,7 @@ python -V
function retry
{
# shellcheck disable=SC2034
for repetition in 1 2 3; do
set +e
"$@"
@ -36,9 +37,9 @@ function retry
if [ ${result} == 0 ]; then
return ${result}
fi
echo "$@ -> ${result}"
echo "@* -> ${result}"
done
echo "Command '$@' failed 3 times!"
echo "Command '@*' failed 3 times!"
exit -1
}