mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 14:30:30 +03:00
gitlab-ci: check gradle checksums against official list
This commit is contained in:
parent
c70e2ff056
commit
25548023e0
2 changed files with 76 additions and 0 deletions
|
|
@ -198,3 +198,21 @@ fedora_latest:
|
|||
- cd tests
|
||||
- su testuser --login --command
|
||||
"cd `pwd`; export ANDROID_HOME=$ANDROID_HOME; fdroid=~testuser/.local/bin/fdroid ./run-tests"
|
||||
|
||||
gradle:
|
||||
image: alpine:3.7
|
||||
variables:
|
||||
LANG: C.UTF-8
|
||||
script:
|
||||
- apk add --no-cache ca-certificates git python3
|
||||
# if this is a merge request fork, then only check if makebuildserver changed
|
||||
- if [ "$CI_PROJECT_NAMESPACE" != "fdroid" ]; then
|
||||
git fetch https://gitlab.com/fdroid/fdroidserver.git;
|
||||
for f in `git diff --name-only --diff-filter=d FETCH_HEAD...HEAD`; do
|
||||
test "$f" == "makebuildserver" && export CHANGED="yes";
|
||||
done;
|
||||
test -z "$CHANGED" && exit;
|
||||
fi
|
||||
- python3 -m ensurepip
|
||||
- pip3 install beautifulsoup4 requests
|
||||
- ./tests/gradle-release-checksums.py
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue