Loading includes/rules.yml 0 → 100644 +5 −0 Original line number Diff line number Diff line .rules-merge-request-to-main: rules: - if: $CI_PIPELINE_SOURCE == 'merge_request_event' && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "main" - if: $CI_PIPELINE_SOURCE == 'push' when: never main-basop.yml +1 −6 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ include: - local: includes/complexity-jobs.yml - local: includes/smoke-test.yml - local: includes/build-jobs.yml - local: includes/rules.yml default: # by default, we want all jobs to be interruptible, and we need to configure this explicitly Loading Loading @@ -210,12 +211,6 @@ workflow: when: never - when: never .rules-merge-request-to-main: rules: - if: $CI_PIPELINE_SOURCE == 'merge_request_event' && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "main" - if: $CI_PIPELINE_SOURCE == 'push' when: never .rules-merge-request-to-main-no-draft: rules: - if: $CI_MERGE_REQUEST_TITLE =~ /^(\[Draft\]|\(Draft\)|Draft:)/ Loading main-float.yml +1 −12 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ include: - local: includes/complexity-jobs.yml - local: includes/smoke-test.yml - local: includes/build-jobs.yml - local: includes/rules.yml default: # by default, we want all jobs to be interruptible, and we need to configure this explicitly Loading Loading @@ -100,20 +101,10 @@ workflow: # Rules templates # --------------------------------------------------------------- .rules-merge-request-to-main: rules: - if: $CI_PIPELINE_SOURCE == 'merge_request_event' && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "main" - if: $CI_PIPELINE_SOURCE == 'push' when: never .rules-main-push: rules: - if: $CI_PIPELINE_SOURCE == 'push' && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH .rules-main-scheduled: rules: - if: $CI_PIPELINE_SOURCE == 'schedule' && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH # --------------------------------------------------------------- # Generic script anchors # --------------------------------------------------------------- Loading Loading @@ -2166,7 +2157,6 @@ sanitizer-test-osba-planar-hoa3-ism4: .coverage-test-template: extends: - .test-job-linux-needs-testv-dir - .rules-main-scheduled tags: - ivas-linux-fast stage: test Loading Loading @@ -2198,7 +2188,6 @@ sanitizer-test-osba-planar-hoa3-ism4: coverage-merge: extends: - .rules-main-scheduled - .test-job-linux-needs-testv-dir tags: - ivas-linux-fast Loading Loading
includes/rules.yml 0 → 100644 +5 −0 Original line number Diff line number Diff line .rules-merge-request-to-main: rules: - if: $CI_PIPELINE_SOURCE == 'merge_request_event' && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "main" - if: $CI_PIPELINE_SOURCE == 'push' when: never
main-basop.yml +1 −6 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ include: - local: includes/complexity-jobs.yml - local: includes/smoke-test.yml - local: includes/build-jobs.yml - local: includes/rules.yml default: # by default, we want all jobs to be interruptible, and we need to configure this explicitly Loading Loading @@ -210,12 +211,6 @@ workflow: when: never - when: never .rules-merge-request-to-main: rules: - if: $CI_PIPELINE_SOURCE == 'merge_request_event' && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "main" - if: $CI_PIPELINE_SOURCE == 'push' when: never .rules-merge-request-to-main-no-draft: rules: - if: $CI_MERGE_REQUEST_TITLE =~ /^(\[Draft\]|\(Draft\)|Draft:)/ Loading
main-float.yml +1 −12 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ include: - local: includes/complexity-jobs.yml - local: includes/smoke-test.yml - local: includes/build-jobs.yml - local: includes/rules.yml default: # by default, we want all jobs to be interruptible, and we need to configure this explicitly Loading Loading @@ -100,20 +101,10 @@ workflow: # Rules templates # --------------------------------------------------------------- .rules-merge-request-to-main: rules: - if: $CI_PIPELINE_SOURCE == 'merge_request_event' && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "main" - if: $CI_PIPELINE_SOURCE == 'push' when: never .rules-main-push: rules: - if: $CI_PIPELINE_SOURCE == 'push' && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH .rules-main-scheduled: rules: - if: $CI_PIPELINE_SOURCE == 'schedule' && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH # --------------------------------------------------------------- # Generic script anchors # --------------------------------------------------------------- Loading Loading @@ -2166,7 +2157,6 @@ sanitizer-test-osba-planar-hoa3-ism4: .coverage-test-template: extends: - .test-job-linux-needs-testv-dir - .rules-main-scheduled tags: - ivas-linux-fast stage: test Loading Loading @@ -2198,7 +2188,6 @@ sanitizer-test-osba-planar-hoa3-ism4: coverage-merge: extends: - .rules-main-scheduled - .test-job-linux-needs-testv-dir tags: - ivas-linux-fast Loading