Merge "Use zuul-sphinx README.rst detection"

This commit is contained in:
Zuul 2018-09-19 23:54:54 +00:00 committed by Gerrit Code Review
commit 59f03951f7
2 changed files with 0 additions and 11 deletions

View File

@ -1,9 +0,0 @@
#!/bin/bash
# Trivial script run from tox -e linters to ensure roles have a
# README.rst attached
if ! [ -f $1/README.rst ]; then
echo "*** Missing role documentation: $1/README.rst"
exit 1
fi

View File

@ -12,8 +12,6 @@ deps = -r{toxinidir}/test-requirements.txt
[testenv:linters]
whitelist_externals = bash
commands =
bash -c "find roles/ playbooks/roles -maxdepth 1 -mindepth 1 -type d -print0 | \
xargs -t -n1 -0 {toxinidir}/tools/check_readme.sh"
flake8
{toxinidir}/tools/run-bashate.sh
python3 {toxinidir}/tools/sorted_modules_env.py {toxinidir}/modules.env