Skip to content

Display used custom helper image version in CI logs

What does this MR do?

Adds displaying gitlab-runner-helper image in the CI logs if it is set up to the custom value in gitlab-runner's configuration file.

Before:

Running with gitlab-runner 13.6.0~beta.128.gb2a5ff18 (b2a5ff18)
  on zeroplug q6pruU5_

After:

Running with gitlab-runner 13.6.0~beta.128.gb2a5ff18 (b2a5ff18)
  on zeroplug q6pruU5_
  using helper image gitlab/gitlab-runner-helper:x86_64-ebcdf469-servercore1903

Why was this MR needed?

What's the best way to test this MR?

Set up one of the container runtime executors (docker, docker+machine, kubernetes) with helper_image parameter set up as documented at overriding-the-helper-image. Then register gitlab-runner to the project and run it. At every CI job this instance of gitlab-runner runs, it should print used helper image in first lines of the job's log.

What are the relevant issue numbers?

#2387

Edited by Kacper Betański

Merge request reports