Install yq in docker-get-yaml-tag.sh 87/15787/2
authorJessica Wagantall <jwagantall@linuxfoundation.org>
Thu, 30 May 2019 05:55:02 +0000 (22:55 -0700)
committerJessica Wagantall <jwagantall@linuxfoundation.org>
Thu, 30 May 2019 06:13:19 +0000 (23:13 -0700)
Install yq which will be needed to read container-tag.yaml

Change-Id: I0f284675fe45cd2c408a4e1d6933673b744f2735
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
releasenotes/notes/docker-install-yq-d821c66986813c2e.yaml [new file with mode: 0644]
shell/docker-get-yaml-tag.sh

diff --git a/releasenotes/notes/docker-install-yq-d821c66986813c2e.yaml b/releasenotes/notes/docker-install-yq-d821c66986813c2e.yaml
new file mode 100644 (file)
index 0000000..8b1340e
--- /dev/null
@@ -0,0 +1,5 @@
+---
+fixes:
+  - |
+    Install yq to be used to read yaml files. In specific, it will be needed
+    to read container-tag.yaml.
index 2723eee..936c272 100644 (file)
@@ -13,6 +13,10 @@ echo "---> docker-get-yaml-tag.sh"
 
 set -eu -o pipefail
 
+# Install yq to read container-tag.yaml
+python -m pip install --user --quiet --upgrade yq
+export PATH="/home/jenkins/.local/bin:$PATH"
+
 cd "$DOCKER_ROOT"
 container_tag_file=container-tag.yaml