gitlab-ci: move audit-gradle.py run to fdroid build job

This test script was effectively not running anyway because nothing was
cloning the git repo for it to run on.  `fdroid build` will end up cloning
the source, so it makes sense to run this script after that process.
This commit is contained in:
Hans-Christoph Steiner 2021-06-09 19:03:59 +02:00
parent 1f62af11a4
commit 71950dfb67
No known key found for this signature in database
GPG key ID: 3E177817BA1B9BFA

View file

@ -29,14 +29,12 @@ lint:
appid=`echo $f | sed -n -e 's,^metadata/\([^/][^/]*\)\.yml,\1,p'`;
if [ -n "$appid" ]; then
export CHANGED="$CHANGED $appid";
testcmd="git -C build clone `sed -En 's,^Repo\W +(https?://),\1u:p@,p' $f`";
fi;
done;
set -x;
apt-get install python3-colorama yamllint;
for f in $files; do [[ $f == *'.yml' ]] && yamllint "$f"; done;
./tools/check-git-repo-availability.py $files;
./tools/audit-gradle.py $CHANGED;
set +x;
fi
- export EXITVALUE=0
@ -245,6 +243,8 @@ fdroid build:
$fdroid publish --verbose $build;
done
- ./tools/audit-gradle.py $CHANGED;
# issuebot needs secrets to run, so it has to run under the 'fdroid'
# group, therefore needs the trigger without secrets, there would be