From a452768c9a2dd7619fed3882cfbab1057d98dc61 Mon Sep 17 00:00:00 2001 From: Jessica Wagantall Date: Wed, 29 May 2019 22:55:02 -0700 Subject: [PATCH] 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 --- releasenotes/notes/docker-install-yq-d821c66986813c2e.yaml | 5 +++++ shell/docker-get-yaml-tag.sh | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 releasenotes/notes/docker-install-yq-d821c66986813c2e.yaml 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 -- 2.16.6