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

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

                Author: ASF GitHub Bot
            Created on: 09/Apr/18 23:19
            Start Date: 09/Apr/18 23:19
    Worklog Time Spent: 10m 
      Work Description: tgroh commented on a change in pull request #4788: 
[BEAM-3339] Mobile gaming automation for Java nightly snapshot on core runners
URL: https://github.com/apache/beam/pull/4788#discussion_r180255866
 
 

 ##########
 File path: release/src/main/groovy/MoblieGamingJavaUtils.groovy
 ##########
 @@ -0,0 +1,142 @@
+#!groovy
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+class MobileGamingJavaUtils {
+
+  public static final RUNNERS = [DirectRunner: "direct-runner",
+    DataflowRunner: "dataflow-runner",
+    SparkRunner: "spark-runner",
+    ApexRunner: "apex-runner",
+    FlinkRunner: "flink-runner"]
+
+  public static final EXECUTION_TIMEOUT_IN_MINUTES = 20
+
+  // Lists used to verify team names generated in the LeaderBoard example.
+  // This list should be kept sync with COLORS in 
org.apache.beam.examples.complete.game.injector.Injector.
+  public static final COLORS = new ArrayList<>(Arrays.asList(
+    "Magenta",
+    "AliceBlue",
+    "Almond",
+    "Amaranth",
+    "Amber",
+    "Amethyst",
+    "AndroidGreen",
+    "AntiqueBrass",
+    "Fuchsia",
+    "Ruby",
+    "AppleGreen",
+    "Apricot",
+    "Aqua",
+    "ArmyGreen",
+    "Asparagus",
+    "Auburn",
+    "Azure",
+    "Banana",
+    "Beige",
+    "Bisque",
+    "BarnRed",
+    "BattleshipGrey"))
+
+  public static String getUserScoreOutputName(String runner){
+    return "java-userscore-result-${RUNNERS[runner]}.txt"
+  }
+
+  public static String getHourlyTeamScoreOutputName(String runner){
 
 Review comment:
   If these are sharded (which I imagine is the default behavior), is this just 
the base pattern?

----------------------------------------------------------------
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:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 89182)
    Time Spent: 81h  (was: 80h 50m)

> Create post-release testing of the nightly snapshots
> ----------------------------------------------------
>
>                 Key: BEAM-3339
>                 URL: https://issues.apache.org/jira/browse/BEAM-3339
>             Project: Beam
>          Issue Type: Improvement
>          Components: testing
>            Reporter: Alan Myrvold
>            Assignee: Jason Kuster
>            Priority: Major
>          Time Spent: 81h
>  Remaining Estimate: 0h
>
> The nightly java snapshots in 
> https://repository.apache.org/content/groups/snapshots/org/apache/beam should 
> be verified by following the 
> https://beam.apache.org/get-started/quickstart-java/ instructions, to verify 
> that the release is usable.



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

Reply via email to