Add common exclusion for Zanata openstack-manuals
*/source/common in the openstack-manuals repository is a symbolic link to common-rst, which results in pushing the files twice, and may result in confusion. Add that path to the excludes for openstack-manuals only. Change-Id: I6067d94d71d3d025fc81cf331c84d5b214752218
This commit is contained in:
parent
38c617f37e
commit
f55193d3b9
@ -194,8 +194,12 @@ function setup_manuals {
|
||||
done
|
||||
# While we spin up, we want to not error out if we can't generate the
|
||||
# zanata.xml file.
|
||||
EXCLUDE='.*/**'
|
||||
if [ "$project" = "openstack-manuals" ]; then
|
||||
EXCLUDE='.*/**,*/source/common/*'
|
||||
fi
|
||||
if ! /usr/local/jenkins/slave_scripts/create-zanata-xml.py -p $project \
|
||||
-v master --srcdir . --txdir . $ZANATA_RULES -e '.*/**' \
|
||||
-v master --srcdir . --txdir . $ZANATA_RULES -e $EXCLUDE \
|
||||
-f zanata.xml; then
|
||||
echo "Failed to generate zanata.xml"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user