8359df894c
Use templates instead of individual jobs so that these can be changed in one place. Depends-On: https://review.opendev.org/677606 Change-Id: I60b748616fc610e3521a26d37e8a09c4f27e2712
240 lines
5.7 KiB
YAML
240 lines
5.7 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-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:
|
|
- 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
|
|
|
|
- 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_environment:
|
|
STX_PREFIX: ''
|
|
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_environment:
|
|
STX_PREFIX: ''
|
|
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_environment:
|
|
STX_PREFIX: ''
|
|
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_environment:
|
|
STX_PREFIX: ''
|
|
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_environment:
|
|
STX_PREFIX: ''
|
|
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_environment:
|
|
STX_PREFIX: ''
|
|
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_environment:
|
|
STX_PREFIX: ''
|
|
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_environment:
|
|
STX_PREFIX: ''
|
|
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_environment:
|
|
STX_PREFIX: ''
|
|
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_environment:
|
|
STX_PREFIX: ''
|
|
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
|