vmware / vic-product

vSphere Integrated Containers enables VMware customers to deliver a production-ready container solution to their developers and DevOps teams.
https://vmware.github.io/vic-product/
Other
176 stars 92 forks source link

Automate build of docs in master and push to vmware.github.io #877

Closed stuclem closed 5 years ago

stuclem commented 6 years ago

Ideally, we would like the docs in /vic-product/tree/master/docs/user_doc to be built automatically. The generated HTML should also be pushed automatically to https://vmware.github.io/vic-product/assets/files/html/workinprogress.

stuclem commented 6 years ago

@alextopuzov is currently investigating Travis CI as a means of doing this. https://travis-ci.org/

stuclem commented 6 years ago

Comment from @zjs via email:


This looks like it will be really useful!

I think it should be really easy to take what you had in your .travis.yml and port it over to a .drone.yml (which works a bit differently, and uses slightly different syntax) for consistency with the rest of our CI/CD infrastructure.


@zjs @renmaosheng, if this is relatively easy, would it be possible to implement it before 1.5? Thanks!

stuclem commented 6 years ago

👍

lgayatri commented 6 years ago

@stuclem ,implementing Travis will be very useful. Thanks for initiating.

stuclem commented 5 years ago

We have several branches of the docs, for each version of VIC. So, if and when we implement this, would it be possible to have the branch for each doc version publish to the appropriate folder in gh-pages? Namely:

@zjs @renmaosheng what do you think?

zjs commented 5 years ago

That seems doable!

As an aside: I've been meaning to take another look at this now that GitHub has announced actions as that may be a more natural way to automate this than Drone.