summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
d53c8f0)
Some projects (e.g. Fuel, Armband) embed their own git submodules,
which are picked up by Sphinx during RTD verify job, leading to a lot
of issues (e.g. duplicate labels since Armband includes Fuel as a git
submodule of its own).
Change-Id: I771f7c95334fc25c82cc8b14ee2064b043d9e321
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
if [ "$GERRIT_PROJECT" != "opnfvdocs" ]; then
cd docs/submodules/$GERRIT_PROJECT
git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD
if [ "$GERRIT_PROJECT" != "opnfvdocs" ]; then
cd docs/submodules/$GERRIT_PROJECT
git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD
else
git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD
fi
else
git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD
fi
+ if [ -d docs/subdmodules ]; then
+ for project in docs/submodules/*; do
+ cd $project && git submodule deinit -f . && cd -
+ done
+ fi
- shell: |
sudo pip install virtualenv
virtualenv $WORKSPACE/venv
- shell: |
sudo pip install virtualenv
virtualenv $WORKSPACE/venv