mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-05-21 21:29:11 +00:00
CI: trigger only the job we want in schedules
This commit is contained in:
parent
b27f3cde83
commit
90eec1a4bd
1 changed files with 4 additions and 1 deletions
|
|
@ -3,6 +3,7 @@ image: registry.gitlab.com/fdroid/ci-images-server:latest
|
|||
lint:
|
||||
except:
|
||||
- triggers
|
||||
- schedules
|
||||
before_script:
|
||||
- ./tools/trigger-issuebot
|
||||
- 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
|
||||
|
|
@ -59,11 +60,12 @@ checkupdates:
|
|||
only:
|
||||
- schedules
|
||||
before_script:
|
||||
if [ -z "${CHECKUPDATES}" ]; then exit 0
|
||||
- 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
|
||||
- apt-get -qy dist-upgrade
|
||||
- apt-get install git
|
||||
- apt-get install git bzr mercurial git-svn
|
||||
- rm -rf fdroidserver
|
||||
- mkdir fdroidserver
|
||||
- curl --silent https://gitlab.com/fdroid/fdroidserver/repository/master/archive.tar.gz
|
||||
|
|
@ -193,6 +195,7 @@ check_git_repos:
|
|||
paths:
|
||||
- public
|
||||
script:
|
||||
if [ -z "${CHECK_GIT_REPOS}" ]; then exit 0
|
||||
- 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
|
||||
|
|
|
|||
Loading…
Reference in a new issue