Modify code to conform to flake8 and pylint.
Jobs are now flake8, pylint, py39 and metadata.
Test Plan
PASS - All zuul jobs pass as expected.
Story: 2010929
Task: 49275
Change-Id: I1b6389e43fc77ad2fcf8507d84e6f3da1caf8c85
Signed-off-by: Reed, Joshua <Joshua.Reed@windriver.com>
The Debian packaging meta_data file has been changed to reflect all the
latest git commits under the directory, pointed as usable, and to
improve pkg-versioning addressing the first commit as start point to
build packages.
This ensures that any new code submissions under those
directories will increment the versions.
The commit SHA 4b8dd90cbf was choosen to be the SRC_BASE_SRCREV of the
metadata file for python3-k8sapp-nginx-ingress-controller and
stx-nginx-ingress-controller-helm because is the commit that creates
the debian directory with build files structure for those packages.
Test Plan:
PASS: Verify package versions are updated as expected.
PASS: build-pkgs -c -p python3-k8sapp-nginx-ingress-controller
PASS: build-pkgs -c -p stx-nginx-ingress-controller-helm
Story: 2010550
Task: 47497
Signed-off-by: Manoel Benedito Neto <Manoel.BeneditoNeto@windriver.com>
Change-Id: I1f79fef0304792eb572a866680cca22ea381d392
This commit removes Python 2.7 jobs from Zuul, since it will no longer
be executed as part of the check and gate steps for nginx ingress
controller repository.
Additionally, this commit updates the package PyYaml to 5.3.1 version
to support oslo-policy 3.5.0 dependency on PyYAML>=5.1. Also, fixes
some lint errors.
Test Plan:
PASS: Verify Zuul check execution and observe the Workflow +1 at the
end of the proccess.
Story: 2010531
Task: 47566
Signed-off-by: Manoel Benedito Neto <manoel.beneditoneto@windriver.com>
Change-Id: Icefa2545c325872129088ff51ddc193bb1f9e135
Fixed versioning and adjusted some build files
to bring them as close to a standard as possible.
- Removed centos files
- Added version tracking via GITREVCOUNT
- Fixed mismatch in plugin name, set to python3-k8sapp-<app>
- Standardized plugin debian files (rules, *.install)
- Plugin wheels saved to /plugin instead of /plugin/<app>
Test Plan:
PASS - Build-pkgs -a
PASS - Build-image
PASS - Install, bootstrap, unlock
PASS - app tarball contains wheel file
PASS - wheel versioning updated properly
Story: 2010542
Task: 47198
Signed-off-by: Leonardo Fagundes Luz Serrano <Leonardo.FagundesLuzSerrano@windriver.com>
Change-Id: I1ff25e023777ddec6871b16b1dfac51ad8e5c879