openstack-armada-app/.zuul.yaml
Bernardo Decco a7f3a058fe Add pylint py3 portability checks for the openstack-armada-app repo
A lot of work has gone into making sure that StarlingX is python3
compatible. To ensure future compatibility, enable the python3
portability checks. Disable the checks that are raising errors.
Another set of commits will address the offending code.

Add following suppress warnings in pylint.rc:
- W1618: no-absolute-import
- W1646: invalid-str-codec

Depends-On: https://review.opendev.org/c/starlingx/openstack-armada-app/+/808768
Story: 2006796
Task: 43190
Signed-off-by: Bernardo Decco <bernardo.deccodesiqueira@windriver.com>
Change-Id: Ib46f8a67042c40823ef870773cf7159763738e06
2021-09-13 15:22:34 -03:00

141 lines
7.7 KiB
YAML

---
- project:
check:
jobs:
- openstack-tox-linters
- k8sapp-openstack-tox-py39
- k8sapp-openstack-tox-pylint
gate:
jobs:
- openstack-tox-linters
- k8sapp-openstack-tox-py39
- k8sapp-openstack-tox-pylint
post:
jobs:
- stx-openstack-armada-app-upload-git-mirror
- job:
name: k8sapp-openstack-tox-py39
parent: tox-py39
description: |
Run py39 test for k8app-openstack
nodeset: debian-bullseye
required-projects:
- starlingx/config
- starlingx/fault
- starlingx/update
- starlingx/utilities
files:
- python-k8sapp-openstack/k8sapp_openstack/*
vars:
tox_envlist: py39
python_version: 3.9
tox_extra_args: -c python-k8sapp-openstack/k8sapp_openstack/tox.ini
- job:
name: stx-openstack-armada-app-upload-git-mirror
parent: upload-git-mirror
description: >
Mirrors opendev.org/starlingx/openstack-armada-app to
github.com/starlingx/openstack-armada-app
vars:
git_mirror_repository: starlingx/openstack-armada-app
secrets:
- name: git_mirror_credentials
secret: stx-openstack-armada-app-github-secret
pass-to-parent: true
- job:
name: k8sapp-openstack-tox-pylint
parent: tox
description: |
Run pylint tests for k8sapp_oidc
nodeset: ubuntu-bionic
required-projects:
- starlingx/config
- starlingx/fault
- starlingx/update
- starlingx/utilities
files:
- python-k8sapp-openstack/*
vars:
tox_envlist: pylint
tox_extra_args: -c python-k8sapp-openstack/k8sapp_openstack/tox.ini
- secret:
name: stx-openstack-armada-app-github-secret
data:
user: git
host: github.com
# yamllint disable-line rule:line-length
host_key: github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==
ssh_key: !encrypted/pkcs1-oaep
- AoMB00+9hYvhW2zvTNFCqkI4Ug+zDIXdQrrPZm0DS4gxmd21yJoDc3YC8eaC4uXilloxW
KqnaK+/foExPbg5Fz43wpSEdcr1uucLYmnIRnNK7FROZ0c6qNbj4Gd2epRfZBLuv9I9j9
+DgbeyM43glCqFMBo28dTmSIzttgpLFnZVOP/AobtW8TbrwrAukt9s0HxEVItvbGfHst8
VE/pQvXsFCzZUH+YZ2D3Z4zh3WlIbmX1rYG1bzyzS4feU9DP+tmRNzPvZqipXRVC7sU1t
ZaUVGCHV8KcVzz4T87OjaM2LFVIV+ugRlWvhft0/CTUriGrxNjSUlRwdZRbzO3LRPb2sl
hSy5pw+CSIGrNRMJwwwWBdRnN4cJBCqfh5UxgVtKji8EzGmeNHcSakOwTy47961W7SeOI
B1fC4il4f8Drpwl2LhzwzQgiqqP1WjfOOXAseyYPC+ZzAWWsz+AbLXHrlkQnajkMg98Mi
BCiiI4yg2mQJoK4IDhEcRT2wktkc2MPYJXzWV41J3RG98B4stFqhjZ1FXdaffpkhcmROK
//kqSf486fLa1VGxpu0i0XZq6zUxZZ/3ME/MXoEXOnHtkr1/vcld+9GpX+ABd19lw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