config/.zuul.yaml
Dean Troyer 97ce4e8961 Followup opendev cleanup and test jobs
Depends-On: https://review.opendev.org/653964
Depends-On: https://review.opendev.org/653961
Depends-On: https://review.opendev.org/654013
Change-Id: I78959af02a0183d993b5a5609adb69e5464cc261
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2019-04-20 21:04:15 -05:00

229 lines
5.5 KiB
YAML

---
- project:
templates:
- build-openstack-docs-pti
check:
jobs:
- build-openstack-api-ref
- build-openstack-releasenotes
- flock-devstack-config
- openstack-tox-linters
- sysinv-tox-py27
- sysinv-tox-py35
- sysinv-tox-flake8
- sysinv-tox-pylint
- controllerconfig-tox-flake8
- controllerconfig-tox-py27
- controllerconfig-tox-pylint
- 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
- flock-devstack-config
- openstack-tox-linters
- sysinv-tox-py27
- sysinv-tox-py35
- sysinv-tox-flake8
- sysinv-tox-pylint
- controllerconfig-tox-flake8
- controllerconfig-tox-py27
- controllerconfig-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
nodeset: ubuntu-xenial
required-projects:
- starlingx/update
- starlingx/fault
- starlingx/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
nodeset: ubuntu-xenial
required-projects:
- starlingx/update
- starlingx/fault
- starlingx/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:
- starlingx/update
- starlingx/fault
- starlingx/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:
- starlingx/update
- starlingx/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:
- starlingx/update
- starlingx/fault
files:
- controllerconfig/*
vars:
tox_envlist: pylint
tox_extra_args: -c controllerconfig/controllerconfig/tox.ini
- job:
name: flock-devstack-config
parent: flock-devstack-base
required-projects:
- starlingx/fault
- starlingx/integ
- starlingx/update
vars:
tox_envlist: functional
devstack_services:
# StarlingX services
fm-common: true
fm-api: true
cgtsclient: true
sysinv-agent: true
sysinv-api: true
sysinv-cond: true
tls-proxy: false
devstack_plugins:
config: https://opendev.org/starlingx/config
fault: https://opendev.org/starlingx/fault
integ: https://opendev.org/starlingx/integ
update: https://opendev.org/starlingx/update
- job:
name: cgtsclient-tox-py27
parent: tox
description: |
Run py27 test for cgts-client
files:
- sysinv/cgts-client/*
required-projects:
- starlingx/update
- starlingx/fault
- starlingx/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:
- starlingx/update
- starlingx/fault
- starlingx/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