summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_lede.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-11-12reproducible_lede: set TMPDIR=RESULTSDIR to allow call_diffoscope to workAlexander Couzens1-0/+3
Sadly call_diffoscope requires TMPDIR to be defined and used as base for all results. When replaced TMPDIR with RESULTSDIR this requirement was overseen. Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2017-11-03reproducible_lede: replace TMPDIR -> RESULTSDIRAlexander Couzens1-19/+19
Make easier to read the code to know the difference between TMPDIR and TMPBUILDDIR Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-06-28reproducible LEDE: move `git log -1 > .html` to node_document_environmentAlexander Couzens1-6/+1
Removes also the garbage in the git commit section Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-06-26reproducible_lede: save the different target into different filesAlexander Couzens1-6/+7
At the moment the scripts saves all targets under the same name meaning they overwrite each other. Introduce lede_target to not parse the lede_config to find out which target is now build. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-06-25reproducible LEDE: WIP: add multiple architecturesAlexander Couzens1-1/+5
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-06-25reproducible_lede: collect the last git commitAlexander Couzens1-2/+4
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-06-19reproducible_lede: fix sha256sum shortcut for packagesAlexander Couzens1-1/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-06-19reproducible_lede: remove debugging output for imagesAlexander Couzens1-5/+0
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-06-19reproducible_lede: shortcut packages via sha256sumAlexander Couzens1-1/+8
Signed-off-by: Holger Levsen <holger@layer-acht.org>
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-06-18reproducible_lede: add debug around sha256Alexander Couzens1-0/+5
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-06-18reproducible_lede: do a quick sha256sum before calling diffoscopeAlexander Couzens1-1/+5
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-06-13reproducible_lede: build all ar71xx imagesAlexander Couzens1-1/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-06-10reproducible_lede: only build one board instead of all boardsAlexander Couzens1-1/+1
Reduing the build time improve developing speed. When the image is reproducible we will enable more boards. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-05-26reproducible_lede: use my git repo to test mksquashfsAlexander Couzens1-1/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-05-01reproducible_lede: replace git:// url with https://Alexander Couzens1-1/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-04-30reproducible LEDE: no debugHolger Levsen1-3/+3
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-1/+2
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: use git instead of https so it works in the fake ↵Holger Levsen1-2/+2
future too
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-11/+1
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-29reproducible_lede.sh: remove old outcommented feeds repositoryAlexander Couzens1-7/+0
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-29reproducible_lede: fix banner by using a different div classAlexander Couzens1-4/+3
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-29reproducible_lede: use lede-project.org cssAlexander Couzens1-1/+5
copy over the css from lede-project.org Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-29reproducible_lede: fix more path problems of call_diffoscope()Alexander Couzens1-2/+2
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-28reproducible/lede: correct paths within image comparisonAlexander Couzens1-6/+9
The path wasn't migrated while introducing the new path structure. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-24reproducible_lede: move resulting images into targets dirAlexander Couzens1-31/+35
Make the structure more clean when packages are seperate from images 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-23add LEDE build script and jobAlexander Couzens1-0/+233
Signed-off-by: Holger Levsen <holger@layer-acht.org>