From d4ac063163318691fb414df61dfaec8991d31d7d Mon Sep 17 00:00:00 2001 From: Chris Wedgwood Date: Mon, 22 Oct 2018 00:06:26 +0000 Subject: [PATCH] [gate] allow pip caching The pip cache is useful for repeat operations and doesn't seem to have any real downsides. Change-Id: Iadb21a118f8d725911a9baa6a9264b8644012af9 --- tools/gate/devel/start.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/gate/devel/start.sh b/tools/gate/devel/start.sh index 25194aca4..aa6e9ed31 100755 --- a/tools/gate/devel/start.sh +++ b/tools/gate/devel/start.sh @@ -54,18 +54,18 @@ function ansible_install { jq fi - sudo -H -E pip install --no-cache-dir --upgrade pip - sudo -H -E pip install --no-cache-dir --upgrade setuptools + sudo -H -E pip install --upgrade pip + sudo -H -E pip install --upgrade setuptools # NOTE(lamt) Preinstalling a capped version of cmd2 to address bug: # https://github.com/python-cmd2/cmd2/issues/421 - sudo -H -E pip install --no-cache-dir --upgrade "cmd2<=0.8.7" - sudo -H -E pip install --no-cache-dir --upgrade pyopenssl + sudo -H -E pip install --upgrade "cmd2<=0.8.7" + sudo -H -E pip install --upgrade pyopenssl # NOTE(srwilkers): Pinning ansible to 2.5.5, as pip installs 2.6 by default. # 2.6 introduces a new command flag (init) for the docker_container module # that is incompatible with what we have currently. 2.5.5 ensures we match # what's deployed in the gates - sudo -H -E pip install --no-cache-dir --upgrade "ansible==2.5.5" - sudo -H -E pip install --no-cache-dir --upgrade \ + sudo -H -E pip install --upgrade "ansible==2.5.5" + sudo -H -E pip install --upgrade \ ara \ yq }