[Qa-jenkins-scm] [jenkins.debian.net] 01/04: reproducible: new job to build /specs/source_date_epoch/ from source-date-epoch-spec.git

Holger Levsen holger at moszumanska.debian.org
Tue Aug 25 10:58:05 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 97f15251c262dac6817f740f7448b6c07a948fa0
Author: Holger Levsen <holger at layer-acht.org>
Date:   Tue Aug 25 12:54:16 2015 +0200

    reproducible: new job to build /specs/source_date_epoch/ from source-date-epoch-spec.git
---
 bin/reproducible_html_specs.sh | 26 ++++++++++++++++++++++++++
 job-cfg/reproducible.yaml      | 13 ++++++++++++-
 2 files changed, 38 insertions(+), 1 deletion(-)

diff --git a/bin/reproducible_html_specs.sh b/bin/reproducible_html_specs.sh
new file mode 100755
index 0000000..0a8ff88
--- /dev/null
+++ b/bin/reproducible_html_specs.sh
@@ -0,0 +1,26 @@
+#!/bin/bash
+
+# Copyright © 2015 Mattia Rizzolo <mattia at mapreri.org>
+# Copyright © 2015 Holger Levsen <holger at mapreri.org>
+# released under the GPLv=2
+
+DEBUG=false
+. /srv/jenkins/bin/common-functions.sh
+common_init "$@"
+
+. /srv/jenkins/bin/reproducible_common.sh
+
+set -e
+
+VERSION=$(git log -1 --pretty='%h')
+SPEC=$1
+
+make html
+
+mkdir -pv "$BASE/specs/$1"
+
+mv -v html/* "$BASE/specs/$1"
+
+irc_message "$REPRODUCIBLE_URL/specs/$1 updated to $VERSION"
+
+
diff --git a/job-cfg/reproducible.yaml b/job-cfg/reproducible.yaml
index b3a2b0b..f6aa278 100644
--- a/job-cfg/reproducible.yaml
+++ b/job-cfg/reproducible.yaml
@@ -365,6 +365,10 @@
     name: '{name}_html_howto'
 
 - job-template:
+    defaults: reproducible_git
+    name: '{name}_html_spec_source_date_epoch'
+
+- job-template:
     defaults: reproducible
     name: '{name}_html_all_packages'
 
@@ -735,12 +739,19 @@
             my_recipients: 'qa-jenkins-scm at lists.alioth.debian.org'
             my_node: ''
         - '{name}_html_howto':
-            my_description: 'Generate the HTML of the reproducible builds howto, triggered by changes to the <a href="https://anonscm.debian.org/cgit/reproducible/reproducible-builds-howto.git" target="_blank">notes.git</a> repository.'
+            my_description: 'Generate the HTML of the reproducible builds howto, triggered by changes to the <a href="https://anonscm.debian.org/cgit/reproducible/reproducible-builds-howto.git" target="_blank">reproducible-builds-howto.git</a> repository.'
             my_timed: '57 0 * * *'
             my_gitrepo: 'git://git.debian.org/git/reproducible/reproducible-builds-howto.git'
             my_shell: '/srv/jenkins/bin/reproducible_html_howto.sh'
             my_recipients: 'jenkins+debian-reproducible qa-jenkins-scm at lists.alioth.debian.org'
             my_node: ''
+        - '{name}_html_spec_source_date_epoch':
+            my_description: 'Generate the HTML of the reproducible builds SOURCE_DATE_EPOCH specification, triggered by changes to the <a href="https://anonscm.debian.org/cgit/reproducible/source-date-epoch-spec.git" target="_blank">source-date-epoch-spec.git</a> repository.'
+            my_timed: '57 0 * * *'
+            my_gitrepo: 'git://git.debian.org/git/reproducible/source-date-epoch-spec.git'
+            my_shell: '/srv/jenkins/bin/reproducible_html_specs.sh source-date-epoch-spec'
+            my_recipients: 'jenkins+debian-reproducible qa-jenkins-scm at lists.alioth.debian.org'
+            my_node: ''
         - '{name}_html_all_packages':
             my_description: 'Generate HTML results (for all packages) for reproducible builds. This job is rather redudant and just run to give a fuzzy warm feeling all pages are good.'
             my_timed: '37 13 * * 1'

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