summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Reshetnyak <sreshetniak@mirantis.com>2015-10-01 09:19:31 +0300
committerSergey Reshetnyak <sreshetniak@mirantis.com>2015-10-01 09:33:18 +0300
commita82e7bd83bf8dea836badefafa18935fdd6e4a51 (patch)
treed3f732271d3aec88d3fd667c7e91e20e692a8500
parenta81183305dc469f11006866152d63407d23b7dc4 (diff)
Fix bashate job
* Added bashate to test-requirements.txt * Make plugin.sh executable Change-Id: I07f65262f79ddc35e2ed648f252c8817aa0ea888
Notes
Notes (review): Verified+2: Jenkins Code-Review+2: Vitaly Gridnev <vgridnev@mirantis.com> Workflow+1: Vitaly Gridnev <vgridnev@mirantis.com> Submitted-by: Jenkins Submitted-at: Fri, 02 Oct 2015 22:03:03 +0000 Reviewed-on: https://review.openstack.org/229738 Project: openstack/devstack-plugin-bdd Branch: refs/heads/master
-rwxr-xr-x[-rw-r--r--]devstack/plugin.sh0
-rw-r--r--test-requirements.txt1
-rw-r--r--tox.ini5
3 files changed, 4 insertions, 2 deletions
diff --git a/devstack/plugin.sh b/devstack/plugin.sh
index 3183f5a..3183f5a 100644..100755
--- a/devstack/plugin.sh
+++ b/devstack/plugin.sh
diff --git a/test-requirements.txt b/test-requirements.txt
new file mode 100644
index 0000000..42f6658
--- /dev/null
+++ b/test-requirements.txt
@@ -0,0 +1 @@
bashate>=0.2 # Apache-2.0
diff --git a/tox.ini b/tox.ini
index 933acaf..fbfad68 100644
--- a/tox.ini
+++ b/tox.ini
@@ -6,8 +6,9 @@ envlist = bashate
6[testenv] 6[testenv]
7usedevelop = False 7usedevelop = False
8install_command = pip install {opts} {packages} 8install_command = pip install {opts} {packages}
9deps =
10 -r{toxinidir}/test-requirements.txt
9 11
10[testenv:bashate] 12[testenv:bashate]
11deps = bashate
12whitelist_externals = bash 13whitelist_externals = bash
13commands = bash -c "find devstack -iname '*.sh' -print0 | xargs -0 bashate -v" 14commands = bash -c "find devstack/* -print0 | xargs -0 bashate -v"