Files
update/.zuul.yaml
Don Penney a5e51f98c8 Add test framework for patch alarm manager
This update sets up the initial testing framework for
the patch-alarm module, with a basic test case.

Additionally, this restructures the tox.ini files. Now
that each python module has its own tox.ini and tests,
the top-level tox.ini can recursively use those. As well,
the Zuul setup can now split the jobs for each module.

Change-Id: I79eed868c5b42e2545ccf0c11dbbbea4336b9b19
Story: 2005939
Task: 34783
Signed-off-by: Don Penney <don.penney@windriver.com>
2019-06-28 17:03:00 -04:00

189 lines
4.2 KiB
YAML

---
- project:
templates:
- build-openstack-docs-pti
check:
jobs:
- build-openstack-api-ref
- build-openstack-releasenotes
- flock-devstack-update
- openstack-tox-linters
- tsconfig-tox-flake8
- tsconfig-tox-pylint
- tsconfig-tox-py27
- tsconfig-tox-py36
- patch-tox-flake8
- patch-tox-pylint
- patch-tox-py27
- patch-tox-py36
- patch-alarm-tox-flake8
- patch-alarm-tox-pylint
- patch-alarm-tox-py27
- patch-alarm-tox-py36
gate:
jobs:
- build-openstack-api-ref
- build-openstack-releasenotes
- flock-devstack-update
- openstack-tox-linters
- tsconfig-tox-flake8
- tsconfig-tox-pylint
- tsconfig-tox-py27
- tsconfig-tox-py36
- patch-tox-flake8
- patch-tox-pylint
- patch-tox-py27
- patch-tox-py36
- patch-alarm-tox-flake8
- patch-alarm-tox-pylint
- patch-alarm-tox-py27
- patch-alarm-tox-py36
post:
jobs:
- publish-stx-api-ref
- publish-stx-tox
- publish-stx-releasenotes
- job:
name: tsconfig-tox-flake8
parent: tox
files:
- tsconfig/tsconfig/*
vars:
tox_envlist: flake8
tox_extra_args: -c tsconfig/tsconfig/tox.ini
- job:
name: tsconfig-tox-pylint
parent: tox
files:
- tsconfig/tsconfig/*
vars:
tox_envlist: pylint
tox_extra_args: -c tsconfig/tsconfig/tox.ini
- job:
name: tsconfig-tox-py27
parent: tox
files:
- tsconfig/tsconfig/*
vars:
tox_envlist: py27
tox_extra_args: -c tsconfig/tsconfig/tox.ini
- job:
name: tsconfig-tox-py36
parent: tox
files:
- tsconfig/tsconfig/*
vars:
tox_envlist: py36
tox_extra_args: -c tsconfig/tsconfig/tox.ini
- job:
name: patch-tox-flake8
parent: tox
required-projects:
- starlingx/config
files:
- cgcs-patch/cgcs-patch/*
vars:
tox_envlist: flake8
tox_extra_args: -c cgcs-patch/cgcs-patch/tox.ini
- job:
name: patch-tox-pylint
parent: tox
required-projects:
- starlingx/config
files:
- cgcs-patch/cgcs-patch/*
vars:
tox_envlist: pylint
tox_extra_args: -c cgcs-patch/cgcs-patch/tox.ini
- job:
name: patch-tox-py27
parent: tox
required-projects:
- starlingx/config
files:
- cgcs-patch/cgcs-patch/*
vars:
tox_envlist: py27
tox_extra_args: -c cgcs-patch/cgcs-patch/tox.ini
- job:
name: patch-tox-py36
parent: tox
required-projects:
- starlingx/config
files:
- cgcs-patch/cgcs-patch/*
vars:
tox_envlist: py36
tox_extra_args: -c cgcs-patch/cgcs-patch/tox.ini
- job:
name: patch-alarm-tox-flake8
parent: tox
required-projects:
- starlingx/config
- starlingx/fault
files:
- patch-alarm/patch-alarm/*
vars:
tox_envlist: flake8
tox_extra_args: -c patch-alarm/patch-alarm/tox.ini
- job:
name: patch-alarm-tox-pylint
parent: tox
required-projects:
- starlingx/config
- starlingx/fault
files:
- patch-alarm/patch-alarm/*
vars:
tox_envlist: pylint
tox_extra_args: -c patch-alarm/patch-alarm/tox.ini
- job:
name: patch-alarm-tox-py27
parent: tox
required-projects:
- starlingx/config
- starlingx/fault
files:
- patch-alarm/patch-alarm/*
vars:
tox_envlist: py27
tox_extra_args: -c patch-alarm/patch-alarm/tox.ini
- job:
name: patch-alarm-tox-py36
parent: tox
required-projects:
- starlingx/config
- starlingx/fault
files:
- patch-alarm/patch-alarm/*
vars:
tox_envlist: py36
tox_extra_args: -c patch-alarm/patch-alarm/tox.ini
- job:
name: flock-devstack-update
parent: flock-devstack-base-min
required-projects:
- starlingx/integ
vars:
tox_envlist: functional
devstack_services:
# StarlingX services
sw-patch: true
tsconfig: true
devstack_plugins:
# integ: https://opendev.org/starlingx/integ
update: https://opendev.org/starlingx/update