[ 
https://issues.apache.org/jira/browse/BEAM-4495?focusedWorklogId=151018&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-151018
 ]

ASF GitHub Bot logged work on BEAM-4495:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 04/Oct/18 03:50
            Start Date: 04/Oct/18 03:50
    Worklog Time Spent: 10m 
      Work Description: alanmyrvold commented on a change in pull request 
#6546: [BEAM-4495] Create precommit to stage website on GCS
URL: https://github.com/apache/beam/pull/6546#discussion_r222530865
 
 

 ##########
 File path: website/build.gradle
 ##########
 @@ -184,3 +202,32 @@ task publishWebsite << {
 
 commitWebsite.dependsOn testWebsite
 publishWebsite.dependsOn commitWebsite
+
+/*
+ * Stages a pull request on GCS
+ * For example:
+ *   ./gradlew :beam-website:stageWebsite -PpullId=${ghprbPullId}
+ */
+task stageWebsite << {
+  assert project.hasProperty('pullId')
+  assert pullId.isInteger()
+
+  def gcs_path = "gs://apache-beam-website-pull-requests/${pullId}"
 
 Review comment:
   Added a -PwebsiteBucket to override it, but didn't make it empty by default 
because the PullRequestBuilder for jenkins jobs doesn't currently allow jobs to 
override flags. Perhaps it should.

----------------------------------------------------------------
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: 151018)
    Time Spent: 11h 40m  (was: 11.5h)

> Create website pre-commits for apache/beam repository
> -----------------------------------------------------
>
>                 Key: BEAM-4495
>                 URL: https://issues.apache.org/jira/browse/BEAM-4495
>             Project: Beam
>          Issue Type: Sub-task
>          Components: testing, website
>            Reporter: Scott Wegner
>            Assignee: Udi Meiri
>            Priority: Major
>              Labels: beam-site-automation-reliability
>             Fix For: Not applicable
>
>          Time Spent: 11h 40m
>  Remaining Estimate: 0h
>




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

Reply via email to