X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Frtd-verify.sh;fp=shell%2Frtd-verify.sh;h=7c9091f5720250890294fd00efe1530d995d22c5;hb=6e5577633a5a529101e5de6f0c2327c02a429099;hp=e91dd71c6dd79aec179b9fb4b33dc6d0eb7f3804;hpb=ba295fde28c77759e082019d9e6d450ea0676db6;p=releng%2Fglobal-jjb.git diff --git a/shell/rtd-verify.sh b/shell/rtd-verify.sh index e91dd71c..7c9091f5 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 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