Fix: Install missing dependency - yq 62/70662/1 v0.81.2
authorAnil Belur <abelur@linuxfoundation.org>
Sun, 18 Sep 2022 02:09:06 +0000 (12:09 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Sun, 18 Sep 2022 02:25:13 +0000 (12:25 +1000)
Install yq in the venv that is called by the builder scripts of
RTDv3 and docker jobs.

Effect of changes to lf-activate-venv() from CR I559f759a8dba7

Issue-ID: RELENG-4403
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: If9ff9ab247812b9997ba8a2d96e5bd4a50dfd54a

releasenotes/notes/add-venv-deps-46775189f9aa07d8.yaml [new file with mode: 0644]
shell/docker-get-container-tag.sh
shell/rtdv3.sh

diff --git a/releasenotes/notes/add-venv-deps-46775189f9aa07d8.yaml b/releasenotes/notes/add-venv-deps-46775189f9aa07d8.yaml
new file mode 100644 (file)
index 0000000..3c7fefe
--- /dev/null
@@ -0,0 +1,5 @@
+---
+fixes:
+  - |
+    Install yq in the venv that is called by the builder scripts of
+    RTDv3 and docker jobs.
index f3beff0..f0e7d43 100644 (file)
@@ -18,6 +18,11 @@ echo "---> docker-get-container-tag.sh"
 
 set -feu -o pipefail
 
+# shellcheck disable=SC1090
+. ~/lf-env.sh
+
+lf-activate-venv --python python3 yq
+
 tag=""
 if [[ $CONTAINER_TAG_METHOD == "latest" ]]; then
     tag="latest"
index 66a6a76..dab571c 100644 (file)
@@ -14,7 +14,7 @@ set -euo pipefail
 # shellcheck disable=SC1090
 . ~/lf-env.sh
 
-lf-activate-venv --python python3 lftools
+lf-activate-venv --python python3 lftools yq
 
 watchbuild(){
     echo "INFO: Running build against branch $1"