sundries / staging: adjust flatpak-indexer some more in staging
Turns out we want to keep reg and it's output. So, we just copy flatpak-indexers fedora/deltas/icons dirs under the reg renerated top level on the proxies. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
32a3c0c43f
commit
317f724a08
3 changed files with 6 additions and 4 deletions
|
@ -29,7 +29,7 @@
|
|||
- role: easyfix/gather
|
||||
when: master_sundries_node|bool
|
||||
- role: regindexer/build
|
||||
when: master_sundries_node|bool and env != "staging"
|
||||
when: master_sundries_node|bool
|
||||
- role: bz_review_report
|
||||
when: master_sundries_node|bool and env != "staging"
|
||||
- rsyncd
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
30 * * * * root /usr/bin/rsync -a --no-owner --no-group sundries01::registry-index/ /srv/web/registry-index/
|
||||
{% if env != 'staging' %}
|
||||
30 * * * * root /usr/bin/rsync -a --no-owner --no-group sundries01::registry-index/ /srv/web/registry-index/
|
||||
31 * * * * root /usr/bin/rsync --delete -a --no-owner --no-group sundries01::regindexer/index/ /srv/web/registry-index/index/
|
||||
32 * * * * root /usr/bin/rsync --delete -a --no-owner --no-group sundries01::regindexer/icons/ /srv/web/registry-index/icons/
|
||||
{% else %}
|
||||
30 * * * * root /usr/bin/rsync --delete -a --no-owner --no-group sundries01::regindexer/fedora/ /srv/web/registry-index/index/ && /usr/bin/rsync --delete -a --no-owner --no-group sundries01::regindexer/icons/ /srv/web/registry-index/icons/ && /usr/bin/rsync --delete -a --no-owner --no-group sundries01::regindexer/deltas/ /srv/web/registry-index/deltas/ && /usr/bin/rsync -a --no-owner --no-group sundries01::registry-index/ /srv/web/registry-index/
|
||||
{% endif %}
|
||||
|
|
|
@ -192,7 +192,7 @@ hosts allow = 10.5.126.0/255.255.255.0 192.168.0.0/255.255.0.0 10.5.128.0/255.25
|
|||
|
||||
[registry-index]
|
||||
comment = registry-index
|
||||
path = /srv/web/registry-index
|
||||
path = /var/lib/reg-server/static/
|
||||
uid = root
|
||||
gid = root
|
||||
read only = yes
|
||||
|
@ -200,7 +200,7 @@ hosts allow = 10.5.126.0/255.255.255.0 192.168.0.0/255.255.0.0 10.5.128.0/255.25
|
|||
|
||||
[regindexer]
|
||||
comment = regindexer
|
||||
path = /var/lib/regindexer/
|
||||
path = /srv/web/registry-index
|
||||
uid = root
|
||||
gid = root
|
||||
read only = yes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue