This will allow future scripts to use yq package.
Change-Id: Ic855363698cfeb28c5f3428dd381f42c3ea5b1a3
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
--- /dev/null
+---
+other:
+ - |
+ Add yq install as part of python-tools-install.sh
+ Allow future scripts to use yq package.
-#!/bin/bash
+#!/bin/bash -l
# SPDX-License-Identifier: EPL-1.0
##############################################################################
# Copyright (c) 2019 The Linux Foundation and others.
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
python-openstackclient~=3.16.0
dogpile.cache~=0.6.8 # Version 0.7.[01] seems to break openstackclient
niet~=1.4.2 # Extract values from yaml
+yq~=2.7.2
EOF
# Use `python -m pip` to ensure we are using the latest version of pip