X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Frtd-verify.sh;h=29a991b5b35fc5794ffdb387979a696273020327;hb=a86978478e005c9ab1ad7fbf24712288f7e6db65;hp=ea3aca7e0456a26dd694737e02bfac5eea2f5cef;hpb=a84f98eb5f612bff6f751e576dc34d41fed76609;p=releng%2Fglobal-jjb.git diff --git a/shell/rtd-verify.sh b/shell/rtd-verify.sh index ea3aca7e..29a991b5 100644 --- a/shell/rtd-verify.sh +++ b/shell/rtd-verify.sh @@ -29,10 +29,18 @@ fi git fetch origin "$GERRIT_REFSPEC" && git checkout FETCH_HEAD git submodule update +for submod in $(git config -f .gitmodules --get-regexp '^submodule\.(.+)\.url' | awk -e '{print $1}'); do + git config --get "$submod" +done + +# 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"