Skip to content
Snippets Groups Projects
  • Kamil Trzcinski's avatar
    dbd7e7ee
    Refactor docker-machine calls · dbd7e7ee
    Kamil Trzcinski authored
    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
    dbd7e7ee
    History
    Refactor docker-machine calls
    Kamil Trzcinski authored
    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
Code owners
Assign users and groups as approvers for specific file changes. Learn more.