Don't restrict the source-repositories type
file type has been added (there may be more), each one causes toci to error, so removing the restriction its not needed here. Change-Id: I959580684ae163dcd7972bae4a23a74b69d4ea92
This commit is contained in:
parent
85554dc75d
commit
8f7e162e6e
|
@ -15,7 +15,7 @@ for repo in 'openstack/tripleo-incubator' 'tripleo/bm_poseur' 'openstack/diskima
|
|||
done
|
||||
|
||||
# Get a local copy of each of the git repositories referenced in
|
||||
REGEX="^([^ ]+) (git|tar) ([/~][^ ]+) ([^ ]+) ?([^ ]*)$"
|
||||
REGEX="^([^ ]+) ([^ ]+) ([/~][^ ]+) ([^ ]+) ?([^ ]*)$"
|
||||
for sr in $TOCI_WORKING_DIR/*/elements/*/source-repository* ; do
|
||||
while read line ; do
|
||||
# ignore blank lines and lines begining in '#'
|
||||
|
@ -43,7 +43,6 @@ for sr in $TOCI_WORKING_DIR/*/elements/*/source-repository* ; do
|
|||
fi
|
||||
else
|
||||
echo "Couldn't parse '$line' as a source repository"
|
||||
return 1
|
||||
fi
|
||||
done < $sr
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue