Skip to content

Set default PATH for helper image

msvechla requested to merge msvechla/gitlab-runner:set-default-path into master

What does this MR do?

Set the default PATH environment variable of the gitlab-runner-helper image, if it has not yet been set.

Why was this MR needed?

Currently gitlab-runner is not working on containerd v1.2.8, as during the startup of the helper image sh -c ... is invoked without an absolute path. This is caused by recent changes in `containerd. For more details see #4684 (closed)

Does this MR meet the acceptance criteria?

  • Documentation created/updated
  • Added tests for this feature/bug
  • In case of conflicts with master - branch was rebased

What are the relevant issue numbers?

closes #4684 (closed)

Edited by Steve Xuereb

Merge request reports