From 99b6e5589ddd3e7b45e54aa155b969bb5fa77a51 Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof Date: Fri, 3 Sep 2021 07:37:36 +0200 Subject: [PATCH] [checkupdates] don't fail cleanup --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2fd8d9ae81..8ff4545dea 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -166,7 +166,8 @@ checkupdates_runner: - echo "${CHECKUPDATES_SSH_DEPLOY_KEY}" | tr -d '\r' | ssh-add - - url_host=$(echo "${CI_REPOSITORY_URL}" | sed -e 's|https\?://gitlab-ci-token:.*@|ssh://git@|g') - git remote set-url --push origin "${url_host}" - - git rebase --abort + # somehow there is an old rebase in the image + - git rebase --abort || true - rm -fr ".git/rebase-apply" script: - fdroid checkupdates --allow-dirty --auto --commit ${CHECKUPDATES_APPIDS} 2>&1 | tee /tmp/out || true