From c10cd14cdec452b2cf3b5c4f82bbf27815719dc1 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 17 Nov 2017 19:38:10 +0100 Subject: [PATCH] Run bindep tox on changes Change-Id: Ie3d9fa60c6ed2b1406bbec9c23c6d0fc0afda8a4 --- .zuul.d/jobs.yaml | 11 +++++++++++ .zuul.d/project.yaml | 3 +++ bindep.txt | 3 +-- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.zuul.d/jobs.yaml b/.zuul.d/jobs.yaml index 009a618ef5..482b4b71ba 100644 --- a/.zuul.d/jobs.yaml +++ b/.zuul.d/jobs.yaml @@ -43,3 +43,14 @@ Uses tox with the ``validate-projects`` environment. vars: tox_envlist: validate-projects + +- job: + name: requirements-tox-bindep + parent: openstack-tox + description: | + Run test for requirements project. + + Uses tox with the ``bindep`` environment. + files: ^bindep.txt$ + vars: + tox_envlist: bindep diff --git a/.zuul.d/project.yaml b/.zuul.d/project.yaml index 804c5cf77f..1a040e14d2 100644 --- a/.zuul.d/project.yaml +++ b/.zuul.d/project.yaml @@ -13,6 +13,9 @@ - bindep.txt - openstack-tox-validate - requirements-tox-babel + - requirements-tox-bindep: + branches: ^(?!stable/(newton|ocata|pike)).*$ + voting: false - requirements-tox-py27-check-uc - requirements-tox-py35-check-uc: branches: ^(?!stable/(newton|ocata|pike)).*$ diff --git a/bindep.txt b/bindep.txt index cec1be7af0..886f584449 100644 --- a/bindep.txt +++ b/bindep.txt @@ -43,8 +43,7 @@ uuid-dev [platform:dpkg] python-numpy [python] python-yaml [python] -# NOTE(jaegerandi): Temporarily needed for running as part of -# OpenStack gates: +# NOTE(jaegerandi): Temporarily needed for part of OpenStack gates # TODO(pabelanger): Remove in follow up patch. mysql-client [platform:dpkg] mysql-server [platform:dpkg]