summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-09-23 17:27:17 +0200
committerHolger Levsen <holger@layer-acht.org>2014-09-23 17:27:17 +0200
commit13fae065bd2d6fd32b9fe9fc6f3aeaa7aebc8197 (patch)
tree5546e1d90f57bb7204dd1d596a3d416a61b36c37
parentc418dc0ece6e1ececde993963fab793487441088 (diff)
downloadjenkins.debian.net-13fae065bd2d6fd32b9fe9fc6f3aeaa7aebc8197.tar.xz
start with sid-reproducible jobs. totally WIP atm
-rw-r--r--job-cfg/schroot.yaml16
-rw-r--r--job-cfg/sid-reproducible.yaml44
2 files changed, 60 insertions, 0 deletions
diff --git a/job-cfg/schroot.yaml b/job-cfg/schroot.yaml
index a2c0d7a2..649668fd 100644
--- a/job-cfg/schroot.yaml
+++ b/job-cfg/schroot.yaml
@@ -76,6 +76,14 @@
defaults: schroot-upgrade
name: '{name}-haskell-upgrade'
+- job-template:
+ defaults: schroot-create
+ name: '{name}-reproducible-sid-create'
+
+- job-template:
+ defaults: schroot-upgrade
+ name: '{name}-reproducible-sid-upgrade'
+
- project:
name: schroot
do_not_edit: '<br><br>Job configuration source is <a href="http://anonscm.debian.org/cgit/qa/jenkins.debian.net.git/job-cfg/schroot.yaml">schroot.yaml</a>.'
@@ -96,4 +104,12 @@
- '{name}-haskell-upgrade':
my_schroot: haskell
my_time: '0 16 * * *'
+ - '{name}-reproducible-sid-create':
+ my_schroot: reproducible-sid
+ my_distro: sid
+ my_extra_pkgs: 'build-essential dpkg-dev debhelper dh-python proot'
+ my_time: '0 14 * * 1'
+ - '{name}-reproducible-sid-upgrade':
+ my_schroot: reproducible-sid
+ my_time: '0 17 * * *'
diff --git a/job-cfg/sid-reproducible.yaml b/job-cfg/sid-reproducible.yaml
new file mode 100644
index 00000000..232979b3
--- /dev/null
+++ b/job-cfg/sid-reproducible.yaml
@@ -0,0 +1,44 @@
+- defaults:
+ name: sid-reproducible
+ project-type: freestyle
+ 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/dvswitch/
+ text: dvswitch test jobs
+ icon: /userContent/images/debian-jenkins-24x24.png
+ - sidebar:
+ url: http://www.profitbricks.com
+ text: Sponsored by Profitbricks
+ icon: /userContent/images/profitbricks-24x24.png
+ description: '{my_description}<br><br>Job configuration source is <a href="http://anonscm.debian.org/cgit/qa/jenkins.debian.net.git/job-cfg/sid-reprodible.yaml">sid-reprodible.yaml</a>.'
+ logrotate:
+ daysToKeep: 180
+ numToKeep: 100
+ artifactDaysToKeep: -1
+ artifactNumToKeep: -1
+ builders:
+ - shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}'
+
+- job-template:
+ defaults: sid-reprodible
+ name: '{name}_core'
+ triggers:
+ - pollscm: '*/6 * * * *'
+ publishers:
+ - email:
+ recipients: 'jenkins+sid-reprodible holger@layer-acht.org wouter@debian.org'
+ - trigger:
+ project: '{my_trigger}'
+
+- project:
+ name: sid-reprodible
+ jobs:
+ - '{name}_core':
+ my_distro: 'sid-reproducible'
+ my_shell: "echo 'deb http://reproducible.alioth.debian.org/debian/ ./' > /etc/apt/sources.list.d/reproducible.list ; apt-get update ; apt-get install dpkg dpkg-dev debhelper dh-python proot"
+ my_description: 'Start with reproducible builds...'
+