Create parent dirs when copy certs while provisioning
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.