Technical Investigation: Code Quality template without DinD
Topic to Evaluate
If we were able to run the code quality template without a requirement of running on the Docker-in-docker runners, we would solve several problems:
- For security reasons, customers on self-hosted instances or on dot com with their own runners may disable the privileged option on their runners
- The code quality job startup time can be slow, when using DinD (#233001 (closed))
- (Potentially) The code quality job is difficult to configure for runners that are spun up in Kubernetes (#29976 (comment 421638881))
Tasks to Evaluate
-
Determine feasibility of the feature -
Create issue for implementation or update existing implementation issue description with implementation proposal -
Set weight on implementation issue -
If weight is greater than 5, break issue into smaller issues -
Add task -
Add task
Risks and Implementation Considerations
It may not be possible to generate the code climate report without running their distributable docker image.
Proposal
-
Create documentation for CodeQuality starting from this draft that guides users on setting up a private runner for CodeQuality jobs. !49788 (merged) -
Create a follow-up issue to discuss the efficiency of CodeQuality jobs on gitlab.com shared runners. #292984 (closed)
Edited by drew stachon