Skip to content

Create parent dirs when copy certs while provisioning

Ivan Pomortsev requested to merge ivan.pomortsev/docker-machine:main into main

NOTE THAT THIS FORK IS MAINTAINED FOR CRITICAL BUG FIXES AFFECTING RUNNING COSTS ONLY. NO OTHER CONTRIBUTIONS WILL BE ACCEPTED.

What critical bug this MR is fixing?

Something changed in new docker-ce deployments so directory "/etc/docker" is not exists after installing. So, provisioning returns an error tee: /etc/docker/ca.pem: No such file or directory and failed. Actually, all the runners are not able to work now.

How does this change help reduce cost of usage? What scale of cost reduction is it?

It doesn't affect cost of usage.

In what scenarios is this change usable with GitLab Runner's docker+machine executor?

Actually, in all of scenarios. But probably, when someone created own linux image, it works anyway because /etc/docker directory exists after running and the error doesn't happen.

Merge request reports