Skip to content

Commit 56c75a0

Browse files
committed
gitlab: fix the container id as for all other cases
1 parent 2d5f7ae commit 56c75a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/running-clusterfuzzlite/gitlab.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ clusterfuzzlite-coverage:
189189
rules:
190190
- if: $MODE == "coverage"
191191
before_script:
192-
- export CFL_CONTAINER_ID=`cut -c9- < /proc/1/cpuset`
192+
- 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"`
193193
script:
194194
- python3 "/opt/oss-fuzz/infra/cifuzz/cifuzz_combined_entrypoint.py"
195195
artifacts:

0 commit comments

Comments
 (0)