openqa/dispatcher: add cron job to schedule jobs for CoreOS

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2020-09-02 15:19:26 -07:00
parent 435938d298
commit f77767ce85
2 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,7 @@
#!/bin/sh
# schedule openQA jobs for the current Fedora CoreOS builds in the
# various streams; if the current build has already been tested,
# this will not create any new jobs
for stream in stable testing next; do /usr/local/bin/fedora-openqa fcosbuild $i > /dev/null 2>&1 || /usr/bin/true; done

View file

@ -371,6 +371,11 @@
tags:
- config
- name: Set up cron job to schedule Fedora CoreOS build jobs
copy: src=schedule-fcos-builds.cron dest=/etc/cron.hourly/schedule-fcos-builds owner=root group=root mode=0755
tags:
- config
# This is to deal with an annoying bug in fedora-messaging: sometimes
# consumers seem to get stuck allegedly running fine but not parsing
# any messages. So we'll restart all running consumers every day just