diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-09-23 18:09:38 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-09-23 18:09:38 +0200 |
commit | 0891306bd36d87fb718cc46ab2eced2d800b8712 (patch) | |
tree | 28bbb33385e809f93c2a51659d6e6e5675df9838 /job-cfg | |
parent | c79273fb2fa4fe762013685c3efd7a86e2710ef5 (diff) | |
download | jenkins.debian.net-0891306bd36d87fb718cc46ab2eced2d800b8712.tar.xz |
2nd attempt at building reproducible packages
Diffstat (limited to 'job-cfg')
-rw-r--r-- | job-cfg/reproducible.yaml | 25 | ||||
-rw-r--r-- | job-cfg/schroot.yaml | 16 |
2 files changed, 15 insertions, 26 deletions
diff --git a/job-cfg/reproducible.yaml b/job-cfg/reproducible.yaml index eb925b7c..fa2158f4 100644 --- a/job-cfg/reproducible.yaml +++ b/job-cfg/reproducible.yaml @@ -21,25 +21,30 @@ artifactDaysToKeep: -1 artifactNumToKeep: -1 builders: - - shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}' + - shell: '{my_shell}' - job-template: defaults: reproducible - name: '{name}_sid_core' - triggers: - - pollscm: '*/6 * * * *' + name: '{name}_pbuilder_setup' publishers: - email: recipients: 'jenkins+sid-reproducible holger@layer-acht.org lunar@debian.org' - - trigger: - timed: "0 42 23 * *" +- job-template: + defaults: reproducible + name: '{name}_pbuild_one' + publishers: + - email: + recipients: 'jenkins+sid-reproducible holger@layer-acht.org' # FIXME add lunar here again - project: name: reproducible jobs: - - '{name}_sid_core': - my_distro: 'sid' - 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...' + - '{name}_pbuilder_setup': + my_description: 'Setup pbuilder for reproducible builds as described in https://wiki.debian.org/ReproducibleBuilds#Usage_example' + my_shell: '/srv/jenkins/bin/reproducible_pbuilder_setup.sh' + jobs: + - '{name}_pbuild_one': + my_description: 'Build one package with pbuilder so far....' + my_shell: '/srv/jenkins/bin/reproducible_pbuild_run.sh acl' diff --git a/job-cfg/schroot.yaml b/job-cfg/schroot.yaml index 649668fd..a2c0d7a2 100644 --- a/job-cfg/schroot.yaml +++ b/job-cfg/schroot.yaml @@ -76,14 +76,6 @@ 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>.' @@ -104,12 +96,4 @@ - '{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 * * *' |