summaryrefslogtreecommitdiffstats
path: root/jjb/opnfvdocs/docs-rtd.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/opnfvdocs/docs-rtd.yaml')
-rw-r--r--jjb/opnfvdocs/docs-rtd.yaml11
1 files changed, 8 insertions, 3 deletions
diff --git a/jjb/opnfvdocs/docs-rtd.yaml b/jjb/opnfvdocs/docs-rtd.yaml
index 1492a68ff..b4b85f6a0 100644
--- a/jjb/opnfvdocs/docs-rtd.yaml
+++ b/jjb/opnfvdocs/docs-rtd.yaml
@@ -8,12 +8,12 @@
stream:
- master:
branch: 'master'
+ - gambia:
+ branch: 'stable/{stream}'
- fraser:
branch: 'stable/{stream}'
- danube:
branch: 'stable/{stream}'
- - euphrates:
- branch: 'stable/{stream}'
project: 'opnfvdocs'
rtdproject: 'opnfv'
@@ -86,7 +86,12 @@
builders:
- shell: |
if [ "$GERRIT_PROJECT" != "opnfvdocs" ]; then
- cd docs/submodules/$GERRIT_PROJECT
+ # 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