kamilwu commented on a change in pull request #12195:
URL: https://github.com/apache/beam/pull/12195#discussion_r457552103
##########
File path:
.test-infra/jenkins/job_PostCommit_Python_Chicago_Taxi_Example_Dataflow.groovy
##########
@@ -19,46 +19,44 @@
import CommonJobProperties as commonJobProperties
import PostcommitJobBuilder
import CronJobBuilder
+import LoadTestsBuilder
-
-// This job runs the Chicago Taxi Example script on Dataflow
-PostcommitJobBuilder.postCommitJob(
- 'beam_PostCommit_Python_Chicago_Taxi_Dataflow',
- 'Run Chicago Taxi on Dataflow',
- 'Google Cloud Dataflow Runner Chicago Taxi Example',
- this
-) {
- description('Runs the Chicago Taxi Example on the Dataflow runner.')
+def chicagoTaxiJob = { scope ->
+ scope.description('Runs the Chicago Taxi Example on the Dataflow runner.')
// Set common parameters.
- commonJobProperties.setTopLevelMainJobProperties(delegate)
+ commonJobProperties.setTopLevelMainJobProperties(scope)
+
+ def pipelineOptions = [
+ num_workers : 5,
+ autoscaling_algorithm: 'NONE',
+ ]
// Gradle goals for this job.
- steps {
+ scope.steps {
gradle {
rootBuildScriptDir(commonJobProperties.checkoutDir)
+ commonJobProperties.setGradleSwitches(delegate)
tasks(':sdks:python:test-suites:dataflow:py2:chicagoTaxiExample')
Review comment:
There's a jira for this:
https://issues.apache.org/jira/browse/BEAM-9154. As far as I remember there was
something that prevented us from switching to Py3. Not sure if it's still
relevant.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]