e8c7b2ad73
Modify code to conform to flake8 and pylint. Jobs are now flake8, pylint, py39 and metadata. Add bindep.txt Deprecate old py27,py36 testenvs from tox.ini in the python package folder in favor of py39 instead. However, keep the root folder tox.ini py36 job because that test is checking code other than the python package. Test Plan PASS - All zuul jobs pass as expected. Story: 2010929 Task: 49280 Change-Id: Ic64ad41a3bf6454dd9ea0f6e862c3b31a0541660 Signed-off-by: Reed, Joshua <Joshua.Reed@windriver.com>
205 lines
10 KiB
YAML
205 lines
10 KiB
YAML
---
|
|
- project:
|
|
vars:
|
|
ensure_tox_version: '<4'
|
|
templates:
|
|
- publish-stx-docs
|
|
- stx-api-ref-jobs
|
|
# - stx-release-notes-jobs
|
|
check:
|
|
jobs:
|
|
- openstack-tox-linters
|
|
- ptp-notification-tox-py36
|
|
- k8sapp-ptp-notification-tox-py39
|
|
- k8sapp-ptp-notification-tox-pylint
|
|
- k8sapp-ptp-notification-tox-flake8
|
|
- k8sapp-ptp-notification-tox-metadata
|
|
gate:
|
|
jobs:
|
|
- openstack-tox-linters
|
|
- ptp-notification-tox-py36
|
|
- k8sapp-ptp-notification-tox-py39
|
|
- k8sapp-ptp-notification-tox-pylint
|
|
- k8sapp-ptp-notification-tox-flake8
|
|
- k8sapp-ptp-notification-tox-metadata
|
|
post:
|
|
jobs:
|
|
- stx-ptp-notification-armada-app-upload-git-mirror
|
|
|
|
- job:
|
|
name: ptp-notification-tox-py36
|
|
parent: tox-py36
|
|
description: |
|
|
Run py36 test for ptp-notification
|
|
nodeset: ubuntu-bionic
|
|
vars:
|
|
tox_envlist: py36
|
|
|
|
- job:
|
|
name: k8sapp-ptp-notification-tox-py39
|
|
parent: openstack-tox-py39
|
|
description: |
|
|
Run py39 test for k8sapp_dell_storage
|
|
nodeset: debian-bullseye
|
|
required-projects:
|
|
- starlingx/config
|
|
- starlingx/fault
|
|
- starlingx/update
|
|
- starlingx/utilities
|
|
- starlingx/root
|
|
files:
|
|
- python3-k8sapp-ptp-notification/*
|
|
vars:
|
|
tox_envlist: flake8
|
|
tox_extra_args: -c python3-k8sapp-ptp-notification/k8sapp_ptp_notification/tox.ini
|
|
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
|
|
|
|
- job:
|
|
name: k8sapp-ptp-notification-tox-flake8
|
|
parent: tox
|
|
description: |
|
|
Run flake8 test for k8sapp-ptp-notification-tox-pylint
|
|
nodeset: debian-bullseye
|
|
required-projects:
|
|
- starlingx/config
|
|
- starlingx/fault
|
|
- starlingx/update
|
|
- starlingx/utilities
|
|
- starlingx/root
|
|
files:
|
|
- python3-k8sapp-ptp-notification/*
|
|
vars:
|
|
tox_envlist: flake8
|
|
tox_extra_args: -c python3-k8sapp-ptp-notification/k8sapp_ptp_notification/tox.ini
|
|
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
|
|
|
|
- job:
|
|
name: k8sapp-ptp-notification-tox-pylint
|
|
parent: tox
|
|
description: |
|
|
Run pylint test for k8sapp-ptp-notification-tox-pylint
|
|
nodeset: debian-bullseye
|
|
required-projects:
|
|
- starlingx/config
|
|
- starlingx/fault
|
|
- starlingx/update
|
|
- starlingx/utilities
|
|
- starlingx/root
|
|
files:
|
|
- python3-k8sapp-ptp-notification/*
|
|
vars:
|
|
tox_envlist: pylint
|
|
tox_extra_args: -c python3-k8sapp-ptp-notification/k8sapp_ptp_notification/tox.ini
|
|
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
|
|
|
|
- job:
|
|
name: k8sapp-ptp-notification-tox-metadata
|
|
parent: tox
|
|
description: |
|
|
Run metadata test for k8sapp-ptp-notification-tox-pylint
|
|
nodeset: debian-bullseye
|
|
required-projects:
|
|
- starlingx/config
|
|
- starlingx/fault
|
|
- starlingx/update
|
|
- starlingx/utilities
|
|
- starlingx/root
|
|
files:
|
|
- python3-k8sapp-ptp-notification/*
|
|
vars:
|
|
tox_envlist: metadata
|
|
tox_extra_args: -c python3-k8sapp-ptp-notification/k8sapp_ptp_notification/tox.ini
|
|
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/starlingx/root/build-tools/requirements/debian/upper-constraints.txt'
|
|
|
|
- job:
|
|
name: stx-ptp-notification-armada-app-upload-git-mirror
|
|
parent: upload-git-mirror
|
|
description: >
|
|
Mirrors opendev.org/starlingx/ptp-notification-armada-app to
|
|
github.com/starlingx/ptp-notification-armada-app
|
|
vars:
|
|
git_mirror_repository: starlingx/ptp-notification-armada-app
|
|
secrets:
|
|
- name: git_mirror_credentials
|
|
secret: stx-ptp-notification-armada-app-github-secret2
|
|
pass-to-parent: true
|
|
|
|
- secret:
|
|
name: stx-ptp-notification-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
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