65eaf645f4
Zuul checks out the dependant projects by their repo names. Repo checks out the project directory structure based on the labels in the manifest. Currently these directories have different names and so tox passes when run by zuul, but fails when run in a developer env. This submission uses an env variable: "STX_PREFIX" to make both envs able to run tox. Story: 2004515 Task: 30664 Change-Id: I06cefab7422f53ccc0b8af30ca06945311cec70e Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
249 lines
5.9 KiB
YAML
249 lines
5.9 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_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
|