mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03:00
gitlab-ci: try rules:changes: to limit "fdroiddata fdroid build" runs
https://docs.gitlab.com/ee/ci/yaml/#using-onlychanges-with-pipelines-for-merge-requests
This commit is contained in:
parent
767573f2ec
commit
a1df5ef86a
1 changed files with 7 additions and 3 deletions
|
|
@ -247,7 +247,11 @@ gradle:
|
||||||
# this tests the basic setup of the 'fdroid build' CI job in fdroiddata
|
# this tests the basic setup of the 'fdroid build' CI job in fdroiddata
|
||||||
fdroiddata fdroid build:
|
fdroiddata fdroid build:
|
||||||
image: registry.gitlab.com/fdroid/ci-images-client:latest
|
image: registry.gitlab.com/fdroid/ci-images-client:latest
|
||||||
only:
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH
|
||||||
|
changes:
|
||||||
|
- buildserver/provision-apt-get-install
|
||||||
|
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
||||||
changes:
|
changes:
|
||||||
- buildserver/provision-apt-get-install
|
- buildserver/provision-apt-get-install
|
||||||
script:
|
script:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue