add cronjob to run the nightly atomic/cloud updates composes

Signed-off-by: Dennis Gilmore <ausil@fedoraproject.org>
This commit is contained in:
Dennis Gilmore 2015-08-27 17:00:20 +00:00
parent 5641fe0142
commit a4b2c9e8e8
2 changed files with 8 additions and 0 deletions

View file

@ -0,0 +1,3 @@
# 2 week updates nightly compose
MAILTO=releng-cron@lists.fedoraproject.org
15 5 * * * ausil TMPDIR=`mktemp -d /tmp/twoweek.XXXXXX` && cd $TMPDIR && git clone -n https://pagure.io/releng.git && cd releng/scripts && git checkout -b stable twoweek-stable && LANG=en_US.UTF-8 ./make-updates 22 updates $(date "+\%Y\%m\%d")

View file

@ -123,6 +123,11 @@
action: copy src="rawhide" dest=/etc/cron.d/rawhide
when: inventory_hostname.startswith('rawhide-composer')
# put cron job in for two-week nightly compose
- name: twoweek compose cron
action: copy src="twoweek-updates" dest=/etc/cron.d/twoweek-updates
when: inventory_hostname.startswith('compose-x86-01')
- name: sudoers defaults
action: copy src="{{ private }}/files/sudo/releng-sudoers" dest=/etc/sudoers mode=0440
tags: