2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-22 09:57:41 +00:00

[#3732] Do not run fuzz jobs on MR creation

This commit is contained in:
Andrei Pavel 2025-04-28 09:41:07 +03:00
parent 737181c480
commit f86f509606
No known key found for this signature in database
GPG Key ID: D4E804481939CB21

View File

@ -167,13 +167,19 @@ fuzz:
# Prevent duplicate pipelines. # Prevent duplicate pipelines.
- if: $CI_OPEN_MERGE_REQUESTS && $CI_COMMIT_BRANCH == null - if: $CI_OPEN_MERGE_REQUESTS && $CI_COMMIT_BRANCH == null
when: never when: never
# Make the job manual on the MR. # Make the job manual on creating of MR.
- if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS || $CI_PIPELINE_SOURCE == 'merge_request_event' - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
variables: variables:
MODE: "code-change" MODE: "code-change"
when: manual when: manual
allow_failure: true allow_failure: true
# Run on any other event, including push to MR branch and push to master. # Make the job manual on push to MR.
- if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
variables:
MODE: "code-change"
when: manual
allow_failure: true
# Run on any other event, including push to master.
- when: always - when: always
before_script: before_script:
# Get GitLab's container id. # Get GitLab's container id.