Taskotron: report failed imagefactory builds
This commit is contained in:
parent
d8ad7b6bb0
commit
3db72279b9
2 changed files with 18 additions and 4 deletions
|
@ -24,14 +24,18 @@
|
||||||
dest: '/var/lib/fedoraqa/base_images'
|
dest: '/var/lib/fedoraqa/base_images'
|
||||||
update: yes
|
update: yes
|
||||||
|
|
||||||
|
- name: Generate configuration
|
||||||
|
template: src=config_server.ini.j2 dest=/etc/taskotron_base_images/config_server.ini owner=root group=root mode=0644
|
||||||
|
|
||||||
- name: Create cronjob to build new images
|
- name: Create cronjob to build new images
|
||||||
cron:
|
cron:
|
||||||
name: "Build new taskotron_cloud images in ImageFactory"
|
name: "Build new taskotron_cloud images in ImageFactory"
|
||||||
special_time: daily
|
special_time: daily
|
||||||
job: '/var/lib/fedoraqa/base_images/trigger_build/trigger_build.py build --release 23 --arch x86_64 --flavor="taskotron_cloud" --disksize="3G" > /dev/null'
|
job: '/var/lib/fedoraqa/base_images/trigger_build/trigger_build.py build --config /etc/taskotron_base_images/config_server.ini --release 23 --arch x86_64 --flavor="taskotron_cloud" --disksize="3G" > /dev/null'
|
||||||
|
|
||||||
- name: Create cronjob to prune old
|
- name: Create cronjob to report failed builds
|
||||||
cron:
|
cron:
|
||||||
name: "Prune old taskotron_cloud images in ImageFactory"
|
name: "Report failed build in ImageFactory"
|
||||||
special_time: daily
|
special_time: daily
|
||||||
job: '/var/lib/fedoraqa/base_images/trigger_build/trigger_build.py prune-old --keep 5 > /dev/null'
|
job: '/var/lib/fedoraqa/base_images/report_failures/report_failures.py email --config /etc/taskotron_base_images/config_server.ini > /dev/null'
|
||||||
|
|
||||||
|
|
10
roles/taskotron/imagefactory/templates/config_server.ini.j2
Normal file
10
roles/taskotron/imagefactory/templates/config_server.ini.j2
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
[default]
|
||||||
|
imgfac_base_url=http://127.0.0.1:8075/imagefactory
|
||||||
|
repourl_base=http://dl.fedoraproject.org/pub/fedora/linux/
|
||||||
|
rawhide=24
|
||||||
|
|
||||||
|
mail_from={{deployment_type}}.imagefactory@qa.fedoraproject.org
|
||||||
|
mail_to=jskladan@redhat.com tflink@redhat.com
|
||||||
|
mail_subject=Images that failed to build for Taskotron in ImageFactory on {{deployment_type}}
|
||||||
|
smtp_server=bastion.phx2.fedoraproject.org
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue