have the docs rsync remove excluded files in case they came over. should remove garbage from proxies

This commit is contained in:
Stephen Smoogen 2020-05-29 12:16:47 -04:00
parent e2a8626eee
commit 1a69c6bd50
2 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
#!/bin/sh
/usr/bin/rsync -aSHPv --delete --exclude=.git/objects/ --exclude=ar.building/ sundries01::docs/ /srv/web/docs.fedoraproject.org/
/usr/bin/rsync -aSHPv --delete --exclude=.git/objects/ --exclude=ar.building/ sundries01::docs-redirects/ /srv/web/docs-redirects/
/usr/bin/rsync -aSHPv --delete --delete-excluded --exclude=.git/objects/ --exclude='*-building/' sundries01::docs/ /srv/web/docs.fedoraproject.org/
/usr/bin/rsync -aSHPv --delete --delete-excluded --exclude=.git/objects/ --exclude='*-building/' sundries01::docs-redirects/ /srv/web/docs-redirects/
# build the combined docs tree.
# See https://pagure.io/fedora-infrastructure/issue/7130

View file

@ -1,7 +1,7 @@
#!/bin/sh
/usr/bin/rsync -aSHPv --delete --exclude=.git/objects/ --exclude=ar.building/ sundries01::docs/ /srv/web/docs.fedoraproject.org/
/usr/bin/rsync -aSHPv --delete --exclude=.git/objects/ --exclude=ar.building/ sundries01::docs-redirects/ /srv/web/docs-redirects/
/usr/bin/rsync -aSHPv --delete --delete-excluded --exclude=.git/objects/ --exclude='*-building/' sundries01::docs/ /srv/web/docs.fedoraproject.org/
/usr/bin/rsync -aSHPv --delete --delete-excluded --exclude=.git/objects/ --exclude='*-building/' sundries01::docs-redirects/ /srv/web/docs-redirects/
# build the combined docs tree.
# See https://pagure.io/fedora-infrastructure/issue/7130