Skip to content

Commit 77fde8c

Browse files
Fix gitlab instructions (#112)
* Update gitlab.md * Update gitlab.md
1 parent 80105a7 commit 77fde8c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/running-clusterfuzzlite/gitlab.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,17 @@ With older versions, the `parallel` keywords does not exist, but you can define
4646
variables:
4747
SANITIZER: address
4848
CFL_PLATFORM: gitlab
49+
DOCKER_HOST: "tcp://docker:2375"
50+
DOCKER_IN_DOCKER: "true"
51+
4952

5053
clusterfuzzlite:
5154
image:
5255
name: gcr.io/oss-fuzz-base/clusterfuzzlite-run-fuzzers:v1
5356
entrypoint: [""]
57+
services:
58+
- docker:dind
59+
5460
stage: test
5561
parallel:
5662
matrix:
@@ -99,6 +105,8 @@ clusterfuzzlite-corpus:
99105
image:
100106
name: gcr.io/oss-fuzz-base/clusterfuzzlite-run-fuzzers:v1
101107
entrypoint: [""]
108+
services:
109+
- docker:dind
102110
stage: test
103111
rules:
104112
- if: $MODE == "prune"
@@ -139,6 +147,8 @@ clusterfuzzlite-build:
139147
image:
140148
name: gcr.io/oss-fuzz-base/clusterfuzzlite-run-fuzzers:v1
141149
entrypoint: [""]
150+
services:
151+
- docker:dind
142152
stage: test
143153
rules:
144154
# Use $CI_DEFAULT_BRANCH or $CFL_BRANCH.
@@ -168,6 +178,8 @@ clusterfuzzlite-coverage:
168178
image:
169179
name: gcr.io/oss-fuzz-base/clusterfuzzlite-run-fuzzers:v1
170180
entrypoint: [""]
181+
services:
182+
- docker:dind
171183
stage: test
172184
variables:
173185
SANITIZER: "coverage"

0 commit comments

Comments
 (0)