infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suneel Marthi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (INFRA-14105) Publish new website via gitpubsub
Date Thu, 13 Jul 2017 04:52:00 GMT

    [ https://issues.apache.org/jira/browse/INFRA-14105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16085177#comment-16085177
] 

Suneel Marthi commented on INFRA-14105:
---------------------------------------

i just merged a PR, could u check now?

On Wed, Jul 12, 2017 at 11:00 PM, Chris Thistlethwaite (JIRA) <



> Publish new website via gitpubsub
> ---------------------------------
>
>                 Key: INFRA-14105
>                 URL: https://issues.apache.org/jira/browse/INFRA-14105
>             Project: Infrastructure
>          Issue Type: Project
>          Components: Website
>            Reporter: Bruno P. Kinoshita
>            Assignee: Daniel Takamori
>            Priority: Critical
>
> Hi, OpenNLP has a new website, and we are planning to release it before ApacheCon. We
need someone to help us enabling gitpubsub now.
> The new website is hosted at https://git-wip-us.apache.org/repos/asf?p=opennlp-site.git;a=summary.
> The source that generates the website - through JBake - is in the master branch. And
the static generated files are already in the asf-site branch.
> Could someone please enable gitpubsub, pointing to the asf-site branch? Also, we need
a way to automatically update the web site.
> We thought about Jenkins, as it needs to push to our git repository, so probably that
will be easier than using an external CI server. Our idea for the job is:
> * SCM set to checkout from https://git-wip-us.apache.org/repos/asf/opennlp-site.git (always
check out a clean copy, from the master branch)
>   * Important to build this only for commits to master. So ignore any commits to other
branches, or pull requests
> * A build step to call Maven, and run `mvn clean package`. This generates the web site
under target/opennlp-site/
> * Finally, another build step to execute shell, with the following:
> {code}
> git add -f target/opennlp-site/
> git commit -m "Update site"
> git subtree push --prefix target/opennlp-site origin asf-site
> {code}
> This is supposed to add the generated web site, and then send a commit with just that
directory to the asf-site branch. We are hoping that as the command will be executed in Jenkins,
there will be git credentials with enough rights to push to the origin/asf-site branch (and
origin is pointing to the ASF git repo).
> With that, we should be able to have the new website being served via gitpubsub - hopefully
before Apachecon - and also update with new content via simple git commits.
> Thanks in advance,
> Bruno



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message