fault/.zuul.yaml
Saul Wold 91af45019b Tox: add tox job and requirements to improve specfiles
This is a tox job to scan the RPM specfiles and do some
initial sanity checks and use the OpenDev Spec-Cleaner tool, this
is not a 'linter' per-se, but will output a diff of recommended
changes for the specfile.

Initial disable cleaning our default CentOS specfiles since we
know they need work, we can enable this later.

This uses the speclint script in starlingx/integ a proposed
by the Depends-On.

The recommended guildline for openSUSE is located here:
https://en.opensuse.org/openSUSE:Specfile_guidelines

Fix up fm-rest-api opensuse specfile

Depends-On: https://review.opendev.org/664995
Change-Id: I46da780a667569a9dccedd551d955c983e9601cd
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2019-07-16 13:15:24 -07:00

70 lines
1.6 KiB
YAML

---
- project:
templates:
- build-openstack-docs-pti
check:
jobs:
- build-openstack-api-ref
- build-openstack-releasenotes
- flock-devstack-fault
- openstack-tox-linters
- openstack-tox-pep8
- stx-fault-build
- flock-check-packaging:
voting: false
gate:
jobs:
- build-openstack-api-ref
- build-openstack-releasenotes
- flock-devstack-fault
- openstack-tox-linters
- openstack-tox-pep8
post:
jobs:
- publish-stx-api-ref
- publish-stx-tox
- publish-stx-releasenotes
# Perform just a build
- job:
name: stx-fault-build
parent: tox
description: Run build for fault
irrelevant-files:
- api-ref/*
- docs/*
- releasenotes/*
vars:
tox_envlist: build
- job:
name: flock-devstack-fault
parent: flock-devstack-base-min
required-projects:
# - name: starlingx/config
- name: starlingx/integ
- name: starlingx/update
vars:
tox_envlist: functional
devstack_services:
# cgtsclient: true
fm-common: true
fm-api: true
fm-rest-api: true
fm-mgr: true
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: flock-check-packaging
parent: tox
description: Sanity check RPM spec files
required-projects:
- name: starlingx/integ
vars:
tox_envlist: rpm-packaging-lint