From 9991d3e3008de29cdd2657359fcc50ba70c4e48a Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 15 May 2013 14:39:34 +0200 Subject: chroot-housekeeping: split into distro specific ones and only run squeeze once a month and wheezy twice a month --- README | 7 +++-- job-cfg/chroot-installation.yaml | 61 ++++++++++++++++++++++++++++++++++++---- 2 files changed, 59 insertions(+), 9 deletions(-) diff --git a/README b/README index 709deaec..4f816f49 100644 --- a/README +++ b/README @@ -83,10 +83,11 @@ Installation tests with g-i, the graphical version of d-i, the debian-installer. Installation tests inside chroot environments. -* 'chroot-installation_housekeeping': +* 'chroot-installation_housekeeping_$distro': ** make sure chroots have been cleaned up properly -** runs at 05:00 UTC and triggers the bootstrap jobs on success - +** runs daily at 05:00 UTC and triggers the $distro specific bootstrap job on success +** wheezy is only triggered on the 4th day and 18th of each month (as it was released on the 4th) +** squeeze only on the 25th of each month * $distro-bootstrap jobs: ** just `debootstrap $distro` (install a base Debian distribution $distro) ** there is one job for *sid*, one for *wheezy* and one for *jessie*: 'chroot-installation_sid_bootstrap', 'chroot-installation_wheezy_bootstrap' and 'chroot-installation_jessie_bootstrap' diff --git a/job-cfg/chroot-installation.yaml b/job-cfg/chroot-installation.yaml index af826aae..b5624167 100644 --- a/job-cfg/chroot-installation.yaml +++ b/job-cfg/chroot-installation.yaml @@ -63,12 +63,16 @@ text: Sponsored by Profitbricks icon: /userContent/images/profitbricks-24x24.png -- job-template: - defaults: chroot-installation - name: '{name}_housekeeping' +- defaults: + name: chroot-housekeeping description: '{my_description}{do_not_edit}' + logrotate: + daysToKeep: 90 + numToKeep: 50 + artifactDaysToKeep: -1 + artifactNumToKeep: -1 triggers: - - timed: "0 5 * * *" + - timed: '{my_time}' builders: - shell: '/srv/jenkins/bin/housekeeping.sh {name}' publishers: @@ -81,6 +85,35 @@ threshold: 'UNSTABLE' - email: recipients: jenkins+debian-qa holger@layer-acht.org + properties: + - sidebar: + url: http://jenkins.debian.net/userContent/about.html + text: About jenkins.debian.net + icon: /userContent/images/debian-swirl-24x24.png + - sidebar: + url: http://jenkins.debian.net/view/chroot-installation/ + text: All chroot-installation jobs + icon: /userContent/images/debian-jenkins-24x24.png + - sidebar: + url: http://www.profitbricks.com + text: Sponsored by Profitbricks + icon: /userContent/images/profitbricks-24x24.png + +- job-template: + defaults: chroot-housekeeping + name: '{name}_housekeeping_sid' + +- job-template: + defaults: chroot-housekeeping + name: '{name}_housekeeping_squeeze' + +- job-template: + defaults: chroot-housekeeping + name: '{name}_housekeeping_wheezy' + +- job-template: + defaults: chroot-housekeeping + name: '{name}_housekeeping_jessie' - job-template: defaults: chroot-installation @@ -346,7 +379,23 @@ my_description: 'Debootstrap jessie.' my_trigger: 'chroot-installation_jessie_install_gnome, chroot-installation_jessie_install_kde, chroot-installation_jessie_install_kde-full, chroot-installation_jessie_install_lxde, chroot-installation_jessie_install_xfce, chroot-installation_jessie_install_full_desktop, chroot-installation_jessie_install_developer' - - '{name}_housekeeping': + - '{name}_housekeeping_squeeze': + my_description: 'Cleanup and monitor so that there is a predictable environment.' + my_trigger: 'chroot-installation_squeeze_bootstrap' + my_time: '0 5 25 * *' + + - '{name}_housekeeping_wheezy': + my_description: 'Cleanup and monitor so that there is a predictable environment.' + my_trigger: 'chroot-installation_wheezy_bootstrap' + my_time: '0 5 4,18 * *' + + - '{name}_housekeeping_jessie': + my_description: 'Cleanup and monitor so that there is a predictable environment.' + my_trigger: 'chroot-installation_jessie_bootstrap' + my_time: '0 10 * * *' + + - '{name}_housekeeping_sid': my_description: 'Cleanup and monitor so that there is a predictable environment.' - my_trigger: 'chroot-installation_sid_bootstrap, chroot-installation_wheezy_bootstrap, chroot-installation_jessie_bootstrap, chroot-installation_squeeze_bootstrap_upgrade_to_wheezy' + my_trigger: 'chroot-installation_sid_bootstrap' + my_time: '0 5 * * *' -- cgit v1.2.3-70-g09d2