Skip to content

Commit 037e1ee

Browse files
authored
gitlab: improve documentation (#106)
1 parent 50707ae commit 037e1ee

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

docs/running-clusterfuzzlite/gitlab.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ To enable more features, we recommend having different jobs for:
3838
To add a fuzzing job that fuzzes all merge requests to your repo, add the
3939
following default configurations to `.gitlab-ci.yml`:
4040

41+
This configuration requires at least GitLab 13.3 to be run.
42+
With older versions, the `parallel` keywords does not exist, but you can define `SANITIZER` as a Gitlab CI variable.
43+
4144
{% raw %}
4245
```yaml
4346
variables:
@@ -48,7 +51,7 @@ clusterfuzzlite:
4851
image:
4952
name: gcr.io/oss-fuzz-base/clusterfuzzlite-run-fuzzers:v1
5053
entrypoint: [""]
51-
stage: fuzz
54+
stage: test
5255
parallel:
5356
matrix:
5457
- SANITIZER: [address, undefined]
@@ -96,7 +99,7 @@ clusterfuzzlite-corpus:
9699
image:
97100
name: gcr.io/oss-fuzz-base/clusterfuzzlite-run-fuzzers:v1
98101
entrypoint: [""]
99-
stage: fuzz
102+
stage: test
100103
rules:
101104
- if: $MODE == "prune"
102105
- if: $MODE == "batch"
@@ -136,7 +139,7 @@ clusterfuzzlite-build:
136139
image:
137140
name: gcr.io/oss-fuzz-base/clusterfuzzlite-run-fuzzers:v1
138141
entrypoint: [""]
139-
stage: fuzz
142+
stage: test
140143
rules:
141144
# Use $CI_DEFAULT_BRANCH or $CFL_BRANCH.
142145
- if: $CI_COMMIT_BRANCH == $CFL_BRANCH && $CI_PIPELINE_SOURCE == "push"
@@ -165,7 +168,7 @@ clusterfuzzlite-coverage:
165168
image:
166169
name: gcr.io/oss-fuzz-base/clusterfuzzlite-run-fuzzers:v1
167170
entrypoint: [""]
168-
stage: fuzz
171+
stage: test
169172
variables:
170173
SANITIZER: "coverage"
171174
rules:

0 commit comments

Comments
 (0)