Skip to content
Snippets Groups Projects

Allow configurable docker socket path for CodeQuality

Merged Vasilii Iakliushin requested to merge 409738_allow_configurable_docker_path into master

What does this MR do and why?

#409738 (closed)

This MR exposes an environment variable DOCKER_SOCKET_PATH to configure the docker socket path in cases where the path is not /var/run/docker.sock. Example use case would be for rootless DinD, where socket path is /var/run/user/<USERID>/docker.sock

Support for configuring the DOCKER_SOCKET_PATH variable for the CodeQuality Docker images was added in the following MR: gitlab-org/ci-cd/codequality!73 (merged)

This MR closes the loop on exposing the option out to pipeline authors who use the Code Quality Job template, and might need to set this depending on their environment.

Screenshots or screen recordings

n/a

How to set up and validate locally

n/a

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Merged results pipeline #938606153 passed

Pipeline: GitLab

#938610516

    Pipeline: GitLab

    #938610514

      Pipeline: GitLab

      #938610529

        +1

        Merged results pipeline passed for 6b71378b

        Merged by Lucas CharlesLucas Charles 1 year ago (Jul 20, 2023 5:04pm UTC)

        Loading

        Pipeline #939223521 passed

        Pipeline passed for a3fec72e on master

        Test coverage 66.55% from 0 jobs
        10 environments impacted.

        Activity

        Filter activity
        • Approvals
        • Assignees & reviewers
        • Comments (from bots)
        • Comments (from users)
        • Commits & branches
        • Edits
        • Labels
        • Lock status
        • Mentions
        • Merge request status
        • Tracking
        Please register or sign in to reply
        Loading