Skip to content

Commit

Permalink
Merge branch 'v0.3' into v0.4 [doc only]
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Jansen <[email protected]>
  • Loading branch information
farodin91 committed Dec 11, 2020
2 parents 52b2237 + 91c591d commit 9fb5726
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 39 deletions.
38 changes: 0 additions & 38 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ env:

stages:
- test
- documentation
- deploy

x-template:
&FULL_BUILD_JOB
Expand Down Expand Up @@ -208,42 +206,6 @@ jobs:
-i janusgraph/analysis;
if: branch = coverity_scan

- stage: documentation
install: docker build -t doc-site:mkdocs -f docs.Dockerfile .
script:
- echo "Updating configuration markdown";
mvn --quiet clean install -DskipTests=true -pl janusgraph-doc -am;
- echo "Check for changes in configuration";
git diff --exit-code docs/basics/janusgraph-cfg.md;
- docker run --rm -v $PWD:/mkdocs doc-site:mkdocs mkdocs build

- stage: deploy
install: skip
script: skip
before_deploy:
- echo "Download documentation generator";
curl -sfL https://raw.githubusercontent.com/containous/structor/master/godownloader.sh | bash -s -- -b $GOPATH/bin ${STRUCTOR_VERSION}
- echo "Build documentation";
sudo "$GOPATH/bin/structor" -o janusgraph -r janusgraph \
--force-edit-url \
--rqts-url="https://raw.githubusercontent.com/janusgraph/janusgraph/master/requirements.txt"
--dockerfile-url="https://raw.githubusercontent.com/janusgraph/janusgraph/master/docs.Dockerfile" \
--menu.js-url="https://raw.githubusercontent.com/janusgraph/janusgraph/master/docs/theme/structor-menu.js.gotmpl" \
--exp-branch=master --debug;
sudo chown -R $UID site;
deploy:
provider: pages
repo: JanusGraph/docs.janusgraph.org
target_branch: master
edge: false
github_token: ${GITHUB_TOKEN}
local_dir: site
skip_cleanup: true
on:
repo: JanusGraph/janusgraph
all_branches: true
condition: $TRAVIS_BRANCH =~ ^master$|^v[0-9.]+$

# https://docs.travis-ci.com/user/customizing-the-build#Rows-that-are-Allowed-to-Fail
allow_failures:
- env: MODULE='hadoop-parent/janusgraph-hadoop-2' ARGS='-DskipHBase -DskipCassandra -DskipCassandra3=false -Dcassandra.docker.version=3.0.18'
Expand Down
2 changes: 1 addition & 1 deletion docs.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ COPY requirements.txt /mkdocs/
WORKDIR /mkdocs
VOLUME /mkdocs

RUN apk --no-cache --no-progress add py3-regex py3-pip \
RUN apk --no-cache --no-progress add py3-regex py3-pip py3-wheel \
&& pip3 install --user -r requirements.txt

0 comments on commit 9fb5726

Please sign in to comment.