From 413bdb2e77dcc2055e05476930f13874a2fae244 Mon Sep 17 00:00:00 2001 From: Jessica Wagantall Date: Wed, 9 Dec 2020 11:08:39 -0800 Subject: [PATCH] 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 --- releasenotes/notes/logs-deploy-enable-venv-0b69d64e1f8b18a5.yaml | 6 ++++++ shell/logs-deploy.sh | 4 ++++ 2 files changed, 10 insertions(+) create mode 100644 releasenotes/notes/logs-deploy-enable-venv-0b69d64e1f8b18a5.yaml 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 -- 2.16.6