This change will allow this repo to pass zuul now
that this has merged:
Tox 4 deprecated whitelist_externals.
Replace whitelist_externals with allowlist_externals
Also fixed the zuul configuration.
Signed-off-by: Al Bailey <firstname.lastname@example.org>
This tool gathers memory usage information for all
kubernetes containers and system services displayed
in cgroup memory, that are running on current host.
This displays the total resident set size per namespace and container,
the aggregate memory usage per system service, and the platform memory
Signed-off-by: Enzo Candotti <email@example.com>
flake8 2.5.5 fails on ubuntu-focal zuul machines running python3.8
with the following error:
AttributeError: 'FlakesChecker' object has no attribute 'CONSTANT'
Suppresses the following:
W503 line break before binary operator
W504 line break after binary operator
W605 invalid escape sequence '\d'
E266 too many leading '#' for block comment
E305 expected 2 blank lines after class or function definition, found 1
E402 module level import not at top of file
E722 do not use bare 'except'
E741 ambiguous variable name 'I'
F632 use ==/!= to compare constant literals
F821 undefined name 'dpdk' (this is a flake8 bug)
Signed-off-by: albailey <Al.Bailey@windriver.com>
Setting up the bandit tool for the scanning of HIGH severity issues
in the python codes under Starlingx/monitoring folder.
Expecting this merge will enable zuul job for CI/CD of bandit scan.
1. tox.ini for adding bandit environment and command.
2. test-requirements.txt for adding bandit version.
3. .zuul.yaml file for adding bandit job and configuring under
check job to run code scan every time before code commit.
Run tox -e bandit command inside the fault folder to validate the
bandit scan and result.
Signed-off-by: Sharath Kumar K <firstname.lastname@example.org>
This job adds a single linters tox target.
The linters target is an aggregation of linters for
this repo including:
Other linters such as yamllint can be added to this
repo by later commits.
Certain flake8 codes are suppressed.
They can be enabled by later commits.
This commit also adds basic contributing and hacking docs.
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>