New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gitlab instructions do not just work. #100
Comments
Do you mean you had to use Docker in Docker instead of sibling docker ? |
I think so yeah. And there was an issue about clusterfuzzlite [address] not being a stage |
So, what do you expect ?
Right, my workaround was to use |
This issue blocks me also. |
@tesslinger did you change the |
@catenacyber thanks, the problem was my gitlab shared runner which was configured wrong |
More people complaining to me about this on discord.
I expect that the example file can be copied and pasted into a repo and works. |
So, I gather that you want it to work on gitlab.com shared runners. I do not think that there exists a gitlab shared runner with Docker socket binding as required in https://google.github.io/clusterfuzzlite/running-clusterfuzzlite/gitlab/#gitlab-runner Do you want me to highlight more this requirement in the doc ? Furthermore, we can document the Docker-in-docker process. (cf #70 (comment) ) I can try it next week. That is likely adding to the right place in .gitlab-ci.yml
But this does not work on hosted gitlab in my experience. |
I can also do some example project on gitlab.com if you wish ;-) |
Shared runners are the default for free users right? Then yes definitely!
I think we need to make this doc as simple as possible for the main users, so if all free users use shared runners I think the example should just be copy-pastable based off that. If the solution for shared runners (docker-in-docker) is suboptimal and fancier users don't have to pay this cost that we can document that.
I have a PR doing thsi I think #112
again, i think it's more important that we support users using the default settings. We can have a section with copy-pastable exampels for enterprise users but I think it's critical that we support non-enterprise users (especially since people will probably try out CFL using a non-enterprise account and quit if it doesn't work for them) |
Some things need to be configured in the Gitlab UI (such as the schedules) and cannot be copy pasted I did #113 to document the Gitlab.com as TL;DR and pushed further the fancy self-managed Gitlab stuff |
so - for me basically the problem was the configuration of the Gitlab runner. If you want, I can provide a PR with the example Gitlab runner config to use docker in docker. In my opinion not everyone uses the Gitlab shared runners, but a self hosted solution. |
@tesslinger Am I understanding correctly that you use a self-hosted solution ? |
Can we close this issue? Seems to be resolved. |
I had to make this config file which borrowed from https://gitlab.com/securitykernel/cflite-example/-/blob/main/.gitlab-ci.yml#L7 because the docs were incomplete.
CC @catenacyber
The text was updated successfully, but these errors were encountered: