X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fopnfvdocs%2Fdocs-rtd.yaml;h=a8d29e4b447f7d6224b5d2307fe4ec2fc3716a35;hb=a984ebe7ce29689cd65cb248d4bd9ea57498387f;hp=fbf2969bd9ef722f6515361031fe2c60b2bb9a48;hpb=13e1af6c2d48496274b7a3efc63e24ee9d25138f;p=releng.git diff --git a/jjb/opnfvdocs/docs-rtd.yaml b/jjb/opnfvdocs/docs-rtd.yaml index fbf2969bd..a8d29e4b4 100644 --- a/jjb/opnfvdocs/docs-rtd.yaml +++ b/jjb/opnfvdocs/docs-rtd.yaml @@ -14,8 +14,6 @@ branch: 'stable/{stream}' - danube: branch: 'stable/{stream}' - - euphrates: - branch: 'stable/{stream}' project: 'opnfvdocs' rtdproject: 'opnfv' @@ -81,29 +79,11 @@ triggers: - gerrit-trigger-patchset-created: server: 'gerrit.opnfv.org' - project: '**' + project: 'opnfvdocs' branch: '{branch}' files: 'docs/**' builders: - - shell: | - if [ "$GERRIT_PROJECT" != "opnfvdocs" ]; then - # Temporary hacky solution to handle local builds for projects - # that already moved away from submodules - if ! cd docs/submodules/$GERRIT_PROJECT 2 > /dev/null; then - rm -rf .* * 2 > /dev/null - git clone ${{GIT_BASE/opnfvdocs/$GERRIT_PROJECT}} . - fi - git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD - cd - - 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 -H pip install virtualenv virtualenv $WORKSPACE/venv