s3-mirror: try to disable a branched sync when we are not branched

Signed-off-by: Rick Elrod <relrod@redhat.com>
This commit is contained in:
Rick Elrod 2019-11-13 19:29:59 +00:00 committed by Pierre-Yves Chibon
parent 3c03c66514
commit 7db6cfca5d

View file

@ -80,6 +80,7 @@
job='/usr/local/bin/lock-wrapper s3sync-updates-dev-cur-plus-1-x86_64 "/usr/local/bin/s3-sync-path.sh /pub/fedora/linux/development/{{ FedoraCycleNumber|int + 1 }}/Everything/x86_64/os/" 2>&1 | /usr/local/bin/nag-once s3-updates-dev-cur-plus-1-x86_64.sh 1d 2>&1'
cron_file=s3-updates-dev-cur-plus-1-x86_64.sh
when: env != 'staging' and inventory_hostname.startswith('mm-backend01.')
disabled: not FedoraBranched
tags:
- s3-mirror
@ -88,6 +89,7 @@
job='/usr/local/bin/lock-wrapper s3sync-updates-dev-cur-plus-1-aarch64 "/usr/local/bin/s3-sync-path.sh /pub/fedora/linux/development/{{ FedoraCycleNumber|int + 1 }}/Everything/aarch64/os/" 2>&1 | /usr/local/bin/nag-once s3-updates-dev-cur-plus-1-aarch64.sh 1d 2>&1'
cron_file=s3-updates-dev-cur-plus-1-aarch64.sh
when: env != 'staging' and inventory_hostname.startswith('mm-backend01.')
disabled: not FedoraBranched
tags:
- s3-mirror