infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Drew Foulks (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (INFRA-18535) How to push website contents from a Jenkins job
Date Wed, 05 Jun 2019 15:32:00 GMT

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

Drew Foulks commented on INFRA-18535:
-------------------------------------

Currently, we can use gitpubsub to deploy a website when changes are committed to a git repo.


Essentially, you can have your markdown in a jdo-site.git repo, and commit the rendered content
to an asf-site branch, or a 'content' directory in the main branch. 

How you implement the markdown rendering is entirely up to you. 

If you choose to use jenkins or buildbot, those services can run jobs to render your content
and automatically commit the results to your content branch or directory. In terms of setting
these jobs up, there are a few examples in use currently, and a fair bit of info in the builds@
archives. 

> How to push website contents from a Jenkins job
> -----------------------------------------------
>
>                 Key: INFRA-18535
>                 URL: https://issues.apache.org/jira/browse/INFRA-18535
>             Project: Infrastructure
>          Issue Type: Wish
>          Components: CI
>            Reporter: Huang Yunkun
>            Priority: Minor
>
> hey Infra team,
> Dubbo team are trying to find a way to push website contents from jenkins job. Our website
need generated by some nodejs script and changes need push to asf-site branch.
> we already have a jenkins job(https://builds.apache.org/job/Apache%20Dubbo/job/apache-dubbo-website-deployment/)
to generate content, but now we don't know how to do push changes to github asf-site.
> Our github url is:https://github.com/apache/dubbo-website
> According some other ticket in jira, looks like some special jenkins node have access
to push to gitbox. I find dubbo-website has a gitbox url: https://gitbox.apache.org/repos/asf?p=dubbo-website.git;a=shortlog;h=refs/heads/asf-site
> I would like to know if we push changes to gitbox, will it automaticlly async to github
repo? I'm not quite understand the relationship between gitbox repo and github repo.
> If we want to push change to github repo, is there example we can follow?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message