Describe your question in as much detail as possible:
- I am getting the following warning message when I am using the code_quality template, on my private runner. I created the runner just like it was shown in the code quality docs. The job runs nevertheless, but it takes up to 30 additional seconds. Can I prevent the warning from happening?
*** WARNING: Service runner-fqcwvkkc-project-34540096-concurrent-0-c12d73cfef2f1733-docker-0 probably didn't start properly. Health check error: service "runner-fqcwvkkc-project-34540096-concurrent-0-c12d73cfef2f1733-docker-0-wait-for-service" timeout Health check container logs: Service container logs: 2022-08-10T05:20:44.409463627Z ip: can't find device 'ip_tables' 2022-08-10T05:20:44.410846470Z ip_tables 28672 2 iptable_filter,iptable_nat 2022-08-10T05:20:44.410944347Z x_tables 40960 7 xt_nat,xt_tcpudp,xt_conntrack,ipt_MASQUERADE,xt_addrtype,iptable_filter,ip_tables 2022-08-10T05:20:44.411672034Z modprobe: can't change directory to '/lib/modules': No such file or directory 2022-08-10T05:20:44.415057261Z mount: permission denied (are you root?) 2022-08-10T05:20:44.415180346Z Could not mount /sys/kernel/security. 2022-08-10T05:20:44.415192549Z AppArmor detection and --privileged mode might break. 2022-08-10T05:20:44.416933685Z mount: permission denied (are you root?) *********
I am using the GitLab Premium Sass version
Here is my CI file:
code_quality: stage: quality rules: - if: $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master" - if: $CI_COMMIT_REF_NAME == "master" - if: $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "dev" - if: $CI_COMMIT_REF_NAME == "dev" tags: - 'cq-sans-dind' artifacts: paths: [gl-code-quality-report.json]
I am also confused, do I really need to run the report on a merge request and on a merge? Otherwise, it seems that it could not calculate the code quality difference inside the MR.