Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix shellcheck errors in scripts
[releng/global-jjb.git]
/
shell
/
rtd-verify.sh
diff --git
a/shell/rtd-verify.sh
b/shell/rtd-verify.sh
index
ea3aca7
..
a1b1330
100644
(file)
--- 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
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
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"
fi
echo "---> Generating docs"