The constraints file used for tox.ini root was removed.
We need to update the file to use the StarlingX Debian constraints file.
Test Plan:
PASS - Run tox command
Closes-bug: 2055734
Change-Id: I0f973f3aeafd42b62707bbb1dc43428d2bab6252
Signed-off-by: Hugo Brito <hugo.brito@windriver.com>
This change will allow this repo to pass zuul now
that this has merged:
https://review.opendev.org/c/zuul/zuul-jobs/+/866943
Tox 4 deprecated whitelist_externals.
Replace whitelist_externals with allowlist_externals
Partial-Bug: #2000399
Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: I31e9f1b78c5a091317b8f595253f7bf6b2eccf14
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
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>
linters yamllint target was excluding a folder that did not exist
pep8 was not invoking flake8, and was not including hacking which
pulls in additional checks.
Story: 2004515
Task: 28966
Change-Id: I0268f685e4292d93c5ff6014b150b25bfe9cd583
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.
We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.
We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.
Change-Id: I9383c8f33cf476b7c8dff184089e40aa591c6d6c
Closes-Bug: #1802032
Baseline changes to comply with Release Notes Management
based in Reno [0]:
* Use build-openstack-releasenotes job for release notes
(We can't use the OpenStack releasenotes template as it includes
publish jobs, stx needs its own)
* Add newnote tox environment as convenience for creating new release
notes, re-using the releasenotes venv.
* Changed to SPDX-License-Identifier: Apache-2.0
[0] https://docs.openstack.org/reno/latest/
Story: 2003101
Task: 26713
Change-Id: Iaadde3d214d16a601d779612ede01d09babd8b43
Signed-off-by: Abraham Arce <abraham.arce.moreno@intel.com>
Fix bashate and yamllint to only run if files are provided
Fix whitespace errors and line errors in shell scripts
Relax line length requirement in yamllint
Enable voting on zuul jobs
Story: 2003359
Task: 24409
Change-Id: I6bfa31c9a0c1527c6517cfd95758feadd73c0ae6
Signed-off-by: Lachlan Plant <lachlan.plant@windriver.com>