X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Frtd-verify.sh;h=2894122ae5f275a6b072795bbf25381771a7f1dd;hb=refs%2Fchanges%2F59%2F72659%2F3;hp=e91dd71c6dd79aec179b9fb4b33dc6d0eb7f3804;hpb=f0bbe30430ddc68de0024649b7999d6157f0b013;p=releng%2Fglobal-jjb.git diff --git a/shell/rtd-verify.sh b/shell/rtd-verify.sh index e91dd71c..2894122a 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 --venv-file /tmp/.toxenv tox 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