openqa/scheduler: add a cron job to schedule live-respins
There are no fedmsg notifications for the live respin composes, so we just try scheduling them every hour; when we've already tested the current compose this will not create any new jobs, and when a new compose shows up, this will test it.
This commit is contained in:
parent
97d1eb6821
commit
ea4ed40076
2 changed files with 11 additions and 0 deletions
6
roles/openqa/dispatcher/files/schedule-live-respins.cron
Normal file
6
roles/openqa/dispatcher/files/schedule-live-respins.cron
Normal file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
# schedule openQA jobs for the current 'live-respins' compose; if it's
|
||||
# already been tested, this will not create any new jobs
|
||||
|
||||
/usr/bin/fedora-openqa-schedule compose https://dl.fedoraproject.org/pub/alt/live-respins/ > /dev/null 2>&1 || /usr/bin/true
|
|
@ -124,3 +124,8 @@
|
|||
- restart fedmsg-hub
|
||||
tags:
|
||||
- config
|
||||
|
||||
- name: Set up cron job to schedule live-respins jobs
|
||||
copy: src=schedule-live-respins.cron dest=/etc/cron.hourly/schedule-live-respins owner=root group=root mode=0755
|
||||
tags:
|
||||
- config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue