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:47:57 +0200
commit0d87211d1a35d826f82fb808e8a7f41ebf5ca895 (patch)
tree9b1dbc08249af194771d4d3824157323e2ee4bb7
parent707994ccab6f585ce0be732fcecfc249a6f48336 (diff)
dib-lint: adapt the value of ELEMENTS_DIR6.0.1
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:53:15 +0000 Reviewed-on: https://review.openstack.org/471855 Project: openstack/sahara-image-elements Branch: refs/heads/stable/ocata
-rw-r--r--tox.ini2
1 files changed, 2 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index d81fcdd..7abd633 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