Fix bashate job
* Added bashate to test-requirements.txt * Make plugin.sh executable Change-Id: I07f65262f79ddc35e2ed648f252c8817aa0ea888
This commit is contained in:
parent
a81183305d
commit
a82e7bd83b
0
devstack/plugin.sh
Normal file → Executable file
0
devstack/plugin.sh
Normal file → Executable file
1
test-requirements.txt
Normal file
1
test-requirements.txt
Normal file
@ -0,0 +1 @@
|
||||
bashate>=0.2 # Apache-2.0
|
5
tox.ini
5
tox.ini
@ -6,8 +6,9 @@ envlist = bashate
|
||||
[testenv]
|
||||
usedevelop = False
|
||||
install_command = pip install {opts} {packages}
|
||||
deps =
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
|
||||
[testenv:bashate]
|
||||
deps = bashate
|
||||
whitelist_externals = bash
|
||||
commands = bash -c "find devstack -iname '*.sh' -print0 | xargs -0 bashate -v"
|
||||
commands = bash -c "find devstack/* -print0 | xargs -0 bashate -v"
|
||||
|
Loading…
x
Reference in New Issue
Block a user