You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2021/03/04 17:16:23 UTC

[GitHub] [beam] angoenka commented on a change in pull request #14145: Parallelize python validate container tests in beam_PostCommit_Py_Val…

angoenka commented on a change in pull request #14145:
URL: https://github.com/apache/beam/pull/14145#discussion_r587662530



##########
File path: .test-infra/jenkins/job_PostCommit_Python_ValidatesContainer_Dataflow.groovy
##########
@@ -35,11 +35,13 @@ PostcommitJobBuilder.postCommitJob('beam_PostCommit_Py_ValCont',
       }
 
       // Execute shell command to test Python SDK.
-      // TODO: Parallel the script run with Jenkins DSL or Gradle.
       steps {
-        VALIDATES_CONTAINER_DATAFLOW_PYTHON_VERSIONS.each {
-          pythonVersion = it.replace('.', '')
-          shell('cd ' + commonJobProperties.checkoutDir + " && bash sdks/python/container/run_validatescontainer.sh python${pythonVersion}")
+        gradle {
+          rootBuildScriptDir(commonJobProperties.checkoutDir)
+          tasks(':sdks:python:test-suites:portable:py36:validatesContainer')

Review comment:
       This list will need to be updated with every new Python version.
   Shall we update the relevant doc for adding and removing python versions.




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