mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
Switch to letting rsync filter our overlaps in docs combined site.
Right now we are doing 3 rsyncs one at a time, but this prevents us from deleting content that has disappeared from one of the first ones. So, switch to doing one rsync with multiple sources and let it sort out files that are now gone to be deleted in the target. Fixes ticket 7334.
This commit is contained in:
@@ -6,6 +6,4 @@
|
||||
# build the combined docs tree.
|
||||
# See https://pagure.io/fedora-infrastructure/issue/7130
|
||||
|
||||
/usr/bin/rsync -aH /srv/web/docs-old.fedoraproject.org/public_html/ /srv/web/docs-combined/
|
||||
/usr/bin/rsync -aH /srv/web/docs-redirects/ /srv/web/docs-combined/
|
||||
/usr/bin/rsync -aH /srv/web/docs.fedoraproject.org/ /srv/web/docs-combined/
|
||||
rsync -aH --delete /srv/web/docs.fedoraproject.org/ /srv/web/docs-redirects/ /srv/web/docs-old.fedoraproject.org/public_html/ /srv/web/docs-combined/
|
||||
|
||||
Reference in New Issue
Block a user