From 888f5b706f3eefa394bac538e1c858bd5d984a61 Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof Date: Thu, 29 Jul 2021 07:49:27 +0200 Subject: [PATCH] [checkupdates] Don't fail job if checkupdates fails --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2bab01cd00..d4f4a51f3b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -141,7 +141,7 @@ 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} + - fdroid checkupdates --allow-dirty --auto --commit ${CHECKUPDATES_APPIDS} || 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)