summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2021-12-14 06:44:25 -0800
committerTrevor Bramwell <tbramwell@linuxfoundation.org>2021-12-14 06:44:25 -0800
commit7465ab429f1836441b60960e081c5433bfd48512 (patch)
treec46c5b63a68bee95f70ea06da9797f5246ed5434
parentcab60a16aba053c06bc40e6111321514ef56e12e (diff)
Fix Releng release job virtuenv creations
This script should be more explicit in specifying pip3, and not specify the path to python3. Change-Id: I853b0f6fff8950bc729167a18f98bea591a083f0 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
-rw-r--r--jjb/releng/releng-release-create-venv.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/jjb/releng/releng-release-create-venv.sh b/jjb/releng/releng-release-create-venv.sh
index 0200376a7..7b567a34a 100644
--- a/jjb/releng/releng-release-create-venv.sh
+++ b/jjb/releng/releng-release-create-venv.sh
@@ -10,8 +10,8 @@
set -e -o pipefail
echo "---> Create virtualenv"
-sudo -H pip install virtualenv
-virtualenv -p /usr/bin/python3 $WORKSPACE/venv
+sudo -H pip3 install virtualenv
+virtualenv -p python3 $WORKSPACE/venv
# shellcheck source=$WORKSPACE/venv/bin/activate disable=SC1091
source $WORKSPACE/venv/bin/activate