[
https://issues.jboss.org/browse/DROOLS-662?page=com.atlassian.jira.plugin...
]
Michael Biarnes Kiefer commented on DROOLS-662:
-----------------------------------------------
done:
see
https://kie-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Websites/
it was tested and it works.
When a commit was pushed to one of the websites, it will automatically run one of these
three jobs which
creates a Docker images based on the Dockerfile in the respective web in _dockerPublisher,
runs a Docker Container which does a rake setup, rake clean build and rake publish.
Autopublish drools-website, optaplanner-website and jbpm-website
through travis
-------------------------------------------------------------------------------
Key: DROOLS-662
URL:
https://issues.jboss.org/browse/DROOLS-662
Project: Drools
Issue Type: Task
Reporter: Geoffrey De Smet
Assignee: Michael Biarnes Kiefer
The jboss-tools guys already auto publish their awestruct website. xcoulon on irc
#awestruct told me how they do this at Devoxx.
Travis is like Jenkins, but works really well for ruby stuff (such as awestruct
websites). It can publish our websites automatically if we push a commit. Here's how
to set it up:
- Add a .travis.yml file, look at this one for inspiration:
https://github.com/jbosstools/jbosstools-website/blob/master/.travis.yml
- Get a secret token to be able to publish a website on
jboss.org filemanagement server.
Then encrypt that secret token with Travis's public key (so only Travis can decrypt
it). Write the encrypted secret token in the travis.yml file. Remove all knowledge of the
actual secret token, so it can't leak.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)