Activate virtual env for logs-deploy 59/66259/3 v0.59.0
authorJessica Wagantall <jwagantall@linuxfoundation.org>
Wed, 9 Dec 2020 19:08:39 +0000 (11:08 -0800)
committerJessica Wagantall <jwagantall@linuxfoundation.org>
Wed, 9 Dec 2020 19:32:15 +0000 (11:32 -0800)
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 <jwagantall@linuxfoundation.org>
Change-Id: Ib8872cad64630573cf6209ce1012dd5d5eb7cf69

releasenotes/notes/logs-deploy-enable-venv-0b69d64e1f8b18a5.yaml [new file with mode: 0644]
shell/logs-deploy.sh

diff --git a/releasenotes/notes/logs-deploy-enable-venv-0b69d64e1f8b18a5.yaml b/releasenotes/notes/logs-deploy-enable-venv-0b69d64e1f8b18a5.yaml
new file mode 100644 (file)
index 0000000..d2ffbae
--- /dev/null
@@ -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
index 2009c32..647f9c5 100644 (file)
 ##############################################################################
 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