Don't run fucntional jobs for docs changes

Currently we run scenario and functional jobs for changes that only contain
documentation updates. This patch fixes this issue so that only relevant jobs
are run.

This patch also removes an exception for legacy ^tempest paths that
Octavia does not have.

Change-Id: I58a21808ee3db67ee20e49caf2a966ff0f373f48
changes/48/526548/6
Michael Johnson 5 years ago
parent 195bfc8df5
commit 7cb7a6f1fe
  1. 86
      zuul.d/jobs.yaml
  2. 92
      zuul.d/projects.yaml

@ -1,8 +1,6 @@
- job:
name: octavia-v1-dsvm-scenario
name: octavia-legacy-dsvm-base
parent: legacy-dsvm-base
run: playbooks/legacy/octavia-v1-dsvm-scenario/run.yaml
post-run: playbooks/legacy/octavia-v1-dsvm-scenario/post.yaml
timeout: 7800
required-projects:
- openstack-infra/devstack-gate
@ -13,12 +11,16 @@
- openstack/python-barbicanclient
- openstack/python-octaviaclient
- openstack/tripleo-image-elements
irrelevant-files:
- ^.*\.rst$
- ^api-ref/.*$
- ^doc/.*$
- ^etc/.*$
- ^releasenotes/.*$
- job:
name: octavia-v1-dsvm-py3x-scenario
parent: legacy-dsvm-base
run: playbooks/legacy/octavia-v1-dsvm-py3x-scenario/run.yaml
post-run: playbooks/legacy/octavia-v1-dsvm-py3x-scenario/post.yaml
name: octavia-legacy-dsvm-base-multinode
parent: legacy-dsvm-base-multinode
timeout: 7800
required-projects:
- openstack-infra/devstack-gate
@ -29,72 +31,48 @@
- openstack/python-barbicanclient
- openstack/python-octaviaclient
- openstack/tripleo-image-elements
irrelevant-files:
- ^.*\.rst$
- ^api-ref/.*$
- ^doc/.*$
- ^etc/.*$
- ^releasenotes/.*$
nodeset: legacy-ubuntu-xenial-2-node
- job:
name: octavia-v1-dsvm-scenario
parent: octavia-legacy-dsvm-base
run: playbooks/legacy/octavia-v1-dsvm-scenario/run.yaml
post-run: playbooks/legacy/octavia-v1-dsvm-scenario/post.yaml
- job:
name: octavia-v1-dsvm-py3x-scenario
parent: octavia-legacy-dsvm-base
run: playbooks/legacy/octavia-v1-dsvm-py3x-scenario/run.yaml
post-run: playbooks/legacy/octavia-v1-dsvm-py3x-scenario/post.yaml
- job:
name: octavia-v1-dsvm-scenario-multinode
parent: legacy-dsvm-base-multinode
parent: octavia-legacy-dsvm-base-multinode
run: playbooks/legacy/octavia-v1-dsvm-scenario-multinode/run.yaml
post-run: playbooks/legacy/octavia-v1-dsvm-scenario-multinode/post.yaml
timeout: 7800
required-projects:
- openstack-infra/devstack-gate
- openstack/barbican
- openstack/diskimage-builder
- openstack/neutron-lbaas
- openstack/octavia
- openstack/python-barbicanclient
- openstack/python-octaviaclient
- openstack/tripleo-image-elements
nodeset: legacy-ubuntu-xenial-2-node
- job:
name: octavia-v1-dsvm-py3x-scenario-multinode
parent: legacy-dsvm-base-multinode
parent: octavia-legacy-dsvm-base-multinode
run: playbooks/legacy/octavia-v1-dsvm-py3x-scenario-multinode/run.yaml
post-run: playbooks/legacy/octavia-v1-dsvm-py3x-scenario-multinode/post.yaml
timeout: 7800
required-projects:
- openstack-infra/devstack-gate
- openstack/barbican
- openstack/diskimage-builder
- openstack/neutron-lbaas
- openstack/octavia
- openstack/python-barbicanclient
- openstack/python-octaviaclient
- openstack/tripleo-image-elements
nodeset: legacy-ubuntu-xenial-2-node
- job:
name: octavia-v1-dsvm-scenario-kvm-centos.7
parent: legacy-dsvm-base
parent: octavia-legacy-dsvm-base
run: playbooks/legacy/octavia-v1-dsvm-scenario-kvm-centos.7/run.yaml
post-run: playbooks/legacy/octavia-v1-dsvm-scenario-kvm-centos.7/post.yaml
timeout: 7800
required-projects:
- openstack-infra/devstack-gate
- openstack/barbican
- openstack/barbican-tempest-plugin
- openstack/diskimage-builder
- openstack/neutron-lbaas
- openstack/octavia
- openstack/python-barbicanclient
- openstack/python-octaviaclient
- openstack/tripleo-image-elements
- job:
name: octavia-v1-dsvm-scenario-lxd
parent: legacy-dsvm-base
parent: octavia-legacy-dsvm-base
run: playbooks/legacy/octavia-v1-dsvm-scenario-lxd/run.yaml
post-run: playbooks/legacy/octavia-v1-dsvm-scenario-lxd/post.yaml
timeout: 7800
required-projects:
- openstack-infra/devstack-gate
- openstack/barbican
- openstack/barbican-tempest-plugin
- openstack/diskimage-builder
- openstack/neutron-lbaas
- openstack/nova-lxd
- openstack/octavia
- openstack/python-barbicanclient
- openstack/python-octaviaclient
- openstack/tripleo-image-elements

@ -9,103 +9,46 @@
branches: ^(?!stable/ocata).*$
- neutron-lbaasv2-dsvm-scenario:
voting: false
irrelevant-files:
- ^.*\.rst$
- ^api-ref/.*$
- ^doc/.*$
- ^etc/.*$
- ^releasenotes/.*$
- ^tempest/hacking/.*$
- ^tempest/tests/.*$
- neutron-lbaasv2-dsvm-py3x-scenario:
branches: ^(?!stable/ocata).*$
voting: false
- octavia-tox-functional:
irrelevant-files:
- ^.*\.rst$
- ^api-ref/.*$
- ^doc/.*$
- ^etc/.*$
- ^releasenotes/.*$
- ^tempest/hacking/.*$
- ^tempest/tests/.*$
- openstack-tox-functional
- openstack-tox-functional-py35:
- octavia-tox-functional-py35:
branches: ^(?!stable/ocata).*$
- octavia-v1-dsvm-scenario:
irrelevant-files:
- ^.*\.rst$
- ^api-ref/.*$
- ^doc/.*$
- ^etc/.*$
- ^releasenotes/.*$
- ^tempest/hacking/.*$
- ^tempest/tests/.*$
- octavia-v1-dsvm-scenario
- octavia-v1-dsvm-py3x-scenario:
branches: ^(?!stable/ocata).*$
irrelevant-files:
- ^.*\.rst$
- ^api-ref/.*$
- ^doc/.*$
- ^etc/.*$
- ^releasenotes/.*$
- ^tempest/hacking/.*$
- ^tempest/tests/.*$
- octavia-v1-dsvm-scenario-multinode:
irrelevant-files:
- ^.*\.rst$
- ^api-ref/.*$
- ^doc/.*$
- ^etc/.*$
- ^releasenotes/.*$
- ^tempest/hacking/.*$
- ^tempest/tests/.*$
- octavia-v1-dsvm-scenario-multinode
- octavia-v1-dsvm-py3x-scenario-multinode:
branches: ^(?!stable/ocata).*$
irrelevant-files:
- ^.*\.rst$
- ^api-ref/.*$
- ^doc/.*$
- ^etc/.*$
- ^releasenotes/.*$
- ^tempest/hacking/.*$
- ^tempest/tests/.*$
- octavia-v1-dsvm-scenario-kvm-centos.7:
voting: false
irrelevant-files:
- ^.*\.rst$
- ^api-ref/.*$
- ^doc/.*$
- ^etc/.*$
- ^releasenotes/.*$
- ^tempest/hacking/.*$
- ^tempest/tests/.*$
- octavia-v1-dsvm-scenario-lxd:
voting: false
branches: ^(?!stable/ocata).*$
irrelevant-files:
- ^.*\.rst$
- ^api-ref/.*$
- ^doc/.*$
- ^etc/.*$
- ^releasenotes/.*$
- ^tempest/hacking/.*$
- ^tempest/tests/.*$
gate:
queue: octavia
jobs:
- openstack-tox-functional
- openstack-tox-functional-py35:
branches: ^(?!stable/ocata).*$
- octavia-v1-dsvm-scenario:
- octavia-tox-functional:
irrelevant-files:
- ^.*\.rst$
- ^api-ref/.*$
- ^doc/.*$
- ^etc/.*$
- ^releasenotes/.*$
- ^tempest/hacking/.*$
- ^tempest/tests/.*$
- octavia-v1-dsvm-py3x-scenario:
- octavia-tox-functional-py35:
branches: ^(?!stable/ocata).*$
irrelevant-files:
- ^.*\.rst$
@ -113,27 +56,12 @@
- ^doc/.*$
- ^etc/.*$
- ^releasenotes/.*$
- ^tempest/hacking/.*$
- ^tempest/tests/.*$
- octavia-v1-dsvm-scenario-multinode:
irrelevant-files:
- ^.*\.rst$
- ^api-ref/.*$
- ^doc/.*$
- ^etc/.*$
- ^releasenotes/.*$
- ^tempest/hacking/.*$
- ^tempest/tests/.*$
- octavia-v1-dsvm-scenario
- octavia-v1-dsvm-py3x-scenario:
branches: ^(?!stable/ocata).*$
- octavia-v1-dsvm-scenario-multinode
- octavia-v1-dsvm-py3x-scenario-multinode:
branches: ^(?!stable/ocata).*$
irrelevant-files:
- ^.*\.rst$
- ^api-ref/.*$
- ^doc/.*$
- ^etc/.*$
- ^releasenotes/.*$
- ^tempest/hacking/.*$
- ^tempest/tests/.*$
- neutron-lbaasv2-dsvm-api
- neutron-lbaasv2-dsvm-py3x-api:
branches: ^(?!stable/ocata).*$

Loading…
Cancel
Save