summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuigi Toscano <ltoscano@redhat.com>2017-03-22 18:22:03 +0100
committerLuigi Toscano <ltoscano@redhat.com>2017-06-07 18:48:57 +0200
commit7790e81a5c4bd9d66876258fe6d6becd9cbc6966 (patch)
tree7295a31eb42d3e31f6ceb6d5f1c0b0078f4fa4d5
parent114c3903a2de7f66a9f72b7a0680e9d221bf84d3 (diff)
dib-lint: adapt the value of ELEMENTS_DIR
While previously the elements/ directory was checked, now the path can be specified as ELEMENTS_DIR, which defaults to diskimage_builder/elements and which must then be overridden. Change-Id: I0caf00adf16a0612c94956d4fce93bd69ff2183f (cherry picked from commit 70fea7566174661f3080e80a42efdc4d26557e44)
Notes
Notes (review): Verified-1: Sahara Hadoop Cluster CI <elastic-hadoop-ci@mirantis.com> Code-Review+2: Telles Mota Vidal NĂ³brega <tenobreg@redhat.com> Workflow+1: Vitaly Gridnev <vgridnev@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Wed, 07 Jun 2017 18:52:58 +0000 Reviewed-on: https://review.openstack.org/471856 Project: openstack/sahara-image-elements Branch: refs/heads/stable/newton
-rw-r--r--tox.ini2
1 files changed, 2 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 34ce2c2..e3f30d0 100644
--- a/tox.ini
+++ b/tox.ini
@@ -18,6 +18,8 @@ whitelist_externals = bash
18commands = bash -c "find {toxinidir} -not -wholename \*.tox/\* -and \( -name \*.sh -or -wholename \*.d/\* -and -not -name \*.md -and -not -name \*.rst -and -not -name \*.py \) -print0 | xargs -0 bashate -v" 18commands = bash -c "find {toxinidir} -not -wholename \*.tox/\* -and \( -name \*.sh -or -wholename \*.d/\* -and -not -name \*.md -and -not -name \*.rst -and -not -name \*.py \) -print0 | xargs -0 bashate -v"
19 19
20[testenv:pep8] 20[testenv:pep8]
21setenv =
22 ELEMENTS_DIR=elements
21commands = 23commands =
22 flake8 {posargs} 24 flake8 {posargs}
23 {toxinidir}/tools/run_bashate.sh 25 {toxinidir}/tools/run_bashate.sh