[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: try to setup pbuilder for testing on bpi0

Holger Levsen holger at moszumanska.debian.org
Mon Aug 3 18:16:47 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 66dfe8ce26bbfb6f2edc6535c9b8508a29421f9f
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Aug 3 20:15:43 2015 +0200

    reproducible: try to setup pbuilder for testing on bpi0
---
 bin/reproducible_node_wrapper.sh |  5 +----
 job-cfg/reproducible.yaml        | 47 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+), 4 deletions(-)

diff --git a/bin/reproducible_node_wrapper.sh b/bin/reproducible_node_wrapper.sh
index 5aa5ed5..609b64a 100755
--- a/bin/reproducible_node_wrapper.sh
+++ b/bin/reproducible_node_wrapper.sh
@@ -59,10 +59,7 @@ info "remote_host called with $*"
 
 allowed_cmds=()
 
-# (cd ~/jenkins-tools/ && git pull)
-
-if   [ "$*" = "tor-ci-freebsd-amd64-master" ]; then exec ~/jenkins-tools/slaves/other/tor-ci-freebsd-amd64-master/build; croak "Exec failed";
-elif [ "$*" = "tor-ci-freebsd-amd64-0.2.6" ]; then exec ~/jenkins-tools/slaves/other/tor-ci-freebsd-amd64-0.2.6/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 [ "$*" = "tor-ci-freebsd-amd64-0.2.5" ]; then exec ~/jenkins-tools/slaves/other/tor-ci-freebsd-amd64-0.2.5/build; croak "Exec failed";
 fi
 
diff --git a/job-cfg/reproducible.yaml b/job-cfg/reproducible.yaml
index 9e90596..891a519 100644
--- a/job-cfg/reproducible.yaml
+++ b/job-cfg/reproducible.yaml
@@ -33,6 +33,44 @@
           recipients: '{my_recipients}'
 
 - defaults:
+    name: reproducible_armhf
+    project-type: freestyle
+    triggers:
+      - timed: '{my_timed}'
+    properties:
+      - sidebar:
+          url: https://jenkins.debian.net/userContent/about.html
+          text: About jenkins.debian.net
+          icon: /userContent/images/debian-swirl-24x24.png
+      - sidebar:
+          url: https://jenkins.debian.net/view/reproducible
+          text: reproducible builds jobs
+          icon: /userContent/images/debian-jenkins-24x24.png
+      - sidebar:
+          url: http://www.profitbricks.co.uk
+          text: Sponsored by Profitbricks
+          icon: /userContent/images/profitbricks-24x24.png
+    description: '{my_description}<br>Job configuration source is <a href="http://anonscm.debian.org/cgit/qa/jenkins.debian.net.git/tree/job-cfg/reproducible.yaml">reproducible.yaml</a>.<br>Results are available at <a href="https://reproducible.debian.net/">https://reproducible.debian.net</a>.'
+    logrotate:
+      daysToKeep: 90
+      numToKeep: 30
+      artifactDaysToKeep: -1
+      artifactNumToKeep: -1
+    builders:
+      - shell: '{my_shell}'
+    publishers:
+      - logparser:
+          parse-rules: '/srv/jenkins/logparse/reproducible.rules'
+          unstable-on-warning: 'true'
+          fail-on-error: 'true'
+      - email:
+          recipients: '{my_recipients}'
+    parameters:
+      - label:
+          name: node
+          default: armhf
+
+- defaults:
     name: reproducible_notes
     project-type: freestyle
     triggers:
@@ -174,6 +212,10 @@
     name: '{name}_setup_pbuilder_testing'
 
 - job-template:
+    defaults: reproducible_armhf
+    name: '{name}_setup_pbuilder_testing_armhf_bpi0'
+
+- job-template:
     defaults: reproducible
     name: '{name}_setup_pbuilder_experimental'
 
@@ -302,6 +344,11 @@
             my_timed: '23 0,4,8,12,16,20 * * *'
             my_shell: '/srv/jenkins/bin/reproducible_setup_pbuilder.sh testing'
             my_recipients: 'jenkins+debian-reproducible qa-jenkins-scm at lists.alioth.debian.org'
+        - '{name}_setup_pbuilder_testing_armhf_bpi0':
+            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_node_wrapper.sh'
+            my_recipients: 'jenkins+debian-reproducible qa-jenkins-scm at lists.alioth.debian.org'
         - '{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 * * *'

-- 
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