config/.zuul.yaml

184 lines
4.5 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-flake8
- controllerconfig-tox-flake8
- controllerconfig-tox-py27
- controllerconfig-tox-pylint
- configutilities-tox-flake8
- stx-devstack-config:
voting: false
- cgtsclient-tox-py27
- cgtsclient-tox-pep8
- cgtsclient-tox-pylint
gate:
jobs:
- build-openstack-api-ref
- build-openstack-releasenotes
- openstack-tox-linters
- sysinv-tox-py27
- sysinv-tox-flake8
- controllerconfig-tox-flake8
- controllerconfig-tox-py27
- controllerconfig-tox-pylint
- configutilities-tox-flake8
- cgtsclient-tox-py27
- cgtsclient-tox-pep8
- cgtsclient-tox-pylint
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-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: 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: 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