Fix gates (helm install, xenial image)

* skip the repository update when running 'helm init'
* install pip < 21 in xenial dockerfile

Change-Id: I0ab40dc371b5632d8d4c11899b6340ade2b82455
This commit is contained in:
Phil Sphicas 2021-02-28 06:30:13 +00:00
parent 598f288f7b
commit 77c0e6a7d4
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ RUN set -ex \
&& make install \
&& cd .. \
&& rm -fr libyaml \
&& python3 -m pip install -U pip \
&& python3 -m pip install -U 'pip<21.0' \
&& pip3 install -r requirements.txt --no-cache-dir \
&& apt-get purge -y --auto-remove $buildDeps \
&& apt-get autoremove -yqq --purge \

View File

@ -24,7 +24,7 @@ SERVE_DIR=$(mktemp -d)
HTK_STABLE_COMMIT=${HTK_COMMIT:-"4fe6212dad6e3f07d43122485d60ab8f38642293"}
${HELM} init --client-only
${HELM} init --client-only --skip-refresh
if [[ -s ${HELM_PIDFILE} ]]; then
HELM_PID=$(cat "${HELM_PIDFILE}")