fdroid-bot creates merge request when new gradle versions are found

This commit is contained in:
Hans-Christoph Steiner 2021-01-24 17:09:32 +01:00
parent eec0d3a336
commit d133b38f22
2 changed files with 86 additions and 27 deletions

View file

@ -226,11 +226,18 @@ fedora_latest:
"cd `pwd`; export ANDROID_HOME=$ANDROID_HOME; fdroid=~testuser/.local/bin/fdroid ./run-tests"
gradle:
image: alpine:3.7
variables:
LANG: C.UTF-8
image: debian:bullseye
<<: *apt-template
script:
- apk add --no-cache ca-certificates git python3
- apt-get install
ca-certificates
git
openssh-client
python3-bs4
python3-colorama
python3-git
python3-gitlab
python3-requests
# if this is a merge request fork, then only check if makebuildserver or gradlew-fdroid changed
- if [ "$CI_PROJECT_NAMESPACE" != "fdroid" ]; then
git fetch https://gitlab.com/fdroid/fdroidserver.git;
@ -240,8 +247,6 @@ gradle:
done;
test -z "$CHANGED" && exit;
fi
- python3 -m ensurepip
- $pip install beautifulsoup4 requests
- ./tests/gradle-release-checksums.py
fdroid build: