
- define a .zuul.yaml file with the jobs that need to run against this repo - post_test_hook is working fine without any problems, however as options are added over time the script is hard to understand. Make clean post_test_hook.sh - Set min and max API versions for testing in the post_test_hook, since it's being used for stable branch testing against manila - deprecate the pre and post test hooks since these aren't used by the zuulv3 native jobs run against this repo. They're however needed by manila jobs on stable branches. Co-Authored-By: Goutham Pacha Ravi <gouthampravi@gmail.com> Change-Id: Ieee0be4e94f237c81529e6e664f0edf9d47297fc
26 lines
821 B
INI
26 lines
821 B
INI
[tox]
|
|
minversion = 1.6
|
|
skipsdist = True
|
|
envlist = bashate
|
|
|
|
[testenv]
|
|
usedevelop = False
|
|
install_command = pip install {opts} {packages}
|
|
|
|
[testenv:bashate]
|
|
deps = bashate
|
|
whitelist_externals = bash
|
|
commands = bash -c "find {toxinidir} \
|
|
-not \( -type d -name .?\* -prune \) \
|
|
-not \( -type d -name doc -prune \) \
|
|
-type f \
|
|
-not -name \*~ \
|
|
-not -name \*.md \
|
|
\( \
|
|
-name \*.sh -or \
|
|
-name \*rc -or \
|
|
-name functions\* -or \
|
|
-wholename \*/lib/\* \
|
|
\) \
|
|
-print0 | xargs -0 bashate -i E006 -v"
|