X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Frtd-verify.sh;h=b1a83fadeb49f14e6d1b220587ce7e3561084aeb;hb=03a8000420795c1275e9496b0dce978dabad01c4;hp=e91dd71c6dd79aec179b9fb4b33dc6d0eb7f3804;hpb=9782f58bfec1b324e092e17d42674b44797f2a12;p=releng%2Fglobal-jjb.git diff --git a/shell/rtd-verify.sh b/shell/rtd-verify.sh index e91dd71c..b1a83fad 100644 --- a/shell/rtd-verify.sh +++ b/shell/rtd-verify.sh @@ -34,12 +34,14 @@ for submod in $(git config -f .gitmodules --get-regexp '^submodule\.(.+)\.url' | done +# shellcheck disable=SC1090 +. ~/lf-env.sh + +lf-activate-venv --python python3.8 --venv-file /tmp/.toxenv tox==3.27.1 tox-pyenv virtualenv + # When a new commands are added in lftools, the docs verify job needs to # run the new command which requires installing the lftools dev version if [[ $JOB_NAME == "lf-infra-lftools-rtd-verify-any" ]]; then - # shellcheck disable=SC1090 - source ~/lf-env.sh - lf-activate-venv pip pip install -e . fi