extends:
- .ci-run-policy
rules:
- # Run pipeline by default if it is for a merge request and any files
- # affecting it were changed
- - if: '$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
+ # Run pipeline by default if it was triggered by Marge Bot, is for a
+ # merge request, and any files affecting it were changed
+ - if: '$GITLAB_USER_LOGIN == "marge-bot" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
changes:
*all_paths
when: on_success
changes:
*all_paths
when: on_success
- # Allow triggering jobs manually for branches of forked projects
- - if: '$CI_PROJECT_PATH != "mesa/mesa" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME'
- changes:
+ # Allow triggering jobs manually for MRs or branches of forked projects if
+ # any files affecting the pipeline were changed
+ - changes:
*all_paths
when: manual
# Otherwise, container jobs won't run
x86_test-vk:
extends: x86_build
variables:
- FDO_DISTRIBUTION_TAG: &x86_test-vk "2020-04-01-jflags"
+ FDO_DISTRIBUTION_TAG: &x86_test-vk "2020-04-09"
# Debian 9 based x86 build image (old LLVM)
x86_build_old:
# to).
.test-manual:
rules:
- # Never test in the main project.
- - if: '$CI_PROJECT_PATH == "mesa/mesa"'
- when: never
- # Never test in merge requests.
- - if: '$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
- when: never
- # Otherwise, allow testing manually for personal branches.
- - when: manual
+ - if: '$CI_PROJECT_PATH != "mesa/mesa" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME'
+ changes:
+ *all_paths
+ when: manual
+ - when: never
arm64_a630_gles2:
extends: