From: Jessica Wagantall Date: Thu, 30 May 2019 05:55:02 +0000 (-0700) Subject: Install yq in docker-get-yaml-tag.sh X-Git-Tag: v0.38.1~3 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=a452768c9a2dd7619fed3882cfbab1057d98dc61;p=releng%2Fglobal-jjb.git Install yq in docker-get-yaml-tag.sh Install yq which will be needed to read container-tag.yaml Change-Id: I0f284675fe45cd2c408a4e1d6933673b744f2735 Signed-off-by: Jessica Wagantall --- diff --git a/releasenotes/notes/docker-install-yq-d821c66986813c2e.yaml b/releasenotes/notes/docker-install-yq-d821c66986813c2e.yaml new file mode 100644 index 00000000..8b1340ed --- /dev/null +++ b/releasenotes/notes/docker-install-yq-d821c66986813c2e.yaml @@ -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. diff --git a/shell/docker-get-yaml-tag.sh b/shell/docker-get-yaml-tag.sh index 2723eee4..936c272f 100644 --- a/shell/docker-get-yaml-tag.sh +++ b/shell/docker-get-yaml-tag.sh @@ -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