Commit Graph

4 Commits

Author SHA1 Message Date
Iago Regiani adcbc03f2c Removed wait_for_worker_config_init in AIO systems
After the introduction of the single puppet manifest file for AIO
controllers https://review.opendev.org/c/starlingx/config/+/780603,
the service worker-config-gate was still being packaged, producing
a warning during execution.

This removes workerconfig and config-gate-worker from AIO that
calls wait_for_worker_config_init.sh

Closes-Bug: #1934544
Signed-off-by: Iago Regiani <Lago.RodriguezRegiani@windriver.com>
Change-Id: Ib1e3a243a6bf286bb37dfbbbbd07995dba48cee5
2021-07-08 18:48:28 -04:00
Sharath Kumar K ec62232936 Tox and Zuul job for the bandit code scan in starlingx/metal
Setting up the bandit tool for the scanning of HIGH severity issues
in the python codes under Starlingx/metal folder.
Expecting this merge will enable zuul job for CI/CD of bandit scan.

Configuration files:
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.

Test:
Run tox -e bandit command inside the fault folder to validate the
bandit scan and result.

Please note:
Changes will be implemented in batches and  this is Batch4 change.

Story: 2007541
Task: 39622
Depends-On: https://review.opendev.org/#/c/721294/

Change-Id: I7b91a51e0e411b46670f84c2b2a6c7749f9d0521
Signed-off-by: Sharath Kumar K <sharath.kumar@intel.com>
2020-06-29 08:24:46 +00:00
Sun Austin 90ce692186 pep8 job enable and fix pep8 reported issue
use flake8 as pep8 tools
enable check and gate for pep8(voting)
Fix below flake8 issues:
    E127 continuation line over-indented for visual indent
    E211 whitespace before '('
    E222 multiple spaces after operator
    E302 expected 2 blank lines, found 1
    E501 line too long (101 > 79 characters)
    E502 the backslash is redundant between brackets
    F401 'platform' imported but unused
    W391 blank line at end of file

Change-Id: Idfb953e52c8ee35c2adefdf0e4143a381c7f49e2
Story: 2003426
Task:  24596
Signed-off-by: Sun Austin <austin.sun@intel.com>
2018-09-06 09:45:51 +08:00
Dean Troyer 3d9425425a Add default test framework
Change-Id: I18bfbf72a120b6832fbc52e630cb3c96daa663b1
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2018-06-11 18:51:02 -05:00