d89bbdc2a1
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: 49247 Change-Id: If24f07356abbe81ecc417fb6122dfbedf8e02956 Signed-off-by: Reed, Joshua <Joshua.Reed@windriver.com>
86 lines
2.8 KiB
YAML
86 lines
2.8 KiB
YAML
---
|
|
- project:
|
|
check:
|
|
jobs:
|
|
- openstack-tox-linters
|
|
- k8sapp-intel-ethernet-operator-tox-py39
|
|
- k8sapp-intel-ethernet-operator-tox-pylint
|
|
- k8sapp-intel-ethernet-operator-tox-flake8
|
|
- k8sapp-intel-ethernet-operator-tox-metadata
|
|
gate:
|
|
jobs:
|
|
- openstack-tox-linters
|
|
- k8sapp-intel-ethernet-operator-tox-py39
|
|
- k8sapp-intel-ethernet-operator-tox-pylint
|
|
- k8sapp-intel-ethernet-operator-tox-flake8
|
|
- k8sapp-intel-ethernet-operator-tox-metadata
|
|
|
|
- job:
|
|
name: k8sapp-intel-ethernet-operator-tox-py39
|
|
parent: tox-py39
|
|
description: |
|
|
Run py39 for intel-ethernet-operator app
|
|
nodeset: debian-bullseye
|
|
required-projects:
|
|
- starlingx/config
|
|
- starlingx/fault
|
|
- starlingx/update
|
|
- starlingx/utilities
|
|
- starlingx/root
|
|
files:
|
|
- python3-k8sapp-intel-ethernet-operator/*
|
|
vars:
|
|
tox_envlist: py39
|
|
tox_extra_args: -c python3-k8sapp-intel-ethernet-operator/k8sapp_intel_ethernet_operator/tox.ini
|
|
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
|
|
|
|
- job:
|
|
name: k8sapp-intel-ethernet-operator-tox-metadata
|
|
parent: tox
|
|
description: |
|
|
Run metadata test for k8sapp_intel_ethernet_operator
|
|
required-projects:
|
|
- starlingx/config
|
|
- starlingx/fault
|
|
- starlingx/update
|
|
- starlingx/utilities
|
|
- starlingx/root
|
|
nodeset: debian-bullseye
|
|
files:
|
|
- python3-k8sapp-intel-ethernet-operator/*
|
|
vars:
|
|
tox_envlist: metadata
|
|
tox_extra_args: -c python3-k8sapp-intel-ethernet-operator/k8sapp_intel_ethernet_operator/tox.ini
|
|
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
|
|
|
|
- job:
|
|
name: k8sapp-intel-ethernet-operator-tox-pylint
|
|
parent: tox
|
|
description: |
|
|
Run pylint test for k8sapp_intel_ethernet_operator
|
|
required-projects:
|
|
- starlingx/config
|
|
- starlingx/fault
|
|
- starlingx/update
|
|
- starlingx/utilities
|
|
- starlingx/root
|
|
nodeset: debian-bullseye
|
|
files:
|
|
- python3-k8sapp-intel-ethernet-operator/*
|
|
vars:
|
|
tox_envlist: pylint
|
|
tox_extra_args: -c python3-k8sapp-intel-ethernet-operator/k8sapp_intel_ethernet_operator/tox.ini
|
|
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
|
|
|
|
- job:
|
|
name: k8sapp-intel-ethernet-operator-tox-flake8
|
|
parent: tox
|
|
description: |
|
|
Run flake8 for intel-ethernet-operator
|
|
nodeset: debian-bullseye
|
|
files:
|
|
- python3-k8sapp-intel-ethernet-operator/*
|
|
vars:
|
|
tox_envlist: flake8
|
|
tox_extra_args: -c python3-k8sapp-intel-ethernet-operator/k8sapp_intel_ethernet_operator/tox.ini
|