From: Ryota MIBU Date: Wed, 13 Jan 2016 06:04:08 +0000 (+0900) Subject: composite doc: limit project to import X-Git-Tag: brahmaputra.1.0~35 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F79%2F6479%2F1;p=opnfvdocs.git composite doc: limit project to import Change-Id: Ie358ef46d9bd46e66e4562e05b0fec20b3f1d3c2 Signed-off-by: Ryota MIBU --- diff --git a/build-composite.sh b/build-composite.sh index 212837682..2175f5ca7 100755 --- a/build-composite.sh +++ b/build-composite.sh @@ -8,6 +8,13 @@ set -o xtrace GIT_CLONE_BASE=${GIT_CLONE_BASE:-ssh://gerrit.opnfv.org:29418} GERRIT_BRANCH=${GERRIT_BRANCH:-master} +get_repo_names() { + # Note: Not all repositories are ready for the composite docs, + # so we have the repo name list here to add project docs + # one by one. This will be replaced by the list in project.cfg . + # grep -v '^#' releng/jjb/opnfvdocs/project.cfg | sort + echo "sdnvpn" +} git_clone() { _repo="$1" @@ -16,10 +23,9 @@ git_clone() { git clone -b $GERRIT_BRANCH --depth 1 --quiet $GIT_CLONE_BASE/$_repo } - git_clone releng -repos=$(grep -v '^#' releng/jjb/opnfvdocs/project.cfg | sort) +repos=$(get_repo_names) [[ -e docs/projects ]] && rm -rf docs/projects mkdir -p docs/projects