mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-22 09:57:41 +00:00
[#3917] Fix fuzz jobs running automatically on MR creation
This commit is contained in:
parent
51ac2ebc2a
commit
23bf6c1855
@ -163,24 +163,15 @@ fuzz:
|
|||||||
parallel:
|
parallel:
|
||||||
matrix:
|
matrix:
|
||||||
- SANITIZER: [address, undefined]
|
- SANITIZER: [address, undefined]
|
||||||
|
variables:
|
||||||
|
MODE: "code-change"
|
||||||
rules:
|
rules:
|
||||||
# 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 creating of MR.
|
# This job is always manual and allowed to fail.
|
||||||
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
|
- when: manual
|
||||||
variables:
|
|
||||||
MODE: "code-change"
|
|
||||||
when: manual
|
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
# 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
|
|
||||||
before_script:
|
before_script:
|
||||||
# Get GitLab's container id.
|
# Get GitLab's container id.
|
||||||
- export CFL_CONTAINER_ID=`docker ps -q -f "label=com.gitlab.gitlab-runner.job.id=$CI_JOB_ID" -f "label=com.gitlab.gitlab-runner.type=build"`
|
- export CFL_CONTAINER_ID=`docker ps -q -f "label=com.gitlab.gitlab-runner.job.id=$CI_JOB_ID" -f "label=com.gitlab.gitlab-runner.type=build"`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user