Commit Graph

4 Commits

Author SHA1 Message Date
albailey 47b391782f Calling an additional shell lint command from zuul
The '.sh' files are examined by bashate but now the linters
command will also run a shellcheck on them.

The majority of the shellcheck errors that are failing
have been suppressed, and can be updated and fixed by
subsequent submissions.

Shell scripts that do not end in .sh will also be examined
by bashate and shellcheck.

Story: 2008943
Task: 42566
Signed-off-by: albailey <Al.Bailey@windriver.com>
Change-Id: Ie5c58ec9391ed76bfe34b3544972306341fafcc4
2021-06-03 17:35:50 -05:00
albailey 6d262e1b4c Fix zuul for bandit target
Some zuul nodes running bionic do not consider the
older version of pyflakes to be installable. This seems to
be a cache issue.

This fix updates the version of hacking defined in the top
level test-requirements.txt file to use a more modern version.

It also only imports yamllint if it is python 3, since the yamllint
tox target is python 3 only.

Partial-Bug: 1928978
Signed-off-by: albailey <Al.Bailey@windriver.com>
Change-Id: Ia7aa6a296810adc0d9ba9eca701ec70f2c4be8cd
2021-05-20 08:43:15 -05:00
Al Bailey 634e513d62 Properly enable hacking checks for flake8
hacking and flake8 have compatability issues.
By specifying the version of hacking to be the same
as what other openstack components are using, we
clamp the version of flake8 and allow for reliable
hacking checks.

Change-Id: I8ab1543c030439903d99fffec1a9e3a264f20a80
Story: 2004515
Task: 28571
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
2018-12-18 11:28:56 -06:00
Dean Troyer b3d4df1cc5 Add default test framework
Change-Id: I828864d3b686e303a6448b0f9c9136e947aaac0b
2018-06-08 20:06:21 -05:00