mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-07-21 13:24:53 +00:00
gitlab-ci: ditch 'merge_requests' rule, it has strange behavior
It makes its own pipeline, which hides other jobs like lint which should be displayed together on the merge request. https://docs.gitlab.com/ee/ci/merge_request_pipelines/index.html
This commit is contained in:
parent
60b81cbbc2
commit
18b80e5b39
1 changed files with 10 additions and 2 deletions
|
|
@ -111,10 +111,10 @@ fdroid build:
|
||||||
when: always
|
when: always
|
||||||
expire_in: 1 month
|
expire_in: 1 month
|
||||||
only:
|
only:
|
||||||
refs:
|
|
||||||
- merge_requests
|
|
||||||
changes:
|
changes:
|
||||||
- metadata/*.yml
|
- metadata/*.yml
|
||||||
|
except:
|
||||||
|
- master@fdroid/fdroiddata
|
||||||
cache:
|
cache:
|
||||||
key: "$CI_JOB_NAME"
|
key: "$CI_JOB_NAME"
|
||||||
paths:
|
paths:
|
||||||
|
|
@ -155,6 +155,14 @@ fdroid build:
|
||||||
- fdroid build --verbose --on-server --latest --no-tarball --no-refresh $CHANGED
|
- fdroid build --verbose --on-server --latest --no-tarball --no-refresh $CHANGED
|
||||||
|
|
||||||
|
|
||||||
|
# issuebot needs secrets to run, so it has to run under the 'fdroid'
|
||||||
|
# group, therefore needs the trigger without secrets, there would be
|
||||||
|
# no support for virustotal, github downloads, exodus privacy checks,
|
||||||
|
# etc. That means it has to be triggered from the lint: job, which
|
||||||
|
# runs in the fork's CI.
|
||||||
|
#
|
||||||
|
# This job has to be called 'pages' because it deploys the JSON API
|
||||||
|
# to GitLab Pages.
|
||||||
pages:
|
pages:
|
||||||
image: registry.gitlab.com/fdroid/ci-images-client:latest
|
image: registry.gitlab.com/fdroid/ci-images-client:latest
|
||||||
only:
|
only:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue