From 14528992e10e02f285c57a6f6caf433c90b3bd6c Mon Sep 17 00:00:00 2001
From: Matt Riedemann <mriedem.os@gmail.com>
Date: Wed, 21 Feb 2018 22:17:32 -0500
Subject: [PATCH] Don't run neutron-grenade job on stable/ocata changes

Since Newton is EOL in most projects, if not all projects,
that use the integrated-gate template, we need to not run
this job on stable/ocata changes for those projects since
there is no stable/newton branch from which to start the
grenade run.

Change-Id: I29c8a424dbebf6d3607110e57c1cefbbd441a5d1
---
 zuul.d/zuul-legacy-project-templates.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/zuul.d/zuul-legacy-project-templates.yaml b/zuul.d/zuul-legacy-project-templates.yaml
index acbeeb48..3c8b8c4f 100644
--- a/zuul.d/zuul-legacy-project-templates.yaml
+++ b/zuul.d/zuul-legacy-project-templates.yaml
@@ -89,14 +89,14 @@
             branches: ^stable/(newton|ocata|pike)$
         - tempest-full
         - neutron-grenade:
-            branches: ^(?!stable/newton).*$
+            branches: ^(?!stable/(newton|ocata)).*$
     gate:
       jobs:
         - legacy-tempest-dsvm-neutron-full:
             branches: ^stable/(newton|ocata|pike)$
         - tempest-full
         - neutron-grenade:
-            branches: ^(?!stable/newton).*$
+            branches: ^(?!stable/(newton|ocata)).*$
     experimental:
       jobs:
         - legacy-tempest-dsvm-neutron-pg-full: