Merge "Use zuul-sphinx README.rst detection"
This commit is contained in:
commit
59f03951f7
@ -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
|
2
tox.ini
2
tox.ini
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user