Skip to content

Code-Quality: automatically clean-up container after it has run

zertrin requested to merge zertrin/gitlab:zertrin-master-patch-41548 into master

What does this MR do?

Adds the --rm option to docker run in Code-Quality.gitlab-ci.yml such that the code quality container is automatically cleaned up after it has run.

This addresses issue #335963 (closed) whereby the temporary containers used by the Code-Quality template are not removed after job, for example when using dedicated gitlab-runner without docker-in-docker.

Screenshots or Screencasts (strongly suggested)

N/A

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

DISCLAIMER : I have not tested this change myself. As a simple gitlab user, I do not have the ability to build my own gitlab in a test environment for testing. This proposed change is my best guess about how to solve issue #335963 (closed) but should be reviewed by code owners.

Edited by Marcel Amirault

Merge request reports