Commit 300e8fe4 authored by Holger Levsen's avatar Holger Levsen
Browse files

reproducible OpenWrt: pass 1 of drop all OpenWrt stuff, then rename all LEDE stuff to Openwrt



Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent 25a12992
...@@ -199,7 +199,7 @@ usage: reproducible_setup_notify.py [-h] [-o] [-p PACKAGES [PACKAGES ...]] ...@@ -199,7 +199,7 @@ usage: reproducible_setup_notify.py [-h] [-o] [-p PACKAGES [PACKAGES ...]]
* Job configuration is at the usual location for 'jenkins.debian.net': there's a 'job-cfg/reproducible.yaml' defining all the jobs and lots of scripts in 'bin/reproducible_*.(sh|py)', plus a few config files like for 'sudo' or 'apache2'. * Job configuration is at the usual location for 'jenkins.debian.net': there's a 'job-cfg/reproducible.yaml' defining all the jobs and lots of scripts in 'bin/reproducible_*.(sh|py)', plus a few config files like for 'sudo' or 'apache2'.
* Finally, there are also jobs testing the link:http://www.coreboot.org/[coreboot], link:https://lede-project.org/[LEDE], link:https://openwrt.org/[OpenWrt], link:http://www.netbsd.org/[NetBSD] and https://www.freebsd.org/[FreeBSD] projects. The results of the tests can be seen respectively at https://tests.reproducible-builds.org/coreboot/, https://tests.reproducible-builds.org/openwrt/, https://tests.reproducible-builds.org/netbsd/ and https://tests.reproducible-builds.org/freebsd/. * Finally, there are also jobs testing the link:http://www.coreboot.org/[coreboot], link:https://openwrt.org/[OpenWrt], link:http://www.netbsd.org/[NetBSD] and https://www.freebsd.org/[FreeBSD] projects. The results of the tests can be seen respectively at https://tests.reproducible-builds.org/coreboot/, https://tests.reproducible-builds.org/openwrt/, https://tests.reproducible-builds.org/netbsd/ and https://tests.reproducible-builds.org/freebsd/.
=== torbrowser-launcher jobs === torbrowser-launcher jobs
......
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
** 15 cores and 48 GB memory for profitbricks-build1-amd64.debian.net used for building amd64 Debian packages for tests.reproducible-builds.org (t.r-b.o) ** 15 cores and 48 GB memory for profitbricks-build1-amd64.debian.net used for building amd64 Debian packages for tests.reproducible-builds.org (t.r-b.o)
** 10 cores and 36 GB memory for profitbricks-build2-i386.debian.net used for building i386 ** 10 cores and 36 GB memory for profitbricks-build2-i386.debian.net used for building i386
Debian packages for t.r-b.o Debian packages for t.r-b.o
** 12 cores and 24 GB memory for profitbricks-build3-amd64.debian.net used for building OpenWrt, LEDE, coreboot, Fedora, Archlinux and NetBSD for t.r-b.o ** 12 cores and 24 GB memory for profitbricks-build3-amd64.debian.net used for building OpenWrt, coreboot, Fedora, Archlinux and NetBSD for t.r-b.o
** 11 cores and 24 GB memory for profitbricks-build4-amd64.debian.net used for building OpenWrt, LEDE, coreboot, Fedora, Archlinux and NetBSD for t.r-b.o, running in the future ** 11 cores and 24 GB memory for profitbricks-build4-amd64.debian.net used for building OpenWrt, coreboot, Fedora, Archlinux and NetBSD for t.r-b.o, running in the future
** 16 cores and 48 GB memory for profitbricks-build5-amd64.debian.net used for building amd64 Debian packages for t.r-b.o, running in the future ** 16 cores and 48 GB memory for profitbricks-build5-amd64.debian.net used for building amd64 Debian packages for t.r-b.o, running in the future
** 9 cores and 36 GB memory for profitbricks-build6-i386.debian.net used for building i386 Debian packages for t.r-b.o, running in the future ** 9 cores and 36 GB memory for profitbricks-build6-i386.debian.net used for building i386 Debian packages for t.r-b.o, running in the future
** 15 cores and 48 GB memory for profitbricks-build11-amd64.debian.net used for building amd64 Debian packages for tests.reproducible-builds.org (t.r-b.o) ** 15 cores and 48 GB memory for profitbricks-build11-amd64.debian.net used for building amd64 Debian packages for tests.reproducible-builds.org (t.r-b.o)
......
...@@ -216,23 +216,19 @@ See link:https://jenkins.debian.net/userContent/about.html["about jenkins.debian ...@@ -216,23 +216,19 @@ See link:https://jenkins.debian.net/userContent/about.html["about jenkins.debian
* explain status in plain english * explain status in plain english
* use disorderfs for 2nd build * use disorderfs for 2nd build
==== reproducible LEDE
==== reproducible OpenWrt
* add credit for logo/artwork
* explain status in plain english
* build path variation * build path variation
* use disorderfs for 2nd build * use disorderfs for 2nd build
* incorporate popular third-party ("external feeds") packages?
* html: build variations are wrong * html: build variations are wrong
* html: git commit output includes garbage * html: git commit output includes garbage
* html: css: add some space on the left side * html: css: add some space on the left side
* html: css: make it more look like https://lede-project.org/ * html: css: make it more look like https://lede-project.org/
==== reproducible OpenWrt
* add credit for logo/artwork
* build path variation
* incorporate popular third-party ("external feeds") packages?
* explain status in plain english
* use disorderfs for 2nd build
==== reproducible NetBSD ==== reproducible NetBSD
* explain status in plain english * explain status in plain english
......
...@@ -125,8 +125,6 @@ elif [[ "$*" =~ ^reproducible_coreboot ]] ; then ...@@ -125,8 +125,6 @@ elif [[ "$*" =~ ^reproducible_coreboot ]] ; then
exec /srv/jenkins/bin/reproducible_coreboot.sh ; croak "Exec failed"; exec /srv/jenkins/bin/reproducible_coreboot.sh ; croak "Exec failed";
elif [[ "$*" =~ ^reproducible_openwrt ]] ; then elif [[ "$*" =~ ^reproducible_openwrt ]] ; then
shift ; exec /srv/jenkins/bin/reproducible_openwrt.sh $@ ; croak "Exec failed"; shift ; exec /srv/jenkins/bin/reproducible_openwrt.sh $@ ; croak "Exec failed";
elif [[ "$*" =~ ^reproducible_lede ]] ; then
shift ; exec /srv/jenkins/bin/reproducible_lede.sh $@ ; croak "Exec failed";
elif [[ "$*" =~ ^reproducible_netbsd ]] ; then elif [[ "$*" =~ ^reproducible_netbsd ]] ; then
exec /srv/jenkins/bin/reproducible_netbsd.sh ; croak "Exec failed"; exec /srv/jenkins/bin/reproducible_netbsd.sh ; croak "Exec failed";
elif [[ "$*" =~ ^reproducible_freebsd ]] ; then elif [[ "$*" =~ ^reproducible_freebsd ]] ; then
......
...@@ -319,8 +319,7 @@ write_page_header() { ...@@ -319,8 +319,7 @@ write_page_header() {
write_page " <li><a href=\"/openwrt/\">OpenWrt</a></li>, " write_page " <li><a href=\"/openwrt/\">OpenWrt</a></li>, "
write_page " <li><a href=\"/netbsd/\">NetBSD</a></li>, " write_page " <li><a href=\"/netbsd/\">NetBSD</a></li>, "
write_page " <li><a href=\"/freebsd/\">FreeBSD</a></li>, " write_page " <li><a href=\"/freebsd/\">FreeBSD</a></li>, "
write_page " <li><a href=\"/archlinux/\">Arch Linux</a></li> " write_page " and <li><a href=\"/archlinux/\">Arch Linux</a></li> "
write_page " and <li><a href=\"/lede/\">LEDE</a></li>, "
write_page " though not as thoroughly as Debian (yet?) - and testing of " write_page " though not as thoroughly as Debian (yet?) - and testing of "
write_page " <li><a href=\"/rpms/fedora-23.html\">Fedora</a></li> " write_page " <li><a href=\"/rpms/fedora-23.html\">Fedora</a></li> "
write_page " has just begun, and there are plans to test " write_page " has just begun, and there are plans to test "
......
...@@ -223,7 +223,7 @@ build_job_health_page() { ...@@ -223,7 +223,7 @@ build_job_health_page() {
FILTER[4]="(json|le_scheduler|meta|le_nodes|rsync|notes)" FILTER[4]="(json|le_scheduler|meta|le_nodes|rsync|notes)"
FILTER[5]="archlinux" FILTER[5]="archlinux"
FILTER[6]="coreboot" FILTER[6]="coreboot"
FILTER[7]="(openwrt|lede)" FILTER[7]="(openwrt)"
FILTER[8]="(le_netbsd|le_freebsd)" FILTER[8]="(le_netbsd|le_freebsd)"
FILTER[9]="fdroid" FILTER[9]="fdroid"
FILTER[10]="fedora" FILTER[10]="fedora"
......
#!/bin/bash #!/bin/bash
# Copyright 2014-2017 Holger Levsen <holger@layer-acht.org> # Copyright 2014-2018 Holger Levsen <holger@layer-acht.org>
# © 2015 Reiner Herrmann <reiner@reiner-h.de> # © 2015 Reiner Herrmann <reiner@reiner-h.de>
# 2016-2018 Alexander Couzens <lynxis@fe80.eu> # 2016-2018 Alexander Couzens <lynxis@fe80.eu>
# released under the GPLv=2 # released under the GPLv=2
......
#!/bin/bash #!/bin/bash
# Copyright 2014-2017 Holger Levsen <holger@layer-acht.org> # Copyright 2014-2018 Holger Levsen <holger@layer-acht.org>
# © 2015 Reiner Herrmann <reiner@reiner-h.de> # © 2015 Reiner Herrmann <reiner@reiner-h.de>
# 2016-2017 Alexander Couzens <lynxis@fe80.eu> # 2016-2017 Alexander Couzens <lynxis@fe80.eu>
# released under the GPLv=2 # released under the GPLv=2
...@@ -219,7 +219,7 @@ openwrt_apply_variations() { ...@@ -219,7 +219,7 @@ openwrt_apply_variations() {
export LC_ALL="fr_CH.UTF-8" export LC_ALL="fr_CH.UTF-8"
export PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" export PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path"
export CAPTURE_ENVIRONMENT="I capture the environment" export CAPTURE_ENVIRONMENT="I capture the environment"
# needs to fix openwrt/lede ;) # needs to fix openwrt ;)
# umask 0002 # umask 0002
# use allmost all cores for second build # use allmost all cores for second build
...@@ -238,7 +238,7 @@ openwrt_config() { ...@@ -238,7 +238,7 @@ openwrt_config() {
printf "CONFIG_BUILDBOT=y\n" >> .config printf "CONFIG_BUILDBOT=y\n" >> .config
printf "CONFIG_CLEAN_IPKG=y\n" >> .config printf "CONFIG_CLEAN_IPKG=y\n" >> .config
printf "CONFIG_TARGET_ROOTFS_TARGZ=y\n" >> .config printf "CONFIG_TARGET_ROOTFS_TARGZ=y\n" >> .config
printf 'CONFIG_KERNEL_BUILD_USER="lede"\n' >> .config printf 'CONFIG_KERNEL_BUILD_USER="openwrt"\n' >> .config
printf 'CONFIG_KERNEL_BUILD_DOMAIN="buildhost"\n' >> .config printf 'CONFIG_KERNEL_BUILD_DOMAIN="buildhost"\n' >> .config
make defconfig make defconfig
} }
......
#!/bin/bash #!/bin/bash
# Copyright 2014-2016 Holger Levsen <holger@layer-acht.org> # Copyright 2014-2018 Holger Levsen <holger@layer-acht.org>
# © 2015 Reiner Herrmann <reiner@reiner-h.de> # © 2015 Reiner Herrmann <reiner@reiner-h.de>
# 2016 Alexander Couzens <lynxis@fe80.eu> # 2016 Alexander Couzens <lynxis@fe80.eu>
# released under the GPLv=2 # released under the GPLv=2
......
...@@ -120,10 +120,10 @@ RewriteRule ^/(.*) /coreboot/coreboot.html [R,L] ...@@ -120,10 +120,10 @@ RewriteRule ^/(.*) /coreboot/coreboot.html [R,L]
RewriteCond %{REQUEST_URI} ^/openwrt(/|)$ RewriteCond %{REQUEST_URI} ^/openwrt(/|)$
RewriteRule ^/(.*) /openwrt/openwrt.html [R,L] RewriteRule ^/(.*) /openwrt/openwrt.html [R,L]
# redirect /lede/ to lede/lede.html # redirect /lede/ to openwrt/openwrt.html
# note: the missing slash in the RewriteRule is wanted to avoid a double slash # note: the missing slash in the RewriteRule is wanted to avoid a double slash
RewriteCond %{REQUEST_URI} ^/lede(/|)$ RewriteCond %{REQUEST_URI} ^/lede(/|)$
RewriteRule ^/(.*) /lede/lede.html [R,L] RewriteRule ^/(.*) /openwrt/openwrt.html [R,L]
# redirect /netbsd/ to netbsd/netbsd.html # redirect /netbsd/ to netbsd/netbsd.html
# note: the missing slash in the RewriteRule is wanted to avoid a double slash # note: the missing slash in the RewriteRule is wanted to avoid a double slash
......
...@@ -596,16 +596,12 @@ ...@@ -596,16 +596,12 @@
my_timed: '42 1 * * 5' my_timed: '42 1 * * 5'
my_lede_config: 'CONFIG_TARGET_x86=y' my_lede_config: 'CONFIG_TARGET_x86=y'
my_lede_target: 'x86' my_lede_target: 'x86'
- 'openwrt':
my_description: 'Rebuild OpenWrt (some targets, some packages) twice (with variations) and investigate regarding reproducibility.'
my_timed: '42 23 * * 2'
my_shell: '/srv/jenkins/bin/reproducible_openwrt.sh master'
my_description: 'Rebuild LEDE (one target, some packages) twice (with variations) and investigate regarding reproducibility.' my_description: 'Rebuild LEDE (one target, some packages) twice (with variations) and investigate regarding reproducibility.'
my_shell: '/srv/jenkins/bin/reproducible_lede.sh master {my_lede_target} {my_lede_config}' my_shell: '/srv/jenkins/bin/reproducible_lede.sh master {my_lede_target} {my_lede_config}'
my_trigger: '' my_trigger: ''
my_hname: '' my_hname: ''
my_recipients: 'jenkins+reproducible-builds qa-jenkins-scm@lists.alioth.debian.org lynxis@fe80.eu' my_recipients: 'jenkins+reproducible-builds qa-jenkins-scm@lists.alioth.debian.org lynxis@fe80.eu'
my_blocker: '^reproducible_(lede|openwrt).*' my_blocker: '^reproducible_(lede).*'
- '{name}_{otherproject_triggering}': - '{name}_{otherproject_triggering}':
otherproject_triggering: otherproject_triggering:
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
<a href="https://tests.reproducible-builds.org/debian/">Debian</a> / <a href="https://tests.reproducible-builds.org/debian/">Debian</a> /
<a href="https://tests.reproducible-builds.org/fedora/">Fedora</a> / <a href="https://tests.reproducible-builds.org/fedora/">Fedora</a> /
<a href="https://tests.reproducible-builds.org/freebsd/">FreeBSD</a> / <a href="https://tests.reproducible-builds.org/freebsd/">FreeBSD</a> /
<a href="https://tests.reproducible-builds.org/lede/">LEDE</a> /
<a href="https://tests.reproducible-builds.org/netbsd/">NetBSD</a> / <a href="https://tests.reproducible-builds.org/netbsd/">NetBSD</a> /
<a href="https://tests.reproducible-builds.org/openwrt/">OpenWrt</a> <a href="https://tests.reproducible-builds.org/openwrt/">OpenWrt</a>
</li> </li>
......
...@@ -303,7 +303,7 @@ if [ -f /etc/debian_version ] ; then ...@@ -303,7 +303,7 @@ if [ -f /etc/debian_version ] ; then
codethink-sled9*|codethink-sled11*|codethink-sled13*|codethink-sled15*) DEBS="$DEBS ntpdate" ;; codethink-sled9*|codethink-sled11*|codethink-sled13*|codethink-sled15*) DEBS="$DEBS ntpdate" ;;
*) ;; *) ;;
esac esac
# needed to run coreboot/openwrt/lede/netbsd/fedora jobs # needed to run coreboot/openwrt/netbsd/fedora jobs
case $HOSTNAME in case $HOSTNAME in
profitbricks-build3-amd64|profitbricks-build4-amd64) DEBS="$DEBS profitbricks-build3-amd64|profitbricks-build4-amd64) DEBS="$DEBS
bison bison
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment