cog
7b97da53 - Add fast pusher for fast builds (#2114)

Commit
336 days ago
Add fast pusher for fast builds (#2114) * Add fast pusher for fast builds * Separates push into standard and fast * Generates the necessary tar files to push * Calls the backend to create a file to push * Add Login Token to HTTP POST request * Remove redundant tar files * When building/pushing make sure we remove redundant tar files we have created previously. * Add tests to fast push * Fix injecting docker command into push * Add LoadLoginToken to docker command object * Add a create src tarfile error * Mock CreateTarFile * Format generate apt tarball errors * Inject the docker command object * Allow mocking of docker exec commands * Use command to create apt tar file * Fix bad variable assignment * Remove aptTarPath assignment * Add a comment on the use of image on CreateTarFile * Change the config arg to a packages array arg * Use snakeCase for apt tarball prefix/suffix consts * Use snakeCase in fast push consts * Use error groups to wait for multiple uploads * Remove ineffectual assignment * Do not use url as a variable name * Remove size from the backend call * Set test environment with t.Setenv * Put MockCommand in dockertest package * Fix pip_freeze integration test
Author
Parents
Loading