Thread (1 message) 1 message, 1 author, 2019-07-03

Re: [PATCH 2/2] ci: disable Homebrew's auto cleanup

From: Junio C Hamano <hidden>
Date: 2019-07-03 16:58:28

SZEDER Gábor [off-list ref] writes:
On Wed, Jul 03, 2019 at 02:26:21PM +0200, Thomas Braun wrote:
quoted
Am 03.07.2019 um 12:47 schrieb SZEDER Gábor:
quoted
Lately Homebrew learned to automagically clean up information about
outdated packages during other 'brew' commands, which might be useful
for the avarage user, but is a waste of time in CI build jobs, because
the next build jobs will start from the exact same image containing
the same outdated packages anyway.

Export HOMEBREW_NO_AUTO_UPDATE=1 to disable this auto cleanup feature,
The patch below adds HOMEBREW_NO_INSTALL_CLEANUP so maybe you meant
HOMEBREW_NO_INSTALL_CLEANUP here as well?
Thanks, good catch.  Apparently copy-pasted the wrong env var from the
patch to the commit message...
Applied an obvious rewording manually while queuing.

Thanks.

commit af8ed04778781f2013d26cc450173190fb5876d6
Author: SZEDER Gábor [off-list ref]
Date:   Wed Jul 3 12:47:48 2019 +0200

    ci: disable Homebrew's auto cleanup
    
    Lately Homebrew learned to automagically clean up information about
    outdated packages during other 'brew' commands, which might be useful
    for the avarage user, but is a waste of time in CI build jobs, because
    the next build jobs will start from the exact same image containing
    the same outdated packages anyway.
    
    Export HOMEBREW_NO_INSTALL_CLEANUP=1 to disable this auto cleanup feature,
    shaving off about 20-30s from the time needed to install dependencies
    in our macOS build jobs on Travis CI.
    
    Signed-off-by: SZEDER Gábor [off-list ref]
    Signed-off-by: Junio C Hamano [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help