Merge "Use write-good release tag v1.0.4"
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Mon, 14 Dec 2020 17:55:38 +0000 (17:55 +0000)
committerGerrit Code Review <gerrit@linuxfoundation.org>
Mon, 14 Dec 2020 17:55:38 +0000 (17:55 +0000)
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..7522e81 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
 
+# The 'lftool deploy archives' command below expects the archives
+# directory to exist.  Normally lf-infra-sysstat or similar would
+# create it and add content, but to make sure this script is
+# self-contained, we ensure it exists here.
+mkdir -p "$WORKSPACE/archives"
+
 function get_pattern_opts()
 {
     opts=()