# Prevent duplicate pipelines.
- if: $CI_OPEN_MERGE_REQUESTS && $CI_COMMIT_BRANCH == null
when: never
- # This job is always manual and allowed to fail.
- - when: manual
+ # Not used anymore. Change "when" to "manual" to make it appear in MRs again.
+ - when: never
allow_failure: true
before_script:
# Get GitLab's container id.
tags:
- docker-fuzz
rules:
- # Use $CI_DEFAULT_BRANCH or $CFL_BRANCH.
- - if: $CI_COMMIT_BRANCH == $CFL_BRANCH && $CI_PIPELINE_SOURCE == "push"
- variables:
- MODE: "code-change"
- UPLOAD_BUILD: "true"
+ - when: never
before_script:
- 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"`
script: