From: Jessica Wagantall Date: Wed, 9 Dec 2020 19:08:39 +0000 (-0800) Subject: Activate virtual env for logs-deploy X-Git-Tag: v0.59.0^0 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=413bdb2e77dcc2055e05476930f13874a2fae244;p=releng%2Fglobal-jjb.git Activate virtual env for logs-deploy Activate lftools env before processing the logs-deploy script. This will allow us to fetch the latest version of pyOpenSSL and cryptography to resolve the following issue: https://github.com/pyca/pyopenssl/issues/973 Signed-off-by: Jessica Wagantall Change-Id: Ib8872cad64630573cf6209ce1012dd5d5eb7cf69 --- diff --git a/releasenotes/notes/logs-deploy-enable-venv-0b69d64e1f8b18a5.yaml b/releasenotes/notes/logs-deploy-enable-venv-0b69d64e1f8b18a5.yaml new file mode 100644 index 00000000..d2ffbaea --- /dev/null +++ b/releasenotes/notes/logs-deploy-enable-venv-0b69d64e1f8b18a5.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Activate lftools env before processing the logs-deploy script. + This will allow us to fetch the latest version of pyOpenSSL and cryptography + to resolve the following issue https://github.com/pyca/pyopenssl/issues/973 diff --git a/shell/logs-deploy.sh b/shell/logs-deploy.sh index 2009c327..647f9c59 100644 --- a/shell/logs-deploy.sh +++ b/shell/logs-deploy.sh @@ -10,6 +10,10 @@ ############################################################################## echo "---> logs-deploy.sh" +# shellcheck disable=SC1090 +source ~/lf-env.sh +lf-activate-venv lftools + # Ensure we fail the job if any steps fail # Disable 'globbing' set -euf -o pipefail