From 2b2e469035b498aed146c5e3715dfd1062610bab Mon Sep 17 00:00:00 2001
From: Matt Riedemann <mriedem.os@gmail.com>
Date: Mon, 30 Oct 2017 10:31:32 -0400
Subject: [PATCH] Restrict legacy-tempest-dsvm-nova-wsgi-full to stable/ocata

NOVA_USE_MOD_WSGI=True is the default in devstack since Pike,
see change If2d7e363a6541854f2e30c03171bef7a41aff745.

Therefore we can restrict the nova-wsgi-full job to just running
against stable/ocata patches.

stable/newton is intentionally left out since newton is soon to
be EOL.

Change-Id: I0d69110b466e6c82167c0ccd93b481bde6069b8f
---
 zuul.d/zuul-legacy-jobs.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/zuul.d/zuul-legacy-jobs.yaml b/zuul.d/zuul-legacy-jobs.yaml
index 69fd56b3..88bae65d 100644
--- a/zuul.d/zuul-legacy-jobs.yaml
+++ b/zuul.d/zuul-legacy-jobs.yaml
@@ -10089,6 +10089,9 @@
     run: playbooks/legacy/tempest-dsvm-nova-wsgi-full/run
     post-run: playbooks/legacy/tempest-dsvm-nova-wsgi-full/post
     timeout: 10800
+    # NOVA_USE_MOD_WSGI=True has been the default in devstack since Pike so
+    # this job is only interesting in stable/ocata.
+    branches: ^stable/ocata$
     required-projects:
       - openstack-infra/devstack-gate
       - openstack/nova