Only handle depends-on projects which are defined in PROJECTS
The change is needed to support depends-on xenapi-os-testing which is not in $PROJECTS but it's handled specially as the CI entry. Change-Id: Ic0901d29e55e2d7d95a73b6ad6f7c76b7eda4324
This commit is contained in:
parent
b704473926
commit
6f2dc7e8c7
@ -214,9 +214,11 @@ if [ "${ZUUL_URL}" = "https://review.openstack.org/p" -a -n "$ZUUL_CHANGES" ]; t
|
||||
echo "Processing depends-on changes: $changes"
|
||||
for change in $changes; do
|
||||
project=$(echo $change | cut -d: -f1);
|
||||
# skip the changes belong to $ZUUL_PROJECT which
|
||||
# has been done already the primary routine.
|
||||
if [ "$project" = "$ZUUL_PROJECT" ]; then
|
||||
# Skip the changes belong to $ZUUL_PROJECT which
|
||||
# has been done already in the primary routine.
|
||||
# And also only handle projects which belong to $PROJECTS, otherwise
|
||||
# the repo won't exist under $BASE/new/: e.g. xenapi-os-testing.
|
||||
if [ "$project" = "$ZUUL_PROJECT" -o -z "$(echo $PROJECTS | grep $project)" ]; then
|
||||
echo -e "\tSkip the change: $change"
|
||||
else
|
||||
echo -e "\tFetching change: $change."
|
||||
|
Loading…
x
Reference in New Issue
Block a user