From f25942f6095f838270588db2a54eed6cf101eeac Mon Sep 17 00:00:00 2001 From: Mingyuan Qi Date: Fri, 10 Aug 2018 16:16:47 +0800 Subject: [PATCH] Add a zuul job for sysinv tox unittest Intergrate sysinv tox test to zuul. Remove the version of setup.cfg to avoid a pbr error. Story: 2003375 Task: 24445 Change-Id: I676cc9fedd3e3eb9e5a1dc252745aa89822854f3 Signed-off-by: Mingyuan Qi --- .zuul.yaml | 15 +++++++++++++++ sysinv/sysinv/sysinv/requirements.txt | 1 + sysinv/sysinv/sysinv/setup.cfg | 1 - sysinv/sysinv/sysinv/setup.py | 1 - 4 files changed, 16 insertions(+), 2 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index b17b8aec89..caddf038d0 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -4,3 +4,18 @@ jobs: - openstack-tox-linters: voting: false + - sysinv-tox-unittest: + voting: false + +- job: + name: sysinv-tox-unittest + parent: tox + description: | + Run unit test for sysinv + required-projects: + - openstack/stx-update + - openstack/stx-fault + - openstack/stx-integ + vars: + tox_envlist: py27 + tox_extra_args: -c sysinv/sysinv/sysinv/tox.ini diff --git a/sysinv/sysinv/sysinv/requirements.txt b/sysinv/sysinv/sysinv/requirements.txt index b44efc48b4..13537df921 100644 --- a/sysinv/sysinv/sysinv/requirements.txt +++ b/sysinv/sysinv/sysinv/requirements.txt @@ -36,3 +36,4 @@ PyYAML>=3.10 python-magnumclient>=2.0.0 # Apache-2.0 psutil simplejson>=2.2.0 # MIT +rpm diff --git a/sysinv/sysinv/sysinv/setup.cfg b/sysinv/sysinv/sysinv/setup.cfg index 23132a2d92..e4da474291 100644 --- a/sysinv/sysinv/sysinv/setup.cfg +++ b/sysinv/sysinv/sysinv/setup.cfg @@ -1,6 +1,5 @@ [metadata] name = sysinv -version = 2013.2 summary = OpenStack Bare Metal Provisioning description-file = README.rst diff --git a/sysinv/sysinv/sysinv/setup.py b/sysinv/sysinv/sysinv/setup.py index 24487268a9..3228bd8ee6 100644 --- a/sysinv/sysinv/sysinv/setup.py +++ b/sysinv/sysinv/sysinv/setup.py @@ -20,7 +20,6 @@ project = 'sysinv' setuptools.setup( name=project, - version='2013.2', description='Bare Metal controller', classifiers=[ 'Environment :: OpenStack',