Add support for puppet-pacemaker stable

We need to handle the puppet-pacemaker stable branches differently.

Change-Id: I2057e9ebe496e62ff68370b48cee9eeb1ae984e8
This commit is contained in:
Alex Schultz 2020-10-12 08:00:38 -06:00
parent 7512b23e09
commit ce590c4c13
2 changed files with 12 additions and 0 deletions

View File

@ -14,6 +14,12 @@ fi
if [ "$ZUUL_BRANCH" = "stable/1.0" -a "$ZUUL_PROJECT" = "openstack/openstack-virtual-baremetal" ]; then
export ZUUL_BRANCH="master"
fi
# For puppet-pacemaker "stable/1.1.x" is a centos7 support branch
if [ "$ZUUL_BRANCH" = "stable/1.1.x" -a "$ZUUL_PROJECT" = "openstack/puppet-pacemaker" ]; then
export ZUUL_BRANCH="stable/train"
export STABLE_RELEASE="train"
fi
export OVERRIDE_ZUUL_BRANCH=${OVERRIDE_ZUUL_BRANCH:-""}
export STABLE_RELEASE=${STABLE_RELEASE:-""}

View File

@ -15,6 +15,12 @@ fi
if [ "$ZUUL_BRANCH" = "stable/1.0" -a "$ZUUL_PROJECT" = "openstack/openstack-virtual-baremetal" ]; then
export ZUUL_BRANCH="master"
fi
# For puppet-pacemaker "stable/1.1.x" is a centos7 support branch
if [ "$ZUUL_BRANCH" = "stable/1.1.x" -a "$ZUUL_PROJECT" = "openstack/puppet-pacemaker" ]; then
export ZUUL_BRANCH="stable/train"
export STABLE_RELEASE="train"
fi
export OVERRIDE_ZUUL_BRANCH=${OVERRIDE_ZUUL_BRANCH:-""}
export STABLE_RELEASE=${STABLE_RELEASE:-""}