From d6bcebcd2bb07801b3e63fbf745dc3fe43eb0e58 Mon Sep 17 00:00:00 2001 From: Ghanshyan Mann Date: Thu, 13 Dec 2018 21:31:01 +0900 Subject: [PATCH] Add irrelevant-files for integrated test jobs Cinder gate run integrated test jobs even on doc, tests file etc changes Example- https://review.openstack.org/#/c/600442/ We do not need to run integrated tests jobs on such changes. Adding corresponding irrelevant-files will save infra resource. Change-Id: I4dc57dfda6c705b5e3b5413254202b3a5b3f3d96 --- .zuul.yaml | 122 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 120 insertions(+), 2 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index 645cb52be95..66af9637d03 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -15,7 +15,21 @@ - cinder-tempest-dsvm-lvm-lio-barbican - cinder-tox-bandit-baseline: voting: false - - nova-multiattach + - nova-multiattach: + irrelevant-files: + - ^(test-|)requirements.txt$ + - ^.*\.rst$ + - ^api-ref/.*$ + - ^cinder/hacking/.*$ + - ^cinder/locale/.*$ + - ^cinder/tests/functional.*$ + - ^cinder/tests/unit.*$ + - ^contrib/block-box.*$ + - ^doc/.*$ + - ^releasenotes/.*$ + - ^setup.cfg$ + - ^tools/.*$ + - ^tox.ini$ - openstack-tox-functional-py35: irrelevant-files: - ^.*\.rst$ @@ -161,9 +175,68 @@ - ^setup.cfg$ - ^tools/.*$ - ^tox.ini$ + - tempest-full: + irrelevant-files: + - ^(test-|)requirements.txt$ + - ^.*\.rst$ + - ^api-ref/.*$ + - ^cinder/hacking/.*$ + - ^cinder/locale/.*$ + - ^cinder/tests/functional.*$ + - ^cinder/tests/unit.*$ + - ^contrib/block-box.*$ + - ^doc/.*$ + - ^releasenotes/.*$ + - ^setup.cfg$ + - ^tools/.*$ + - ^tox.ini$ + - tempest-full-py3: + irrelevant-files: + - ^(test-|)requirements.txt$ + - ^.*\.rst$ + - ^api-ref/.*$ + - ^cinder/hacking/.*$ + - ^cinder/locale/.*$ + - ^cinder/tests/functional.*$ + - ^cinder/tests/unit.*$ + - ^contrib/block-box.*$ + - ^doc/.*$ + - ^releasenotes/.*$ + - ^setup.cfg$ + - ^tools/.*$ + - ^tox.ini$ + - grenade-py3: + irrelevant-files: + - ^(test-|)requirements.txt$ + - ^.*\.rst$ + - ^api-ref/.*$ + - ^cinder/hacking/.*$ + - ^cinder/locale/.*$ + - ^cinder/tests/functional.*$ + - ^cinder/tests/unit.*$ + - ^contrib/block-box.*$ + - ^doc/.*$ + - ^releasenotes/.*$ + - ^setup.cfg$ + - ^tools/.*$ + - ^tox.ini$ gate: jobs: - - nova-multiattach + - nova-multiattach: + irrelevant-files: + - ^(test-|)requirements.txt$ + - ^.*\.rst$ + - ^api-ref/.*$ + - ^cinder/hacking/.*$ + - ^cinder/locale/.*$ + - ^cinder/tests/functional.*$ + - ^cinder/tests/unit.*$ + - ^contrib/block-box.*$ + - ^doc/.*$ + - ^releasenotes/.*$ + - ^setup.cfg$ + - ^tools/.*$ + - ^tox.ini$ - openstack-tox-functional-py35: irrelevant-files: - ^.*\.rst$ @@ -204,6 +277,51 @@ - ^setup.cfg$ - ^tools/.*$ - ^tox.ini$ + - tempest-full: + irrelevant-files: + - ^(test-|)requirements.txt$ + - ^.*\.rst$ + - ^api-ref/.*$ + - ^cinder/hacking/.*$ + - ^cinder/locale/.*$ + - ^cinder/tests/functional.*$ + - ^cinder/tests/unit.*$ + - ^contrib/block-box.*$ + - ^doc/.*$ + - ^releasenotes/.*$ + - ^setup.cfg$ + - ^tools/.*$ + - ^tox.ini$ + - tempest-full-py3: + irrelevant-files: + - ^(test-|)requirements.txt$ + - ^.*\.rst$ + - ^api-ref/.*$ + - ^cinder/hacking/.*$ + - ^cinder/locale/.*$ + - ^cinder/tests/functional.*$ + - ^cinder/tests/unit.*$ + - ^contrib/block-box.*$ + - ^doc/.*$ + - ^releasenotes/.*$ + - ^setup.cfg$ + - ^tools/.*$ + - ^tox.ini$ + - grenade-py3: + irrelevant-files: + - ^(test-|)requirements.txt$ + - ^.*\.rst$ + - ^api-ref/.*$ + - ^cinder/hacking/.*$ + - ^cinder/locale/.*$ + - ^cinder/tests/functional.*$ + - ^cinder/tests/unit.*$ + - ^contrib/block-box.*$ + - ^doc/.*$ + - ^releasenotes/.*$ + - ^setup.cfg$ + - ^tools/.*$ + - ^tox.ini$ experimental: jobs: - tempest-cinder-v2-api: