config/.zuul.yaml
Al Bailey a3c261a3aa Enable pylint zuul check for configutilities
The pylint checks that fail are being suppressed.
Those checks will be fixed and un-suppressed in later commits.

Story: 2004515
Task: 29298
Change-Id: Iacc18da64ed5e2d82ff2f3e64368c9b4a94bb1d5
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
2019-02-01 14:40:50 -06:00

260 lines
6.3 KiB
YAML

---
- project:
templates:
- build-openstack-docs-pti
check:
jobs:
- build-openstack-api-ref
- build-openstack-releasenotes
- openstack-tox-linters
- sysinv-tox-py27
- sysinv-tox-py35
- sysinv-tox-flake8
- sysinv-tox-pylint
- controllerconfig-tox-flake8
- controllerconfig-tox-py27
- controllerconfig-tox-pylint
- configutilities-tox-flake8
- configutilities-tox-pylint
- stx-devstack-config:
voting: false
- cgtsclient-tox-py27
- cgtsclient-tox-pep8
- cgtsclient-tox-pylint
- puppet-manifests-lint
- puppet-modules-wrs-lint
gate:
jobs:
- build-openstack-api-ref
- build-openstack-releasenotes
- openstack-tox-linters
- sysinv-tox-py27
- sysinv-tox-py35
- sysinv-tox-flake8
- sysinv-tox-pylint
- controllerconfig-tox-flake8
- controllerconfig-tox-py27
- controllerconfig-tox-pylint
- configutilities-tox-flake8
- configutilities-tox-pylint
- cgtsclient-tox-py27
- cgtsclient-tox-pep8
- cgtsclient-tox-pylint
- puppet-manifests-lint
- puppet-modules-wrs-lint
post:
jobs:
- publish-stx-api-ref
- publish-stx-tox
- publish-stx-releasenotes
- job:
name: sysinv-tox-py27
parent: tox
description: |
Run py27 test for sysinv
required-projects:
- openstack/stx-update
- openstack/stx-fault
- openstack/stx-integ
files:
- sysinv/sysinv/*
vars:
tox_envlist: py27
tox_extra_args: -c sysinv/sysinv/sysinv/tox.ini
- job:
name: sysinv-tox-py35
parent: tox
description: |
Run py35 test for sysinv
required-projects:
- openstack/stx-update
- openstack/stx-fault
- openstack/stx-integ
files:
- sysinv/sysinv/*
vars:
tox_envlist: py35
tox_extra_args: -c sysinv/sysinv/sysinv/tox.ini
- job:
name: sysinv-tox-flake8
parent: tox
description: |
Run flake8 test for sysinv
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
required-projects:
- openstack/stx-update
- openstack/stx-fault
- openstack/stx-integ
files:
- sysinv/sysinv/*
vars:
tox_envlist: pylint
tox_extra_args: -c sysinv/sysinv/sysinv/tox.ini
- job:
name: controllerconfig-tox-flake8
parent: tox
description: Run flake8 tests for controllerconfig
files:
- controllerconfig/*
vars:
tox_envlist: flake8
tox_extra_args: -c controllerconfig/controllerconfig/tox.ini
- job:
name: controllerconfig-tox-py27
parent: tox
description: Run py27 tests for controllerconfig
required-projects:
- openstack/stx-update
- openstack/stx-fault
files:
- controllerconfig/*
vars:
tox_envlist: py27
tox_extra_args: -c controllerconfig/controllerconfig/tox.ini
- job:
name: controllerconfig-tox-pylint
parent: tox
description: Run pylint tests for controllerconfig
required-projects:
- openstack/stx-update
- openstack/stx-fault
files:
- controllerconfig/*
vars:
tox_envlist: pylint
tox_extra_args: -c controllerconfig/controllerconfig/tox.ini
- job:
name: configutilities-tox-flake8
parent: tox
description: Run flake8 tests for configutilities
files:
- configutilities/*
vars:
tox_envlist: flake8
tox_extra_args: -c configutilities/configutilities/tox.ini
- job:
name: configutilities-tox-pylint
parent: tox
description: Run pylint tests for configutilities
required-projects:
- openstack/stx-update
files:
- configutilities/*
vars:
tox_envlist: pylint
tox_extra_args: -c configutilities/configutilities/tox.ini
- job:
name: stx-devstack-config
parent: stx-devstack-base
timeout: 7800
required-projects:
- openstack/stx-update
- openstack/stx-fault
- openstack/stx-integ
vars:
tox_envlist: functional
devstack_services:
horizon: false
# StarlingX services
fm-common: true
fm-api: true
# fm-rest-api: true
# fm-mgr: true
sysinv-agent: true
sysinv-api: true
sysinv-cond: true
mysql: false
postgresql: true
tls-proxy: false
devstack_plugins:
stx-config: git://git.starlingx.io/stx-config
stx-fault: git://git.starlingx.io/stx-fault
stx-integ: git://git.starlingx.io/stx-integ
stx-update: git://git.starlingx.io/stx-update
files:
- ^devstack/.*
- job:
name: cgtsclient-tox-py27
parent: tox
description: |
Run py27 test for cgts-client
files:
- sysinv/cgts-client/*
required-projects:
- openstack/stx-update
- openstack/stx-fault
- openstack/stx-integ
vars:
tox_envlist: py27
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
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
files:
- sysinv/cgts-client/*
required-projects:
- openstack/stx-update
- openstack/stx-fault
- openstack/stx-integ
vars:
tox_envlist: pylint
tox_extra_args: -c sysinv/cgts-client/cgts-client/tox.ini
- job:
name: puppet-manifests-lint
parent: tox
description: |
Run puppetlint test for puppet-manifests
files:
- puppet-manifests/*
pre-run: playbooks/tox-puppet-lint/pre.yaml
vars:
tox_envlist: puppetlint
tox_extra_args: -c puppet-manifests/tox.ini
- job:
name: puppet-modules-wrs-lint
parent: tox
description: |
Run puppetlint test for puppet-modules-wrs
files:
- puppet-modules-wrs/*
pre-run: playbooks/tox-puppet-lint/pre.yaml
vars:
tox_envlist: puppetlint
tox_extra_args: -c puppet-modules-wrs/tox.ini