[
https://issues.apache.org/jira/browse/BEAM-6439?focusedWorklogId=185946&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-185946
]
ASF GitHub Bot logged work on BEAM-6439:
----------------------------------------
Author: ASF GitHub Bot
Created on: 16/Jan/19 19:28
Start Date: 16/Jan/19 19:28
Worklog Time Spent: 10m
Work Description: HuangLED commented on pull request #7539: [BEAM-6439]
Move Python Validates Runner Flink test to PreCommit
URL: https://github.com/apache/beam/pull/7539#discussion_r248419744
##########
File path:
.test-infra/jenkins/job_PreCommit_Python_ValidatesRunner_Flink.groovy
##########
@@ -16,25 +17,18 @@
* limitations under the License.
*/
-import CommonJobProperties as commonJobProperties
-import PostcommitJobBuilder
+import PrecommitJobBuilder
// This job runs the suite of ValidatesRunner tests against the Flink runner.
-PostcommitJobBuilder.postCommitJob('beam_PostCommit_Python_VR_Flink',
- 'Run Python Flink ValidatesRunner', 'Python Flink ValidatesRunner Tests',
this) {
- description('Runs the Python ValidatesRunner suite on the Flink runner.')
-
- previousNames('beam_PostCommit_Python_PVR_Flink_Gradle')
-
- // Set common parameters.
- commonJobProperties.setTopLevelMainJobProperties(delegate)
-
- // Execute gradle task to test Python Flink Portable Runner.
- steps {
- gradle {
- rootBuildScriptDir(commonJobProperties.checkoutDir)
- tasks(':beam-sdks-python:flinkValidatesRunner')
- commonJobProperties.setGradleSwitches(delegate)
- }
- }
-}
+PrecommitJobBuilder builder = new PrecommitJobBuilder(
+ scope: this,
+ nameBase: 'Python_VR_Flink',
+ gradleTask: ':beam-sdks-python:flinkValidatesRunner',
+ triggerPathPatterns: [
+ '^model/.*$',
+ '^runners/.*$',
+ '^sdks/python/.*$',
+ '^release/.*$',
+ ]
+)
+builder.build {}
Review comment:
No new line at end of file.
----------------------------------------------------------------
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: 185946)
Time Spent: 1h 40m (was: 1.5h)
> Move Python Flink VR tests to PreCommit
> ---------------------------------------
>
> Key: BEAM-6439
> URL: https://issues.apache.org/jira/browse/BEAM-6439
> Project: Beam
> Issue Type: New Feature
> Components: runner-flink, testing
> Reporter: Robert Bradshaw
> Assignee: Robert Bradshaw
> Priority: Major
> Fix For: Not applicable
>
> Attachments: png.png
>
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> Now that they're fast and stable, it would be good to catch changes that
> break this earlier.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)