summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Riedemann <mriedem.os@gmail.com>2018-09-30 12:10:02 -0400
committerMatt Riedemann <mriedem.os@gmail.com>2018-10-05 09:55:25 -0400
commit81ed118c2a14d91d6fedb7796d4d200e260c2e7a (patch)
tree51417be4c5f0397b5c4527e3c478da16018b84fb
parent95fa4343104eafa655375cce3546d27139211d13 (diff)
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
Notes
Notes (review): Code-Review+1: Tetsuro Nakamura <nakamura.tetsuro@lab.ntt.co.jp> Code-Review+2: Jens Harbott (frickler) <j.harbott@x-ion.de> Code-Review+1: Chris Dent <cdent@anticdent.org> Code-Review+1: Sean McGinnis <sean.mcginnis@gmail.com> Code-Review+1: Balazs Gibizer <balazs.gibizer@ericsson.com> Code-Review+2: Clark Boylan <cboylan@sapwetik.org> Workflow+1: Clark Boylan <cboylan@sapwetik.org> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 17 Oct 2018 07:07:09 +0000 Reviewed-on: https://review.openstack.org/606853 Project: openstack-infra/devstack-gate Branch: refs/heads/master
-rwxr-xr-xdevstack-vm-gate-wrap.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/devstack-vm-gate-wrap.sh b/devstack-vm-gate-wrap.sh
index c34ae89..a2dce9c 100755
--- a/devstack-vm-gate-wrap.sh
+++ b/devstack-vm-gate-wrap.sh
@@ -133,6 +133,12 @@ if [[ -n "$DEVSTACK_PROJECT_FROM_GIT" ]] ; then
133 PROJECTS=$(echo $PROJECTS | sed -e 's|openstack/glean|openstack-infra/glean|g') 133 PROJECTS=$(echo $PROJECTS | sed -e 's|openstack/glean|openstack-infra/glean|g')
134fi 134fi
135 135
136# Include openstack/placement starting in Stein.
137stable_compare="stable/[a-r]"
138if [[ ! "$OVERRIDE_ZUUL_BRANCH" =~ $stable_compare ]] ; then
139 PROJECTS="openstack/placement $PROJECTS"
140fi
141
136# Remove duplicates as they result in errors when managing 142# Remove duplicates as they result in errors when managing
137# git state. 143# git state.
138PROJECTS=$(echo $PROJECTS | tr '[:space:]' '\n' | sort -u) 144PROJECTS=$(echo $PROJECTS | tr '[:space:]' '\n' | sort -u)