diff options
author | Ryota MIBU <r-mibu@cq.jp.nec.com> | 2016-01-13 15:04:08 +0900 |
---|---|---|
committer | Ryota MIBU <r-mibu@cq.jp.nec.com> | 2016-01-13 15:11:24 +0900 |
commit | d083608a5ed97fd7b932d66bbd8bdee875a4e6b1 (patch) | |
tree | a28db71d3ff75e7b998e58d72df05814906966cf | |
parent | d8690d3ab1c99e679fa708f782b4662dc31b80a6 (diff) |
composite doc: limit project to import
Change-Id: Ie358ef46d9bd46e66e4562e05b0fec20b3f1d3c2
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
-rwxr-xr-x | build-composite.sh | 10 |
1 files 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 |