Update grenade setting for stable/wallaby

There are still grenade legacy jobs in few projects,
so for them we need to update the grenade setting in d-g.

Hope this is last release we need to support in d-g.

Depends-On: https://review.opendev.org/c/openstack/devstack/+/784974
Change-Id: I5f98212be14ac3ebad961595e60a099c58fedada
This commit is contained in:
Ghanshyam Mann 2021-04-06 11:08:38 -05:00
parent b5edf8508b
commit ccdfff263e
1 changed files with 7 additions and 1 deletions

View File

@ -331,6 +331,9 @@ if [[ -n "$DEVSTACK_GATE_GRENADE" ]]; then
export GRENADE_NEW_BRANCH="stable/victoria" export GRENADE_NEW_BRANCH="stable/victoria"
elif [[ "$GRENADE_BASE_BRANCH" == "stable/victoria" ]]; then elif [[ "$GRENADE_BASE_BRANCH" == "stable/victoria" ]]; then
export GRENADE_OLD_BRANCH="stable/victoria" export GRENADE_OLD_BRANCH="stable/victoria"
export GRENADE_NEW_BRANCH="stable/wallaby"
elif [[ "$GRENADE_BASE_BRANCH" == "stable/wallaby" ]]; then
export GRENADE_OLD_BRANCH="stable/wallaby"
export GRENADE_NEW_BRANCH="$GIT_BRANCH" export GRENADE_NEW_BRANCH="$GIT_BRANCH"
fi fi
;; ;;
@ -371,8 +374,11 @@ if [[ -n "$DEVSTACK_GATE_GRENADE" ]]; then
elif [[ "$GRENADE_BASE_BRANCH" == "stable/victoria" ]]; then elif [[ "$GRENADE_BASE_BRANCH" == "stable/victoria" ]]; then
export GRENADE_OLD_BRANCH="stable/ussuri" export GRENADE_OLD_BRANCH="stable/ussuri"
export GRENADE_NEW_BRANCH="stable/victoria" export GRENADE_NEW_BRANCH="stable/victoria"
else # master elif [[ "$GRENADE_BASE_BRANCH" == "stable/wallaby" ]]; then
export GRENADE_OLD_BRANCH="stable/victoria" export GRENADE_OLD_BRANCH="stable/victoria"
export GRENADE_NEW_BRANCH="stable/wallaby"
else # master
export GRENADE_OLD_BRANCH="stable/wallaby"
export GRENADE_NEW_BRANCH="$GIT_BRANCH" export GRENADE_NEW_BRANCH="$GIT_BRANCH"
fi fi
;; ;;