Fix: Install yq through lf-activate-venv 69/70569/1 v0.80.1
authorAnil Belur <abelur@linuxfoundation.org>
Tue, 30 Aug 2022 11:31:05 +0000 (21:31 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Tue, 30 Aug 2022 11:31:05 +0000 (21:31 +1000)
Install yq through lf-activate-venv instead of the
python tools install script.

Change-Id: Ifd36a7820854e2a1ee15447c966fc3e4629c9fe4
Issue-ID: RELENG-4357
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
releasenotes/notes/fix-install-pre-reqs-yq-e60189995577008a.yaml [new file with mode: 0644]
shell/jjb-verify-build-nodes.sh

diff --git a/releasenotes/notes/fix-install-pre-reqs-yq-e60189995577008a.yaml b/releasenotes/notes/fix-install-pre-reqs-yq-e60189995577008a.yaml
new file mode 100644 (file)
index 0000000..4309c2a
--- /dev/null
@@ -0,0 +1,8 @@
+---
+issues:
+  - |
+    yq: command not found
+fixes:
+  - |
+    Install yq through lf-activate-venv rather than using the python
+    tools install script.
index 9c5bfec..c37af67 100644 (file)
@@ -100,6 +100,15 @@ if [[ -n ${EXTERNAL_LABELS:-} ]]; then
     done
 fi
 
+# shellcheck disable=SC1090
+source ~/lf-env.sh
+
+lf-activate-venv yq
+
+# show installed versions
+python -m pip --version
+python -m pip freeze
+
 echo "INFO: label list has ${#labels[@]} entries:"
 echo "INFO:" "${labels[@]}"