From 13fae065bd2d6fd32b9fe9fc6f3aeaa7aebc8197 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 23 Sep 2014 17:27:17 +0200 Subject: start with sid-reproducible jobs. totally WIP atm --- job-cfg/schroot.yaml | 16 ++++++++++++++++ job-cfg/sid-reproducible.yaml | 44 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 job-cfg/sid-reproducible.yaml (limited to 'job-cfg') 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: '

Job configuration source is schroot.yaml.' @@ -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}

Job configuration source is sid-reprodible.yaml.' + 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...' + -- cgit v1.2.3-70-g09d2