[gate] allow pip caching
The pip cache is useful for repeat operations and doesn't seem to have any real downsides. Change-Id: Iadb21a118f8d725911a9baa6a9264b8644012af9
This commit is contained in:
parent
b99d39dd95
commit
d4ac063163
@ -54,18 +54,18 @@ function ansible_install {
|
|||||||
jq
|
jq
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sudo -H -E pip install --no-cache-dir --upgrade pip
|
sudo -H -E pip install --upgrade pip
|
||||||
sudo -H -E pip install --no-cache-dir --upgrade setuptools
|
sudo -H -E pip install --upgrade setuptools
|
||||||
# NOTE(lamt) Preinstalling a capped version of cmd2 to address bug:
|
# NOTE(lamt) Preinstalling a capped version of cmd2 to address bug:
|
||||||
# https://github.com/python-cmd2/cmd2/issues/421
|
# 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 --upgrade "cmd2<=0.8.7"
|
||||||
sudo -H -E pip install --no-cache-dir --upgrade pyopenssl
|
sudo -H -E pip install --upgrade pyopenssl
|
||||||
# NOTE(srwilkers): Pinning ansible to 2.5.5, as pip installs 2.6 by default.
|
# 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
|
# 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
|
# that is incompatible with what we have currently. 2.5.5 ensures we match
|
||||||
# what's deployed in the gates
|
# what's deployed in the gates
|
||||||
sudo -H -E pip install --no-cache-dir --upgrade "ansible==2.5.5"
|
sudo -H -E pip install --upgrade "ansible==2.5.5"
|
||||||
sudo -H -E pip install --no-cache-dir --upgrade \
|
sudo -H -E pip install --upgrade \
|
||||||
ara \
|
ara \
|
||||||
yq
|
yq
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user