Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

DL-209: Update build script to build distributedlog website under bookkeeper.apache.org/distributedlog#136

Closed
sijie wants to merge 20 commits intoapache:masterfrom
sijie:fix_production_url
Closed

DL-209: Update build script to build distributedlog website under bookkeeper.apache.org/distributedlog#136
sijie wants to merge 20 commits intoapache:masterfrom
sijie:fix_production_url

Conversation

@sijie
Copy link
Copy Markdown
Member

@sijie sijie commented Aug 8, 2017

Problem:

Currently bookkeeper.apache.org/distributedlog is using content at the root of branch asf-site.
distributedlog.incubator.apache.org is using content at content dir of branch asf-site.

The website build script should support both.

Solution:

  • add _config-apache.yml for building website at baseurl /distributedlog
  • update website/build.sh to build apache to build different configurations
  • add a publish-website.sh to be able to publish website by CI

Also:

  • add _config-staging.yml for building website at staging
  • add a staging-website.sh to publish staging site.

sijie added 4 commits August 7, 2017 17:19
…apache.org/distributedlog

`build prod` publish to /content which will be available under distributedlog.incubator.apache.org
Copy link
Copy Markdown
Contributor

@hellostreaming hellostreaming left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1. 👍

@sijie
Copy link
Copy Markdown
Member Author

sijie commented Aug 9, 2017

@leighst @fcuny can anyone help review this one as well?

website/build.sh Outdated
# cp -r ${DLOG_HOME}/target/site/apidocs/* ${DOC_DEST_HOME}/api/java
#else
# rm -rf /tmp/distributedlog-${version}
# git clone https://git-wip-us.apache.org/repos/asf/incubator-distributedlog.git /tmp/distributedlog-${version}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sijie
Copy link
Copy Markdown
Member Author

sijie commented Aug 15, 2017

rebased the pull request to latest master

@sijie sijie closed this in 75dba3a Aug 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants