CI: fix schedules abort line

This commit is contained in:
Marcus Hoffmann 2020-06-04 19:57:24 +02:00
parent 90eec1a4bd
commit 137eac6c0e

View file

@ -60,7 +60,7 @@ checkupdates:
only:
- schedules
before_script:
if [ -z "${CHECKUPDATES}" ]; then exit 0
- if [ -z "${CHECKUPDATES}" ]; then exit 0; fi
- printf "Package\x3a androguard fdroidserver python3-asn1crypto python3-ruamel.yaml\nPin\x3a release a=stretch-backports\nPin-Priority\x3a 500\n" > /etc/apt/preferences.d/debian-stretch-backports.pref
- echo "deb http://deb.debian.org/debian/ stretch-backports main" > /etc/apt/sources.list.d/backports.list
- apt-get update
@ -195,7 +195,7 @@ check_git_repos:
paths:
- public
script:
if [ -z "${CHECK_GIT_REPOS}" ]; then exit 0
- if [ -z "${CHECK_GIT_REPOS}" ]; then exit 0; fi
- apt-get update
- apt-get -qy install --no-install-recommends ca-certificates git python3-colorama python3-yaml
- tools/check-git-repo-availability.py || export EXITVALUE=1