[checkupdates_runner] add summary at end of log

This commit is contained in:
Jochen Sprickerhof 2021-08-17 07:53:37 +02:00
parent e44424dfdc
commit a354d1aa3a

View file

@ -167,10 +167,12 @@ checkupdates_runner:
- url_host=$(echo "${CI_REPOSITORY_URL}" | sed -e 's|https\?://gitlab-ci-token:.*@|ssh://git@|g')
- git remote set-url --push origin "${url_host}"
script:
- fdroid checkupdates --allow-dirty --auto --commit ${CHECKUPDATES_APPIDS} || true
- fdroid checkupdates --allow-dirty --auto --commit ${CHECKUPDATES_APPIDS} | tee /tmp/out
- git pull --rebase origin master
# when two jobs try to push at the same time they occasionally fail, so try one more time if it fails
- git push origin HEAD:master || (git pull --rebase origin master && git push origin HEAD:master)
- echo "============== Summary ====================="
- grep -v "INFO: Processing" /tmp/out
fdroid build:
image: registry.gitlab.com/fdroid/ci-images-client:latest