From 49c0c87616540ba01af6c4c351b060d8902c501e Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 4 Aug 2015 15:03:38 +0200 Subject: reproducible: run maintenance job on bpi0 (armhf) too --- bin/reproducible_node_wrapper.sh | 4 ++-- job-cfg/reproducible.yaml | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/bin/reproducible_node_wrapper.sh b/bin/reproducible_node_wrapper.sh index 609b64a3..6f46333c 100755 --- a/bin/reproducible_node_wrapper.sh +++ b/bin/reproducible_node_wrapper.sh @@ -59,8 +59,8 @@ info "remote_host called with $*" allowed_cmds=() -if [ "$*" = "reproducible_setup_pbuilder_testing_armhf_bpi0" ]; then exec /srv/jenkins/bin/reproducible_setup_pbuilder.sh testing; croak "Exec failed"; -elif [ "$*" = "tor-ci-freebsd-amd64-0.2.5" ]; then exec ~/jenkins-tools/slaves/other/tor-ci-freebsd-amd64-0.2.5/build; croak "Exec failed"; +if [ "$*" = "reproducible_setup_pbuilder_testing_armhf_bpi0" ]; then exec /srv/jenkins/bin/reproducible_setup_pbuilder.sh testing ; croak "Exec failed"; +elif [ "$*" = "reproducible_maintenance_armhf_bpi0" ]; then exec /srv/jenkins/bin/reproducible_maintenance.sh ; croak "Exec failed"; fi croak "Command '$*' not found in allowed commands." diff --git a/job-cfg/reproducible.yaml b/job-cfg/reproducible.yaml index 9935e32e..9ca8c09b 100644 --- a/job-cfg/reproducible.yaml +++ b/job-cfg/reproducible.yaml @@ -169,6 +169,10 @@ defaults: reproducible name: '{name}_maintenance' +- job-template: + defaults: reproducible + name: '{name}_maintenance_armhf_bpi0' + - job-template: defaults: reproducible name: '{name}_setup_pbuilder_unstable' @@ -306,6 +310,13 @@ my_shell: '/srv/jenkins/bin/reproducible_maintenance.sh' my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org' my_node: '' + - '{name}_maintenance_armhf_bpi0': + my_description: 'Do some maintenance: check for old directories laying around, do backups, etc.' + my_timed: '5 0,4,8,12,16,20 * * *' + my_shell: '/srv/jenkins/bin/reproducible_maintenance.sh' + my_shell: '/srv/jenkins/bin/reproducible_master_wrapper.sh' + my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org' + my_node: 'bpi0' - '{name}_setup_pbuilder_testing': my_description: 'Setup and update pbuilder for reproducible builds of packages from testing as described in https://wiki.debian.org/ReproducibleBuilds#Usage_example' my_timed: '23 0,4,8,12,16,20 * * *' -- cgit v1.2.3-70-g09d2