mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-24 02:20:51 +08:00
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:
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
|
||||
|
||||
Reference in New Issue
Block a user