From 0c807275a27df7097b7105ee9d175b2eb1321fad Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 12 Apr 2021 11:52:21 +0200 Subject: [PATCH] jenkins-build-all: refocus on building reproducible apps first This also deletes the reproducible APKs each time to test that they are still being built reproducibly. !893 fdroidserver#891 --- jenkins-build-all | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/jenkins-build-all b/jenkins-build-all index 9e9c76e5..282a4ab6 100755 --- a/jenkins-build-all +++ b/jenkins-build-all @@ -95,10 +95,25 @@ else sed -i '/^wiki_/d' config.yml fi +printf '\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\nbuild all with reproducible signatures\n' +for f in metadata/*/signatures/*; do + appid=$(basename $(dirname $(dirname $f))) + versionCode=$(basename $f) + rm -f repo/${appid}_* archive/${appid}_* unsigned/${appid}_* + $WORKSPACE/fdroid build --verbose --latest --no-tarball ${appid}:$versionCode +done + +printf '\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\nbuild all with Binaries:\n' +for appid in `grep '^Binaries: ' metadata/*.yml --files-with-match | sed 's,^metadata/\(.*\)\.yml$,\1,'`; do + rm -f repo/${appid}_* archive/${appid}_* unsigned/${appid}_* + $WORKSPACE/fdroid build --verbose --latest --no-tarball ${appid} +done + # force global timeout to 6 hours sed -Ei 's,^(\s+endtime\s*=\s*time\.time\(\))\s*.*,\1 + 6 * 60 * 60 # 6 hours,' \ $WORKSPACE/fdroidserver/build.py +printf '\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\nbuild all\n' $WORKSPACE/fdroid build --verbose --latest --no-tarball --all $wikiflag vagrant global-status