summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_openwrt.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-06-19reproducible_{openwrt,lede}: move toolchain.html creation to remote nodeAlexander Couzens1-23/+3
There is no sense in creating the toolchain part on the jenkins master. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-05-01reproducible_openwrt: update git repo urlAlexander Couzens1-1/+1
git.openwrt.org isn't anymore the upstream. It has been move to github. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-18reproducible OpenWrt/LEDE: rename common.sh to lede_common.sh to reflect ↵Holger Levsen1-2/+3
their realities & update my copyright years on this code
2016-10-13reproducible_openwrt|lede: allow openwrt_save_logs to call it from outsideAlexander Couzens1-0/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-13reproducible_openwrt|lede: in case of failure: copy logs to $WORKSPACE/resultsAlexander Couzens1-1/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-12reproducible_openwrt|lede: add debug to fix rsync bugAlexander Couzens1-0/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-12reproducible/openwrt|lede: add command node_create_tmpdirsAlexander Couzens1-0/+1
create tmpdir in a spereate step Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-12reproducible_openwrt/lede: add openwrt_downloadAlexander Couzens1-0/+1
download all necesarry files before building to fix the future. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-08-06reproducible/openwrt|lede: fix exit code of node executionAlexander Couzens1-1/+2
The return code from all functions are 0 or the program will exit on a different code path. Also ensure there is no trap in the end. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-08-03reproducible/openwrt|lede: ensure tmpdirs are removed after failed runsAlexander Couzens1-3/+3
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-08-02Revert "reproducible/openwrt|lede: remove arguments from common_init"Alexander Couzens1-1/+1
This reverts commit 193c178dd97b19c252f6d9e2940a474fff3bec7a. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-08-02reproducible/openwrt|lede: add debug line to see what argument got calledAlexander Couzens1-0/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-08-02reproducible/openwrt|lede: exit with error when called with unsupported modeAlexander Couzens1-0/+4
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-08-02reproducible/openwrt|lede: remove openwrt_mktempdirAlexander Couzens1-1/+0
Use the same directory across multiple nodes Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-08-02reproducible/openwrt|lede: add date to the tempbuilddirAlexander Couzens1-3/+3
Add a date to the TMPBUILDDIR. Will reduce the possibility of TMPBUILDIR clashes when using the same directory across multiple nodes. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-08-02reproducible/lede: only alllow certain functions to be executed remoteAlexander Couzens1-0/+10
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-08-02reproducible/openwrt|lede: replace remote node argument with global variablesAlexander Couzens1-1/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-08-02reproducible/openwrt|lede: remove arguments from common_initAlexander Couzens1-1/+1
Until now there wasn't any arguments used to this script. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-08-02reproducible/openwrt|lede: rename argument from slave -> nodeAlexander Couzens1-2/+1
To conform to the naming on other scripts Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-08-02Revert "reproducible/openwrt|lede: fixup node_wrapper usage"Alexander Couzens1-3/+4
This reverts commit 8d586d5c9968778c934996aa59626635fc20b99f. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-30reproducible/openwrt|lede: fixup node_wrapper usageHolger Levsen1-4/+3
2016-07-30reproducible/openwrt|lede: use multinode setup for lede and openwrtAlexander Couzens1-18/+2
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-30reproducible/openwrt|lede: allow to execute the script itselfAlexander Couzens1-0/+15
To call function on a remote host, allow to call itself on a remote host with different arguments Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-23reproducible/openwrt|lede: move create_results_dirs upwards to fix dir not ↵Alexander Couzens1-2/+2
exists error Both builds try to write the logs into this directory even it doesn't exists before Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-23openwrt/lede: add forgotten arg to create_results_dir on the second runAlexander Couzens1-1/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-23openwrt_common: make create_results_dirs flexible to allow lede buildsAlexander Couzens1-1/+1
could be also adopted by reproducible_common.sh Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-13reproducible openwrt: move everything but main() into ↵Alexander Couzens1-187/+1
reproducible_openwrt_common.sh to support lede and openwrt its a good idea to move common code out of the file Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-13reproducible openwrt: modify build_two_times to allow lede buildsAlexander Couzens1-5/+13
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-13reproducible openwrt: add lede_save_resultsAlexander Couzens1-0/+41
lede has a slight different output directory layout Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-05-07reproducible builds: notify the correct channel(s)Holger Levsen1-1/+1
2016-04-29reproducible: rename function: s#explaination_table#variation_table#gHolger Levsen1-1/+1
2016-02-06reproducible openwrt: set -xHolger Levsen1-1/+1
2016-02-01Revert "openwrt: switch to https://github.com/lynxis/openwrt branch ↵Alexander Couzens1-2/+2
reproducible" This reverts commit d0b3c2ca3226635fe249fb1c26e4c6740f12e58e. Switch back to upstream
2016-01-18openwrt: also ignore modular packages fails to buildAlexander Couzens1-1/+1
2016-01-08Revert "reproducible openwrt: enable debug"Holger Levsen1-1/+1
This reverts commit 211e3c8002098d3548985efb55910287274340e8.
2016-01-08reproducible openwrt: enable debugHolger Levsen1-1/+1
2015-12-16always use mktemp with '-t -XXXX'Holger Levsen1-2/+2
2015-12-14reproducible openwrt: s#failed to build once#failed to build#gHolger Levsen1-2/+2
2015-12-14reproducible coreboot/openwrt/netbsd: stop being too nice (as these jobs ↵Holger Levsen1-16/+8
only run rarely on nodes which are constantly busy with rpms and archlinux)
2015-12-12fix typo: s#Repoducible#Reproducible#gHolger Levsen1-1/+1
2015-12-11reproducible openwrt: improve table header: unreproducible or otherwise ↵Holger Levsen1-1/+1
broken…
2015-12-11openwrt: use BUILD_LOG to create openwrt/logsAlexander Couzens1-1/+14
BUILD_LOG=1 will create a logs/ directory where openwrt create a directory for every target and saves log files in there. Between both builds save the logs in a tar.xz ball and publish it under https://repoducible.debian.net/openwrt/logs_a.tar.xz and https://repoducible.debian.net/openwrt/logs_b.tar.xz
2015-12-10reproducible *.sh fix whitespacesAlexander Couzens1-1/+1
2015-12-10openwrt: fix wrong usage of IGNORE_ERRORSAlexander Couzens1-1/+1
the build won't fail anymore because of broken packages
2015-12-10openwrt: build tools + toolchain parallelAlexander Couzens1-4/+2
2015-12-10openwrt: disable all architectures but ar71xxAlexander Couzens1-2/+4
2015-12-07openwrt: select branch while cloningAlexander Couzens1-2/+1
because of --depth they don't fetch the whole repository with all branches
2015-12-07openwrt: switch to https://github.com/lynxis/openwrt branch reproducibleAlexander Couzens1-2/+2
for testing switch to my branch as long there are missing a lot of patches in openwrt
2015-12-07openwrt: implement OPENWRT_GIT_BRANCHAlexander Couzens1-0/+2
choose the branch for the git checkout
2015-10-26Revert "reproducible openwrt: temporarily enable debug"Holger Levsen1-1/+0
This reverts commit a0caea27c7b7d836aedda4f951565f41706a6199.