Limit GitLab CI only to parent cryptsetup project.

This commit is contained in:
Milan Broz
2021-08-17 18:22:21 +02:00
parent 76766f11c0
commit d169020001

View File

@@ -21,6 +21,8 @@ test-mergerq-job:
stage: test
interruptible: true
rules:
- if: $CI_PROJECT_PATH != "cryptsetup/cryptsetup"
when: never
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
script:
- make -j
@@ -34,6 +36,8 @@ test-main-commit-job:
variables:
RUN_SSH_PLUGIN_TEST: "1"
rules:
- if: $CI_PROJECT_PATH != "cryptsetup/cryptsetup"
when: never
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
script:
- make -j