Taskotron: silence the cronjobs for imagefactory
This commit is contained in:
parent
e15a57fbc4
commit
5faef9a30c
2 changed files with 4 additions and 4 deletions
|
@ -18,10 +18,10 @@
|
|||
template: src=config.ini.j2 dest=/etc/taskotron_base_images/config.ini owner=root group=root mode=0644
|
||||
|
||||
- name: Download/update images
|
||||
command: '/var/lib/fedoraqa/base_images/get_latest_image/get_latest_image.py update --get-missing --outdir {{imagesdir}} {{imagesdir}}'
|
||||
command: '/var/lib/fedoraqa/base_images/get_latest_image/get_latest_image.py update --get-missing --outdir {{imagesdir}} {{imagesdir}} > /dev/null'
|
||||
|
||||
- name: Create cronjob to download new images
|
||||
cron:
|
||||
name: "Download new images from ImageFactory"
|
||||
special_time: hourly
|
||||
job: '/var/lib/fedoraqa/base_images/get_latest_image/get_latest_image.py update --get-missing --outdir {{imagesdir}} {{imagesdir}}'
|
||||
job: '/var/lib/fedoraqa/base_images/get_latest_image/get_latest_image.py update --get-missing --outdir {{imagesdir}} {{imagesdir}} > /dev/null'
|
||||
|
|
|
@ -28,10 +28,10 @@
|
|||
cron:
|
||||
name: "Build new taskotron_cloud images in ImageFactory"
|
||||
hour: "3"
|
||||
job: '/var/lib/fedoraqa/base_images/trigger_build/trigger_build.py build --release 23 --arch x86_64 --flavor="taskotron_cloud" --disksize="3G"'
|
||||
job: '/var/lib/fedoraqa/base_images/trigger_build/trigger_build.py build --release 23 --arch x86_64 --flavor="taskotron_cloud" --disksize="3G" > /dev/null'
|
||||
|
||||
- name: Create cronjob to prune old
|
||||
cron:
|
||||
name: "Prune old taskotron_cloud images in ImageFactory"
|
||||
hour: "5"
|
||||
job: '/var/lib/fedoraqa/base_images/trigger_build/trigger_build.py prune-old --keep 5'
|
||||
job: '/var/lib/fedoraqa/base_images/trigger_build/trigger_build.py prune-old --keep 5 > /dev/null'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue