You are viewing a plain text version of this content. The canonical link for it is here.
Posted to distributedlog-commits@bookkeeper.apache.org by zh...@apache.org on 2017/09/16 10:04:02 UTC
[distributedlog] branch master updated: Update ci.sh script to
build website
This is an automated email from the ASF dual-hosted git repository.
zhaijia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/distributedlog.git
The following commit(s) were added to refs/heads/master by this push:
new 74063e9 Update ci.sh script to build website
74063e9 is described below
commit 74063e93e1d10c1b5e69fb578db1c7a7ac6f5eba
Author: Sijie Guo <si...@apache.org>
AuthorDate: Sat Sep 16 18:03:52 2017 +0800
Update ci.sh script to build website
Descriptions of the changes in this PR:
The ci.sh was copied from bookkeeper project but was updated correctly. This issue is to address the problem.
Author: Sijie Guo <si...@apache.org>
Reviewers: Jia Zhai <None>
This closes #191 from sijie/fix_ci_script
---
website/docker/ci.sh | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/website/docker/ci.sh b/website/docker/ci.sh
index 44c4e23..c909ac7 100755
--- a/website/docker/ci.sh
+++ b/website/docker/ci.sh
@@ -19,7 +19,7 @@ set -e -x -u
SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
-export IMAGE_NAME="bookkeeper/docs"
+export IMAGE_NAME="distributedlog/docs"
pushd ${SCRIPT_DIR}
@@ -46,19 +46,19 @@ RUN groupadd --non-unique -g ${GROUP_ID} ${USER_NAME} && \
ENV HOME /home/${USER_NAME}
UserSpecificDocker
-BOOKKEEPER_DOC_ROOT=${SCRIPT_DIR}/..
+DLOG_DOC_ROOT=${SCRIPT_DIR}/..
-pushd ${BOOKKEEPER_DOC_ROOT}
+pushd ${DLOG_DOC_ROOT}
docker run \
--rm=true \
- -w ${BOOKKEEPER_DOC_ROOT} \
+ -w ${DLOG_DOC_ROOT} \
-u "${USER}" \
- -v "${BOOKKEEPER_DOC_ROOT}:${BOOKKEEPER_DOC_ROOT}" \
+ -v "${DLOG_DOC_ROOT}:${DLOG_DOC_ROOT}" \
-v "${LOCAL_HOME}:/home/${USER_NAME}" \
-e JEKYLL_ENV='production' \
${IMAGE_NAME}-${USER_NAME} \
- bash -c "make setup && make apache"
+ bash -c "make setup && make apache && make production"
popd
--
To stop receiving notification emails like this one, please contact
['"distributedlog-commits@bookkeeper.apache.org" <di...@bookkeeper.apache.org>'].