a91160daa2
This update adds the tox and zuul configuration to run puppet-lint against the puppet manifests. The initial update ignores all existing errors, which will be cleaned up later. Change-Id: I293abc2eac6bc6216cbbf6d939c1ba3474fb9384 Story: 2004515 Task: 28665 Signed-off-by: Don Penney <don.penney@windriver.com>
229 lines
5.6 KiB
YAML
229 lines
5.6 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
|
|
- sysinv-tox-pylint
|
|
- 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
|
|
- puppet-manifests-lint
|
|
- puppet-modules-wrs-lint
|
|
gate:
|
|
jobs:
|
|
- build-openstack-api-ref
|
|
- build-openstack-releasenotes
|
|
- openstack-tox-linters
|
|
- sysinv-tox-py27
|
|
- sysinv-tox-flake8
|
|
- sysinv-tox-pylint
|
|
- controllerconfig-tox-flake8
|
|
- controllerconfig-tox-py27
|
|
- controllerconfig-tox-pylint
|
|
- configutilities-tox-flake8
|
|
- 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-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: 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
|