summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-08-04 15:03:38 +0200
committerHolger Levsen <holger@layer-acht.org>2015-08-04 15:03:38 +0200
commit49c0c87616540ba01af6c4c351b060d8902c501e (patch)
tree4c274db349f08f7edd39bd2a59a74c2d1e9c0039
parent22dce6eaeb9bda034a4e725b49977a65cb6f96ad (diff)
downloadjenkins.debian.net-49c0c87616540ba01af6c4c351b060d8902c501e.tar.xz
reproducible: run maintenance job on bpi0 (armhf) too
-rwxr-xr-xbin/reproducible_node_wrapper.sh4
-rw-r--r--job-cfg/reproducible.yaml11
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
@@ -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@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 * * *'