diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-06 12:10:04 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-06 12:10:04 +0000 |
commit | 53fb4ad16325d4963fdc5396b8510ab748a45e50 (patch) | |
tree | b1bd9ce5cbff5bf9c94f60fee3db86d3d53ffadc /doc/ci/testing | |
parent | f57ca9a5fc582232e23b2495812d57bf6f64313b (diff) | |
download | gitlab-ce-53fb4ad16325d4963fdc5396b8510ab748a45e50.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/ci/testing')
-rw-r--r-- | doc/ci/testing/code_quality.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/ci/testing/code_quality.md b/doc/ci/testing/code_quality.md index 8e1c3d72d3d..6b0c6aa4567 100644 --- a/doc/ci/testing/code_quality.md +++ b/doc/ci/testing/code_quality.md @@ -687,3 +687,13 @@ For example: variables: TIMEOUT_SECONDS: 3600 ``` + +### Using Code Quality with Kubernetes CI executor + +Code Quality requires a Docker in Docker setup to work. The Kubernetes executor already [has support for this](https://docs.gitlab.com/runner/executors/kubernetes.md#using-dockerdind). + +To ensure Code Quality jobs can run on a Kubernetes executor: + +- If you're using TLS to communicate with the Docker daemon, the executor [must be running in privileged mode](https://docs.gitlab.com/runner/executors/kubernetes.html#other-configtoml-settings). Additionally, the certificate directory must be [specified as a volume mount](../docker/using_docker_build.md#docker-in-docker-with-tls-enabled-in-kubernetes). +- It is possible that the DinD service doesn't start up fully before the Code Quality job starts. This is a limitation documented in +the [Kubernetes executor for GitLab Runner](https://docs.gitlab.com/runner/executors/kubernetes.html#docker-cannot-connect-to-the-docker-daemon-at-tcpdocker2375-is-the-docker-daemon-running) troubleshooting section. |