Browse Source

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
master
Matt Riedemann 7 months ago
parent
commit
81ed118c2a
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      devstack-vm-gate-wrap.sh

+ 6
- 0
devstack-vm-gate-wrap.sh View File

@@ -133,6 +133,12 @@ if [[ -n "$DEVSTACK_PROJECT_FROM_GIT" ]] ; then
133 133
     PROJECTS=$(echo $PROJECTS | sed -e 's|openstack/glean|openstack-infra/glean|g')
134 134
 fi
135 135
 
136
+# Include openstack/placement starting in Stein.
137
+stable_compare="stable/[a-r]"
138
+if [[ ! "$OVERRIDE_ZUUL_BRANCH" =~ $stable_compare ]] ; then
139
+    PROJECTS="openstack/placement $PROJECTS"
140
+fi
141
+
136 142
 # Remove duplicates as they result in errors when managing
137 143
 # git state.
138 144
 PROJECTS=$(echo $PROJECTS | tr '[:space:]' '\n' | sort -u)

Loading…
Cancel
Save