90c26d0125
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: 49281 Change-Id: Ic15c987fd4bf083f7483bb14ab80356a194e9dfc Signed-off-by: Reed, Joshua <Joshua.Reed@windriver.com>
187 lines
9.4 KiB
YAML
187 lines
9.4 KiB
YAML
---
|
|
- project:
|
|
check:
|
|
jobs:
|
|
- openstack-tox-linters
|
|
- k8app-snmp-armada-tox-py39
|
|
- k8sapp-snmp-armada-tox-pylint
|
|
- k8sapp-snmp-armada-tox-flake8
|
|
- k8sapp-snmp-armada-tox-metadata
|
|
gate:
|
|
jobs:
|
|
- openstack-tox-linters
|
|
- k8app-snmp-armada-tox-py39
|
|
- k8sapp-snmp-armada-tox-pylint
|
|
- k8sapp-snmp-armada-tox-flake8
|
|
- k8sapp-snmp-armada-tox-metadata
|
|
post:
|
|
jobs:
|
|
- stx-snmp-armada-app-upload-git-mirror
|
|
|
|
- job:
|
|
name: k8app-snmp-armada-tox-py39
|
|
parent: openstack-tox-py39
|
|
description: |
|
|
Run py39 test for k8app-snmp-armada-app
|
|
nodeset: debian-bullseye
|
|
required-projects:
|
|
- starlingx/config
|
|
- starlingx/fault
|
|
- starlingx/update
|
|
- starlingx/utilities
|
|
- starlingx/root
|
|
files:
|
|
- python3-k8sapp-snmp/k8sapp_snmp/*
|
|
vars:
|
|
tox_extra_args: -c python3-k8sapp-snmp/k8sapp_snmp/tox.ini
|
|
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
|
|
|
|
- job:
|
|
name: k8sapp-snmp-armada-tox-pylint
|
|
parent: tox
|
|
description: |
|
|
Run pylint test for k8sapp_snmp
|
|
nodeset: debian-bullseye
|
|
required-projects:
|
|
- starlingx/config
|
|
- starlingx/fault
|
|
- starlingx/update
|
|
- starlingx/utilities
|
|
- starlingx/root
|
|
files:
|
|
- python3-k8sapp-snmp/*
|
|
vars:
|
|
tox_envlist: pylint
|
|
tox_extra_args: -c python3-k8sapp-snmp/k8sapp_snmp/tox.ini
|
|
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
|
|
|
|
- job:
|
|
name: k8sapp-snmp-armada-tox-flake8
|
|
parent: tox
|
|
description: |
|
|
Run flake8 test for k8sapp_snmp
|
|
nodeset: debian-bullseye
|
|
required-projects:
|
|
- starlingx/config
|
|
- starlingx/fault
|
|
- starlingx/update
|
|
- starlingx/utilities
|
|
- starlingx/root
|
|
files:
|
|
- python3-k8sapp-snmp/*
|
|
vars:
|
|
tox_envlist: flake8
|
|
tox_extra_args: -c python3-k8sapp-snmp/k8sapp_snmp/tox.ini
|
|
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
|
|
|
|
- job:
|
|
name: k8sapp-snmp-armada-tox-metadata
|
|
parent: tox
|
|
description: |
|
|
Run metadata test for k8sapp_snmp
|
|
nodeset: debian-bullseye
|
|
required-projects:
|
|
- starlingx/config
|
|
- starlingx/fault
|
|
- starlingx/update
|
|
- starlingx/utilities
|
|
- starlingx/root
|
|
files:
|
|
- python3-k8sapp-snmp/*
|
|
vars:
|
|
tox_envlist: metadata
|
|
tox_extra_args: -c python3-k8sapp-snmp/k8sapp_snmp/tox.ini
|
|
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
|
|
|
|
- job:
|
|
name: stx-snmp-armada-app-upload-git-mirror
|
|
parent: upload-git-mirror
|
|
description: >
|
|
Mirrors opendev.org/starlingx/snmp-armada-app to
|
|
github.com/starlingx-github/snmp-armada-app
|
|
vars:
|
|
git_mirror_repository: starlingx-github/snmp-armada-app
|
|
secrets:
|
|
- name: git_mirror_credentials
|
|
secret: stx-snmp-armada-app-github-secret2
|
|
pass-to-parent: true
|
|
|
|
- secret:
|
|
name: stx-snmp-armada-app-github-secret2
|
|
data:
|
|
user: git
|
|
host: github.com
|
|
# yamllint disable-line rule:line-length
|
|
host_key: github.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCj7ndNxQowgcQnjshcLrqPEiiphnt+VTTvDP6mHBL9j1aNUkY4Ue1gvwnGLVlOhGeYrnZaMgRK6+PKCUXaDbC7qtbW8gIkhL7aGCsOr/C56SJMy/BCZfxd1nWzAOxSDPgVsmerOBYfNqltV9/hWCqBywINIR+5dIg6JTJ72pcEpEjcYgXkE2YEFXV1JHnsKgbLWNlhScqb2UmyRkQyytRLtL+38TGxkxCflmO+5Z8CSSNY7GidjMIZ7Q4zMjA2n1nGrlTDkzwDCsw+wqFPGQA179cnfGWOWRVruj16z6XyvxvjJwbz0wQZ75XK5tKSb7FNyeIEs4TT4jk+S4dhPeAUC5y+bDYirYgM4GC7uEnztnZyaVWQ7B381AK4Qdrwt51ZqExKbQpTUNn+EjqoTwvqNj4kqx5QUCI0ThS/YkOxJCXmPUWZbhjpCg56i+2aB6CmK2JGhn57K5mj0MNdBXA4/WnwH6XoPWJzK5Nyu2zB3nAZp+S5hpQs+p1vN1/wsjk=
|
|
ssh_key: !encrypted/pkcs1-oaep
|
|
- AYLTz3/3Xd3mWJNzaMKjk8JVdPUrIvH6C5jS2LtVx8lW6DHzUBkP3QtTG+rBYFE7e+354
|
|
8fnZWK0xns8bvdxBRD5KknbI1XgioIYPF5K98ubi9e2ZjJrAR90pmEfCZfAiLfSVXHiyt
|
|
AfE94uctaTAgtQGCsjg41O/uM/R14F0lP7aQEETJMXOg/kC9G7XoDx4xUHpy/7sGGQl3T
|
|
Pax8WsGVoS8SwTOzkE1ypagA1lWf0YhLPyM0sYPxjJsw/u+nJe2pIqU80OEym3/kkfbPF
|
|
/pTLJf5i/y/cN7Beg6q7opodRW7Xznupc6Vdg2Xj1x/p735soWAEFpVwKNbZR38c6exd2
|
|
0fwVsOR8BnQ25h0ldx8WBRYa/cSpHqG60PWxxTpk9G6nFO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