From 81ed118c2a14d91d6fedb7796d4d200e260c2e7a Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Sun, 30 Sep 2018 12:10:02 -0400 Subject: [PATCH] Include openstack/placement in PROJECTS starting in Stein The openstack/placement repo is required for devstack/grenade runs starting in Stein so this adds a conditional based on the branch to include the openstack/placement repo in the default PROJECTS list. Needed by https://review.openstack.org/604454/ Depends-On: https://review.openstack.org/608266/ Change-Id: I71cffffc88c329052c4067d6a9406f42856c69c6 --- devstack-vm-gate-wrap.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/devstack-vm-gate-wrap.sh b/devstack-vm-gate-wrap.sh index c34ae896..a2dce9c4 100755 --- a/devstack-vm-gate-wrap.sh +++ b/devstack-vm-gate-wrap.sh @@ -133,6 +133,12 @@ if [[ -n "$DEVSTACK_PROJECT_FROM_GIT" ]] ; then PROJECTS=$(echo $PROJECTS | sed -e 's|openstack/glean|openstack-infra/glean|g') fi +# Include openstack/placement starting in Stein. +stable_compare="stable/[a-r]" +if [[ ! "$OVERRIDE_ZUUL_BRANCH" =~ $stable_compare ]] ; then + PROJECTS="openstack/placement $PROJECTS" +fi + # Remove duplicates as they result in errors when managing # git state. PROJECTS=$(echo $PROJECTS | tr '[:space:]' '\n' | sort -u)