Add cron for ELN nightly composes

Runs at 3:00 UTC, 15:00 UTC, 18:00 UTC and 21:00 UTC

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
Stephen Gallagher 2024-09-05 12:48:51 -04:00
parent 4b775d3a06
commit cc73cfe29c
2 changed files with 8 additions and 0 deletions

3
roles/releng/files/eln Normal file
View file

@ -0,0 +1,3 @@
# ELN compose
MAILTO=releng-cron@lists.fedoraproject.org
0 3,15,18,21 * * * root touch /tmp/fedora-compose-eln && TMPDIR=`mktemp -d /tmp/eln.XXXXXX` && chmod 755 $TMPDIR && cd $TMPDIR && git clone https://pagure.io/pungi-fedora.git && git checkout eln && cd pungi-fedora && /usr/local/bin/lock-wrapper eln-compose "LANG=en_US.UTF-8 ./eln-nightly.sh" && sudo -u ftpsync /usr/local/bin/update-fullfiletimelist -l /pub/fedora/update-fullfiletimelist.lock -t /pub eln && rm /tmp/fedora-compose-eln

View file

@ -223,6 +223,11 @@
copy: src="epel10" dest=/etc/cron.d/epel10
when: inventory_hostname.startswith('compose-rawhide01.iad2')
# put cron job in for ELN compose
- name: ELN compose cron
copy: src="eln" dest=/etc/cron.d/eln
when: inventory_hostname.startswith('compose-eln01.iad2')
# put cron job in for enforcing FESCo SIG Policy
# https://docs.fedoraproject.org/en-US/fesco/SIG_policy/
- name: sig_policy cron