From 15c9d4376cf0ab5076ce9eb64e80578ade8403da Mon Sep 17 00:00:00 2001 From: Anil Belur Date: Thu, 17 Oct 2019 15:42:19 +0530 Subject: [PATCH] Update sandbox test steps to use python3 By default virtualenv uses python2.7 which is going to be EOL soon. Change-Id: Ic06458f963deb276321299721c7a31291cf41bbd Signed-off-by: Anil Belur --- docs/jenkins.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/jenkins.rst b/docs/jenkins.rst index 6b694de..fc10379 100644 --- a/docs/jenkins.rst +++ b/docs/jenkins.rst @@ -492,11 +492,11 @@ Example code for lftools changes: # For example replace ${GERRIT_REFSPEC} with 'refs/changes/81/15881/2' git fetch "https://gerrit.linuxfoundation.org/infra/releng/lftools" ${GERRIT_REFSPEC} && git cherry-pick --ff --keep-redundant-commits FETCH_HEAD git log --pretty=format:"%h%x09%an%x09%s" -n5 - virtualenv --quiet "/tmp/lftools-env" + virtualenv --quiet -p $(which python3) "/tmp/lftools-env" set +u source "/tmp/lftools-env/bin/activate" set -u - pip install --quiet -r requirements.txt -e . + pip3 install --quiet -r requirements.txt -e . cd ${WORKSPACE} Example code for global-jjb changes: -- 2.16.6