[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: run maintenance job on bpi0 (armhf) too

Holger Levsen holger at moszumanska.debian.org
Tue Aug 4 13:04:46 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 49c0c87616540ba01af6c4c351b060d8902c501e
Author: Holger Levsen <holger at layer-acht.org>
Date:   Tue Aug 4 15:03:38 2015 +0200

    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 609b64a..6f46333 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 9935e32..9ca8c09 100644
--- a/job-cfg/reproducible.yaml
+++ b/job-cfg/reproducible.yaml
@@ -171,6 +171,10 @@
 
 - job-template:
     defaults: reproducible
+    name: '{name}_maintenance_armhf_bpi0'
+
+- job-template:
+    defaults: reproducible
     name: '{name}_setup_pbuilder_unstable'
 
 - job-template:
@@ -306,6 +310,13 @@
             my_shell: '/srv/jenkins/bin/reproducible_maintenance.sh'
             my_recipients: 'qa-jenkins-scm at 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 at 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 * * *'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list