config/.zuul.yaml
Al Bailey 5a251fab1a Cleanup tox for python3.9 jobs
sysinv tox could not be run in a developer environment
due to a relative path that only existed in a zuul env.

the py39 zuul jobs do not need root repo cloned since
the upper constraints are accessed by URL.

The py files are only being updated in their header
so that the tox jobs will be triggered to be executed
due to zuul filtering.

Story: 2006796
Task: 44861
Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: I184dc910717239fd343a70c343361a4c6b8fb9e3
2022-03-25 20:32:09 +00:00

358 lines
12 KiB
YAML

---
- project:
templates:
- publish-stx-docs
- stx-api-ref-jobs
- stx-release-notes-jobs
check:
jobs:
- openstack-tox-linters
- sysinv-tox-py27
- sysinv-tox-py39
- sysinv-tox-flake8
- sysinv-tox-pylint
- sysinv-tox-bandit
- controllerconfig-tox-py27
- controllerconfig-tox-py39
- controllerconfig-tox-flake8
- controllerconfig-tox-pylint
- tsconfig__tox-pylint
- tsconfig__tox-py27
- tsconfig__tox-py39
- tsconfig__tox-flake8
- cgtsclient-tox-py27
- cgtsclient-tox-py39
- cgtsclient-tox-pep8
- cgtsclient-tox-pylint
gate:
jobs:
- openstack-tox-linters
- sysinv-tox-py27
- sysinv-tox-py39
- sysinv-tox-flake8
- sysinv-tox-pylint
- sysinv-tox-bandit
- controllerconfig-tox-py27
- controllerconfig-tox-py39
- controllerconfig-tox-flake8
- controllerconfig-tox-pylint
- tsconfig__tox-pylint
- tsconfig__tox-py27
- tsconfig__tox-py39
- tsconfig__tox-flake8
- cgtsclient-tox-py27
- cgtsclient-tox-py39
- cgtsclient-tox-pep8
- cgtsclient-tox-pylint
post:
jobs:
- stx-config-upload-git-mirror
- job:
name: sysinv-tox-py27
parent: tox
description: |
Run py27 test for sysinv
nodeset: ubuntu-xenial
required-projects:
- starlingx/fault
- starlingx/utilities
- starlingx/update
files:
- sysinv/sysinv/*
vars:
tox_envlist: py27
tox_extra_args: -c sysinv/sysinv/sysinv/tox.ini
- job:
name: sysinv-tox-py39
parent: tox-py39
description: |
Run py39 test for sysinv
nodeset: debian-bullseye
required-projects:
- starlingx/fault
- starlingx/utilities
- starlingx/update
files:
- sysinv/sysinv/*
vars:
tox_envlist: py39
python_version: 3.9
tox_extra_args: -c sysinv/sysinv/sysinv/tox.ini
- job:
name: sysinv-tox-flake8
parent: tox
description: |
Run flake8 test for sysinv
nodeset: ubuntu-bionic
files:
- sysinv/sysinv/*
vars:
tox_envlist: flake8
tox_extra_args: -c sysinv/sysinv/sysinv/tox.ini
- job:
name: sysinv-tox-pylint
parent: tox
description: |
Run pylint test for sysinv
nodeset: ubuntu-bionic
required-projects:
- starlingx/fault
- starlingx/utilities
- starlingx/update
files:
- sysinv/sysinv/*
vars:
tox_envlist: pylint
tox_extra_args: -c sysinv/sysinv/sysinv/tox.ini
- job:
name: sysinv-tox-bandit
parent: tox
description: |
Run bandit test for sysinv
nodeset: ubuntu-bionic
files:
- sysinv/sysinv/*
vars:
tox_envlist: bandit
tox_extra_args: -c sysinv/sysinv/sysinv/tox.ini
- job:
name: controllerconfig-tox-py27
parent: tox
description: Run py27 tests for controllerconfig
nodeset: ubuntu-xenial
required-projects:
- starlingx/fault
files:
- controllerconfig/*
vars:
tox_envlist: py27
tox_extra_args: -c controllerconfig/controllerconfig/tox.ini
- job:
name: controllerconfig-tox-py39
parent: tox-py39
description: Run py39 tests for controllerconfig
nodeset: debian-bullseye
required-projects:
- starlingx/fault
files:
- controllerconfig/*
vars:
tox_envlist: py39
tox_extra_args: -c controllerconfig/controllerconfig/tox.ini
- job:
name: controllerconfig-tox-flake8
parent: tox
description: Run flake8 tests for controllerconfig
nodeset: ubuntu-xenial
files:
- controllerconfig/*
vars:
tox_envlist: flake8
tox_extra_args: -c controllerconfig/controllerconfig/tox.ini
- job:
name: controllerconfig-tox-pylint
parent: tox
description: Run pylint tests for controllerconfig
nodeset: ubuntu-xenial
required-projects:
- starlingx/fault
files:
- controllerconfig/*
vars:
tox_envlist: pylint
tox_extra_args: -c controllerconfig/controllerconfig/tox.ini
- job:
name: tsconfig__tox-pylint
parent: tox
nodeset: ubuntu-xenial
description: Run pylint tests for tsconfig
files:
- tsconfig/*
vars:
tox_envlist: pylint
tox_extra_args: -c tsconfig/tsconfig/tox.ini
- job:
name: tsconfig__tox-py27
parent: tox
nodeset: ubuntu-xenial
description: Run py27 tests for tsconfig
files:
- tsconfig/*
vars:
tox_envlist: py27
tox_extra_args: -c tsconfig/tsconfig/tox.ini
- job:
name: tsconfig__tox-py39
parent: tox-py39
description: Run py39 tests for tsconfig
nodeset: debian-bullseye
files:
- tsconfig/*
vars:
tox_envlist: py39
tox_extra_args: -c tsconfig/tsconfig/tox.ini
- job:
name: tsconfig__tox-flake8
parent: tox
description: Run flake8 tests for tsconfig
nodeset: ubuntu-bionic
files:
- tsconfig/*
vars:
tox_envlist: flake8
tox_extra_args: -c tsconfig/tsconfig/tox.ini
- job:
name: cgtsclient-tox-py27
parent: tox
description: |
Run py27 test for cgts-client
nodeset: ubuntu-xenial
files:
- sysinv/cgts-client/*
vars:
tox_envlist: py27
tox_extra_args: -c sysinv/cgts-client/cgts-client/tox.ini
- job:
name: cgtsclient-tox-py39
parent: tox-py39
description: |
Run py39 test for cgts-client
nodeset: debian-bullseye
files:
- sysinv/cgts-client/*
vars:
python_version: 3.9
tox_envlist: py39
tox_extra_args: -c sysinv/cgts-client/cgts-client/tox.ini
- job:
name: cgtsclient-tox-pep8
parent: tox
description: |
Run pep8 test for cgts-client
nodeset: ubuntu-bionic
files:
- sysinv/cgts-client/*
vars:
tox_envlist: pep8
tox_extra_args: -c sysinv/cgts-client/cgts-client/tox.ini
- job:
name: cgtsclient-tox-pylint
parent: tox
description: |
Run pylint test for cgts-client
nodeset: ubuntu-xenial
files:
- sysinv/cgts-client/*
vars:
tox_envlist: pylint
tox_extra_args: -c sysinv/cgts-client/cgts-client/tox.ini
- job:
name: stx-config-upload-git-mirror
parent: upload-git-mirror
description: >
Mirrors opendev.org/starlingx/config to
github.com/starlingx/config
vars:
git_mirror_repository: starlingx/config
secrets:
- name: git_mirror_credentials
secret: stx-config-github-secret
pass-to-parent: true
- secret:
name: stx-config-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
- ezp3pjapGFU4p0lqwUsI9o6qvWaoTahWJ/j7i27D8wJ6gNmLUuiWTQlfJHoxGyp+EOWpF
WgmBytwN9yAMf7kfiTHLWIaKIlw7ruErsi0pWkI5h5hWqxQCea+cQywLc5xby53NWc+Y/
c/N/sNYh/+jeH2d1Pn4MDKEaeGKkjHyHd3ZDyLaH0qUSrtTQt5V4TJe8h5L8Vr+jIs/wr
I6JFbw+wMDLeTjnJGPz3HZpvjAAbdKdtLmi30egH4WV1nmv1eEFV4vXaoclhCbJdcu2vK
b4nRR8nEXGqcsC88en2pGEf2xma8pIlmGbcuTz7Zn1J9Mez4wPUjTjVKu/DRh8Zm1/lgg
ZpDYkxmD+MSUIOr05/MMs5Czl7ZSEU6mQ7PYy92MYJn2H3xbIC1lAbhO7BQRxTKBUWThL
KWz0qPXssAvHPaQCBnBYzGou97KLW8umGRiYywhobK+NQEWerMp9sj2/7ZgPQExQ7dzVI
eWHqaMlIkTUM+ZCE9MGHnVmHrAPYcF3m1eTfZFoC8JnJ5QODwvp+92oEIYuMeNslqOat2
Lu/gRqvO434ULBm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