summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-08-04 16:06:17 +0200
committerHolger Levsen <holger@layer-acht.org>2015-08-04 16:06:17 +0200
commit4a002fdcd40b1a27749f6be445d888c3302de89f (patch)
treee5e1d227b3c97ffcc02d09ba3ef62b624f3b8b6b
parent87560f33172d3fc28029f553aa9604618cc0da5b (diff)
downloadjenkins.debian.net-4a002fdcd40b1a27749f6be445d888c3302de89f.tar.xz
reproducible armhf: add setup_pbuilder_testing, setup_schroot_testing_debbindiff and maintenance jobs for hb0 and wbq0
-rw-r--r--TODO3
-rwxr-xr-xbin/reproducible_node_wrapper.sh12
-rw-r--r--job-cfg/reproducible.yaml62
3 files changed, 75 insertions, 2 deletions
diff --git a/TODO b/TODO
index 2723b314..0fd1b43d 100644
--- a/TODO
+++ b/TODO
@@ -307,13 +307,12 @@ properties:
==== reproducible Debian armhf
* next: fix dpkg '1.18.1.0~reproducible5' to not ftbfs
-* next: run pbuilder create jobs via remote job scheduling
* then: armhf scheduling (only for testing for now, introduce "arch-factor", eg. amd64=10 and armhf=3, to schedule less on some archs)
* then: armhf building - run the job on jenkins.d.n and build1 on one host and build2 on another and then run debbindiff on jenkins.d.n…
-* then: run maintenance job via remote job scheduling
* monitor their temperatures via munin via ssh:
** http://munin-monitoring.org/wiki/Native_ssh
** http://guide.munin-monitoring.org/en/latest/example/transport/ssh.html
+* make systems send mail
=== qa.debian.org*
diff --git a/bin/reproducible_node_wrapper.sh b/bin/reproducible_node_wrapper.sh
index f111a49a..e64fa326 100755
--- a/bin/reproducible_node_wrapper.sh
+++ b/bin/reproducible_node_wrapper.sh
@@ -71,6 +71,18 @@ elif [ "$*" = "reproducible_maintenance_armhf_cbxi4pro0" ] ; then
exec /srv/jenkins/bin/reproducible_maintenance.sh ; croak "Exec failed";
elif [ "$*" = "reproducible_setup_schroot_testing_debbindiff_armhf_cbxi4pro0" ] ; then
exec /srv/jenkins/bin/schroot-create.sh reproducible reproducible-testing-debbindiff testing debbindiff locales-all ; croak "Exec failed";
+elif [ "$*" = "reproducible_setup_pbuilder_testing_armhf_hb0" ] ; then
+ exec /srv/jenkins/bin/reproducible_setup_pbuilder.sh testing ; croak "Exec failed";
+elif [ "$*" = "reproducible_maintenance_armhf_hb0" ] ; then
+ exec /srv/jenkins/bin/reproducible_maintenance.sh ; croak "Exec failed";
+elif [ "$*" = "reproducible_setup_schroot_testing_debbindiff_armhf_hb0" ] ; then
+ exec /srv/jenkins/bin/schroot-create.sh reproducible reproducible-testing-debbindiff testing debbindiff locales-all ; croak "Exec failed";
+elif [ "$*" = "reproducible_setup_pbuilder_testing_armhf_wbq0" ] ; then
+ exec /srv/jenkins/bin/reproducible_setup_pbuilder.sh testing ; croak "Exec failed";
+elif [ "$*" = "reproducible_maintenance_armhf_wbq0" ] ; then
+ exec /srv/jenkins/bin/reproducible_maintenance.sh ; croak "Exec failed";
+elif [ "$*" = "reproducible_setup_schroot_testing_debbindiff_armhf_wbq0" ] ; then
+ exec /srv/jenkins/bin/schroot-create.sh reproducible reproducible-testing-debbindiff testing debbindiff locales-all ; croak "Exec failed";
fi
croak "Command '$*' not found in allowed commands."
diff --git a/job-cfg/reproducible.yaml b/job-cfg/reproducible.yaml
index b3d8d28d..006e482d 100644
--- a/job-cfg/reproducible.yaml
+++ b/job-cfg/reproducible.yaml
@@ -179,6 +179,14 @@
- job-template:
defaults: reproducible
+ name: '{name}_maintenance_armhf_hb0'
+
+- job-template:
+ defaults: reproducible
+ name: '{name}_maintenance_armhf_wbq0'
+
+- job-template:
+ defaults: reproducible
name: '{name}_setup_pbuilder_unstable'
- job-template:
@@ -195,6 +203,14 @@
- job-template:
defaults: reproducible
+ name: '{name}_setup_pbuilder_testing_armhf_hb0'
+
+- job-template:
+ defaults: reproducible
+ name: '{name}_setup_pbuilder_testing_armhf_wbq0'
+
+- job-template:
+ defaults: reproducible
name: '{name}_setup_pbuilder_experimental'
- job-template:
@@ -215,6 +231,14 @@
- job-template:
defaults: reproducible
+ name: '{name}_setup_schroot_testing_debbindiff_armhf_hb0'
+
+- job-template:
+ defaults: reproducible
+ name: '{name}_setup_schroot_testing_debbindiff_armhf_wbq0'
+
+- job-template:
+ defaults: reproducible
name: '{name}_setup_schroot_unstable'
- job-template:
@@ -340,6 +364,20 @@
my_shell: '/srv/jenkins/bin/reproducible_master_wrapper.sh'
my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org'
my_node: 'cbxi4pro0'
+ - '{name}_maintenance_armhf_hb0':
+ 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: 'hb0'
+ - '{name}_maintenance_armhf_wbq0':
+ 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: 'wbq0'
- '{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 * * *'
@@ -358,6 +396,18 @@
my_shell: '/srv/jenkins/bin/reproducible_master_wrapper.sh'
my_recipients: 'jenkins+debian-reproducible qa-jenkins-scm@lists.alioth.debian.org'
my_node: 'cbxi4pro0'
+ - '{name}_setup_pbuilder_testing_armhf_hb0':
+ 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 * * *'
+ my_shell: '/srv/jenkins/bin/reproducible_master_wrapper.sh'
+ my_recipients: 'jenkins+debian-reproducible qa-jenkins-scm@lists.alioth.debian.org'
+ my_node: 'hb0'
+ - '{name}_setup_pbuilder_testing_armhf_wbq0':
+ 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 * * *'
+ my_shell: '/srv/jenkins/bin/reproducible_master_wrapper.sh'
+ my_recipients: 'jenkins+debian-reproducible qa-jenkins-scm@lists.alioth.debian.org'
+ my_node: 'wbq0'
- '{name}_setup_pbuilder_unstable':
my_description: 'Setup and update pbuilder for reproducible builds of packages from unstable as described in https://wiki.debian.org/ReproducibleBuilds#Usage_example'
my_timed: '23 0,4,8,12,16,20 * * *'
@@ -394,6 +444,18 @@
my_shell: '/srv/jenkins/bin/reproducible_master_wrapper.sh'
my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org'
my_node: 'cbxi4pro0'
+ - '{name}_setup_schroot_testing_debbindiff_armhf_hb0':
+ my_description: 'Setup schroot for running debbindiff in a testing environment (this is needed to be able to correctly investigate haskell binaries...)'
+ my_timed: '23 0 * * *'
+ my_shell: '/srv/jenkins/bin/reproducible_master_wrapper.sh'
+ my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org'
+ my_node: 'hb0'
+ - '{name}_setup_schroot_testing_debbindiff_armhf_wbq0':
+ my_description: 'Setup schroot for running debbindiff in a testing environment (this is needed to be able to correctly investigate haskell binaries...)'
+ my_timed: '23 0 * * *'
+ my_shell: '/srv/jenkins/bin/reproducible_master_wrapper.sh'
+ my_recipients: 'qa-jenkins-scm@lists.alioth.debian.org'
+ my_node: 'wbq0'
- '{name}_setup_schroot_unstable':
my_description: 'Setup unstable schroot for fetching source packages for the builder jobs.'
my_timed: '23 1 * * *'