From d083608a5ed97fd7b932d66bbd8bdee875a4e6b1 Mon Sep 17 00:00:00 2001 From: Ryota MIBU Date: Wed, 13 Jan 2016 15:04:08 +0900 Subject: composite doc: limit project to import Change-Id: Ie358ef46d9bd46e66e4562e05b0fec20b3f1d3c2 Signed-off-by: Ryota MIBU --- build-composite.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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 -- cgit 1.2.3-korg