X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Frtd-verify.sh;h=a1b1330c2255872a8d54c870cd4dfae1c05f2462;hb=0f9b36b3c10d4ae559b96b2bb61676e164d89ca0;hp=ea3aca7e0456a26dd694737e02bfac5eea2f5cef;hpb=30fb028f8fe8376c690c2e0b4e82597a8a66ea05;p=releng%2Fglobal-jjb.git diff --git a/shell/rtd-verify.sh b/shell/rtd-verify.sh index ea3aca7e..a1b1330c 100644 --- a/shell/rtd-verify.sh +++ b/shell/rtd-verify.sh @@ -30,9 +30,14 @@ fi git fetch origin "$GERRIT_REFSPEC" && git checkout FETCH_HEAD git submodule update + +# 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 - # Install patchset lftools - python3 -m pip install -e . + # shellcheck disable=SC1090 + source ~/lf-env.sh + lf-activate-venv pip + pip install -e . fi echo "---> Generating docs"