Browse Source

Fix bashate job

* Added bashate to test-requirements.txt
* Make plugin.sh executable

Change-Id: I07f65262f79ddc35e2ed648f252c8817aa0ea888
changes/38/229738/3
Sergey Reshetnyak 3 years ago
parent
commit
a82e7bd83b
3 changed files with 4 additions and 2 deletions
  1. 0
    0
      devstack/plugin.sh
  2. 1
    0
      test-requirements.txt
  3. 3
    2
      tox.ini

+ 0
- 0
devstack/plugin.sh View File


+ 1
- 0
test-requirements.txt View File

@@ -0,0 +1 @@
1
+bashate>=0.2 # Apache-2.0

+ 3
- 2
tox.ini View File

@@ -6,8 +6,9 @@ envlist = bashate
6 6
 [testenv]
7 7
 usedevelop = False
8 8
 install_command = pip install {opts} {packages}
9
+deps =
10
+    -r{toxinidir}/test-requirements.txt
9 11
 
10 12
 [testenv:bashate]
11
-deps = bashate
12 13
 whitelist_externals = bash
13
-commands = bash -c "find devstack -iname '*.sh' -print0 | xargs -0 bashate -v"
14
+commands = bash -c "find devstack/* -print0 | xargs -0 bashate -v"

Loading…
Cancel
Save