Commit Graph

4 Commits

Author SHA1 Message Date
Charles Short fc5c7e7801 Fix zuul errors due to changes in dependencies
Pin hacking to < 4.0.1 to fix zuul gate issues.

Test:
Ran tox -e pep8 command to validate the pep8 job and result.

Related-Bug: 1926172

Signed-off-by: Charles Short <charles.short@windriver.com>
Change-Id: I39e889f069aab03e301c3050aa6193e048d74e66
2021-04-26 11:47:35 -04:00
albailey a6a1cd5aef Fix zuul errors due to changes in dependencies
Specifying certain upper limits for components
pulled in by test-requirements.txt

Partial-Bug: 1922590
Signed-off-by: albailey <Al.Bailey@windriver.com>
Change-Id: I1e881ccf0d1ac7f96312b1e573b4b3aa950dbc6f
2021-04-15 16:06:36 -05:00
Sharath Kumar K 697b43e00f Tox and Zuul job for the python code scan in starlingx/clients
Setting up the bandit tool for the scanning of HIGH severity issues
in the python codes under Starlingx/clients 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 Batch5 change.

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

Change-Id: I602b43f0f0bc70a1eb48b11aa07fdf2e286db408
Signed-off-by: Sharath Kumar K <sharath.kumar@intel.com>
2020-06-29 08:24:30 +00:00
Dean Troyer 7da9262b09 Add default test framework
Change-Id: Ic8479f8e278dcedc278091dce21020824b2d0655
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2018-06-11 13:24:30 -05:00