Skip to content

Add missing Docker configuration for docker-autoscaler

What does this MR do?

Fix missing Docker configuration in the generated config.toml file under /home/gitlab-runner/.gitlab-runner/config.toml in Helm K8s deployment when the executor is docker-autoscaler

Why was this MR needed?

Because the Jobs do not start when executor is docker-autoscaler even is the VMs instances managed by instances group are spawned

What's the best way to test this MR?

  • Deploy the gitlab-runner on a K8s cluster using the Helm chart
  • Use docker-autoscaler executor and include both [runners.docker] and [runner.autoscaler] configuration in config.toml equivalent
  • Make sure the generated config.toml file under /home/gitlab-runner/.gitlab-runner/config.toml inside the container contains both Docker and Autoscaler configuration blocks.

What are the relevant issue numbers?

Edited by Nabil ZOUABI

Merge request reports