cf23446094
Use the DevStack-provided functions to do the Python installations for configutilities and controllerconfig. Prepare the plugin setting for declaring DevStack prereqs that is available in master's DevStack playbook. Also do not enable all services by default. sysinv-api is disabled in the devstack job as it does not properly start under Bionic. We will address this separately. Change-Id: Ib57863526d285049b5964828e1b60bf215d25a23 Signed-off-by: Dean Troyer <dtroyer@gmail.com>
261 lines
6.4 KiB
YAML
261 lines
6.4 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-py35
|
|
- sysinv-tox-flake8
|
|
- sysinv-tox-pylint
|
|
- controllerconfig-tox-flake8
|
|
- controllerconfig-tox-py27
|
|
- controllerconfig-tox-pylint
|
|
- configutilities-tox-flake8
|
|
- configutilities-tox-pylint
|
|
- 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-py35
|
|
- sysinv-tox-flake8
|
|
- sysinv-tox-pylint
|
|
- controllerconfig-tox-flake8
|
|
- controllerconfig-tox-py27
|
|
- controllerconfig-tox-pylint
|
|
- configutilities-tox-flake8
|
|
- configutilities-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
|
|
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-py35
|
|
parent: tox
|
|
description: |
|
|
Run py35 test for sysinv
|
|
required-projects:
|
|
- openstack/stx-update
|
|
- openstack/stx-fault
|
|
- openstack/stx-integ
|
|
files:
|
|
- sysinv/sysinv/*
|
|
vars:
|
|
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_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: configutilities-tox-pylint
|
|
parent: tox
|
|
description: Run pylint tests for configutilities
|
|
required-projects:
|
|
- openstack/stx-update
|
|
files:
|
|
- configutilities/*
|
|
vars:
|
|
tox_envlist: pylint
|
|
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
|
|
# Skip sysinv-api for now, needs more attention
|
|
# 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
|