[checkupdates_runner] ignore return values

This commit is contained in:
Jochen Sprickerhof 2021-08-18 07:37:32 +02:00
parent 9d3c991ddf
commit 57f3ab36cf

View file

@ -167,12 +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} | tee /tmp/out
- fdroid checkupdates --allow-dirty --auto --commit ${CHECKUPDATES_APPIDS} 2>&1 | tee /tmp/out || true
- 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'
- 'grep -v "INFO: Processing" /tmp/out' || true
fdroid build:
image: registry.gitlab.com/fdroid/ci-images-client:latest