X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Frtd-verify.sh;h=29a991b5b35fc5794ffdb387979a696273020327;hb=refs%2Fchanges%2F78%2F65678%2F2;hp=86254a10057a3fa4235c915261c5a6d4d79a701e;hpb=d92cb3ee2e72846f2f2dd6e607bc8e76087f1965;p=releng%2Fglobal-jjb.git diff --git a/shell/rtd-verify.sh b/shell/rtd-verify.sh index 86254a10..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 --user -e . + # shellcheck disable=SC1090 + source ~/lf-env.sh + lf-activate-venv pip + pip install -e . fi echo "---> Generating docs"