Skip to content

WIP: Refactor docker-machine calls

This reduces number of API calls using docker-machine, since some of the data are cached.

  • Use Exist instead of CanConnect when acquiring machine
  • Cache DockerCredentials to not call it every time, just check the machine state with CanConnect (consumes one request per build)
  • Refactor Use to unconditionally allocate machine if we can't connect to existing one

@tmaczukin what do you think?

Edited by Kamil Trzciński (Back 2025-01-01)

Merge request reports

Loading