[
https://issues.apache.org/jira/browse/BEAM-4496?focusedWorklogId=145713&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-145713
]
ASF GitHub Bot logged work on BEAM-4496:
----------------------------------------
Author: ASF GitHub Bot
Created on: 19/Sep/18 16:48
Start Date: 19/Sep/18 16:48
Worklog Time Spent: 10m
Work Description: swegner commented on a change in pull request #6431:
[BEAM-4496] Website merge
URL: https://github.com/apache/beam/pull/6431#discussion_r218879411
##########
File path: website/build.gradle
##########
@@ -104,3 +106,32 @@ task testWebsite(type: Exec) {
task preCommit {
dependsOn testWebsite
}
+
+task mergeWebsite << {
Review comment:
Here's the script used by another Apache project to manage the same process:
https://github.com/apache/guacamole-website/blob/22043e1c01a1808a3c95b87a901fee45737259ed/build.sh#L136
There are a few additional steps which they perform which I believe would
make sense to include:
- Move generated contents to a temp directory outside the enlistment. This
would ensure we don't hit any issues when switches branches.
- Nuke previous contents from `contentRepoDir` before copying new contents.
This ensures that any removed files also get removed from the branch.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 145713)
Time Spent: 1.5h (was: 1h 20m)
> Create Jenkins job to push generated HTML to asf-site branch
> ------------------------------------------------------------
>
> Key: BEAM-4496
> URL: https://issues.apache.org/jira/browse/BEAM-4496
> Project: Beam
> Issue Type: Sub-task
> Components: build-system, website
> Reporter: Scott Wegner
> Assignee: Scott Wegner
> Priority: Major
> Labels: beam-site-automation-reliability
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)