Gnocchi: Fix gate stable jobs

Since Mikita is released, Gnocchi stables 2.0 and 2.1 must be
gated on Mikita stable branches of other project.

Change-Id: I8f5da5dde5aa24757813b9c032f8ee561029e6c9
This commit is contained in:
Mehdi Abaakouk 2016-04-14 09:40:02 +02:00
parent a4c8a7f0a2
commit 2489b92e25
2 changed files with 3 additions and 2 deletions

@ -208,12 +208,13 @@
case "$ZUUL_BRANCH" in
"stable/1.0"|"stable/1.1"|"stable/1.2") export OVERRIDE_ZUUL_BRANCH=stable/kilo ;;
"stable/1.3") export OVERRIDE_ZUUL_BRANCH=stable/liberty ;;
"stable/2.0") export OVERRIDE_ZUUL_BRANCH=master ;;
"stable/2.0"|"stable/2.1") export OVERRIDE_ZUUL_BRANCH=stable/mikita ;;
esac
else
case "$ZUUL_BRANCH" in
"stable/kilo") export OVERRIDE_GNOCCHI_PROJECT_BRANCH="stable/1.2";;
"stable/liberty") export OVERRIDE_GNOCCHI_PROJECT_BRANCH="stable/1.3";;
"stable/mikita") export OVERRIDE_GNOCCHI_PROJECT_BRANCH="stable/2.1";;
esac
fi

@ -20,7 +20,7 @@
case "$ZUUL_BRANCH" in
"stable/1.0"|"stable/1.1"|"stable/1.2") export OVERRIDE_ZUUL_BRANCH=stable/kilo ;;
"stable/1.3") export OVERRIDE_ZUUL_BRANCH=stable/liberty ;;
"stable/2.0") export OVERRIDE_ZUUL_BRANCH=master ;;
"stable/2.0"|"stable/2.1") export OVERRIDE_ZUUL_BRANCH=stable/mikita ;;
esac
function gate_hook {{