Handle opendev.org sources in copy_logs.sh

[1] updated sources to use opendev.org instead of
github.com, let's handle opendev.org sources too
in copy_logs.sh. Without this services logs are not
collected.

[1] https://review.opendev.org/q/topic:fix-source-metadata

Change-Id: Ie25a35422a0ca5e00d2085bf37e521106b2c11c2
This commit is contained in:
yatinkarel 2020-12-02 18:42:46 +05:30
parent bfbf5f0d6d
commit 7be46c1a52
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ fi
for project in $PUPPET_MODULES_PATH/*; do
# find Puppet OpenStack modules
if [ -f $project/metadata.json ]; then
if egrep -q "github.com/(stackforge|openstack)/puppet" $project/metadata.json; then
if egrep -q "(github.com|opendev.org)/(stackforge|openstack)/puppet" $project/metadata.json; then
PROJECTS+="$(basename $project) "
# if we've added ironic we want to try for ironic-inspector also
if [ "$(basename $project)" == 'ironic' ] ; then