registry: add back sync for flatpak-indexes

We had the flatpak indexes mixed in here with the registry page made by
reg. We need to keep this so we continue to sync flatpak deltas
correctly out.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2025-01-17 09:45:26 -08:00
parent 51965498c1
commit 351066d106
2 changed files with 7 additions and 1 deletions

View file

@ -18,6 +18,12 @@
- fedora-web
- fedora-web/registry
- name: Copy in the sync-registry-index cronjob
ansible.builtin.template: src=cron-sync-registry-index dest=/etc/cron.d/sync-registry-index
tags:
- fedora-web
- fedora-web/registry
- name: Copy over the registry CA
ansible.builtin.copy: src="{{private}}/files/docker-registry/{{env}}/pki/ca.crt"
dest="/etc/pki/httpd/registry-ca-{{env}}.cert"

View file

@ -1 +1 @@
40 * * * * root /usr/bin/rsync --delete -a --no-owner --no-group sundries01::flatpak-index/fedora/ /srv/web/registry-index/index/ && /usr/bin/rsync --delete -a --no-owner --no-group sundries01::flatpak-index/icons/ /srv/web/registry-index/icons/ && /usr/bin/rsync --delete -a --no-owner --no-group sundries01::flatpak-index/deltas/ /srv/web/registry-index/deltas/ && /usr/bin/rsync -a --no-owner --no-group sundries01::registry-index/ /srv/web/registry-index/
40 * * * * root /usr/bin/rsync --delete -a --no-owner --no-group sundries01::flatpak-index/fedora/ /srv/web/registry-index/index/ && /usr/bin/rsync --delete -a --no-owner --no-group sundries01::flatpak-index/icons/ /srv/web/registry-index/icons/ && /usr/bin/rsync --delete -a --no-owner --no-group sundries01::flatpak-index/deltas/ /srv/web/registry-index/deltas/