You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by ke...@apache.org on 2022/07/02 17:44:58 UTC

[beam] branch master updated: Sharding IO tests(amazon web services and amazon web services 2) from java post commit task (#21808)

This is an automated email from the ASF dual-hosted git repository.

kenn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 85e8149cbce Sharding IO tests(amazon web services and amazon web services 2) from java post commit task (#21808)
85e8149cbce is described below

commit 85e8149cbcebc4a6b07d09501f96dfaec95c73bc
Author: andoni-guzman <89...@users.noreply.github.com>
AuthorDate: Sat Jul 2 12:44:49 2022 -0500

    Sharding IO tests(amazon web services and amazon web services 2) from java post commit task (#21808)
    
    * Create job for preComimt AWS IO Direct from Java PostCommit job
    * Create preCommit Job for AWS2 IO Direct from Java PostCommit job
    * Delete AWS and AWS2  gradle task from main Java PostCommit job
---
 .../job_PreCommit_Java_AWS2_IO_Direct.groovy       | 37 ++++++++++++++++++++++
 .../job_PreCommit_Java_AWS_IO_Direct.groovy        | 37 ++++++++++++++++++++++
 build.gradle.kts                                   |  2 --
 3 files changed, 74 insertions(+), 2 deletions(-)

diff --git a/.test-infra/jenkins/job_PreCommit_Java_AWS2_IO_Direct.groovy b/.test-infra/jenkins/job_PreCommit_Java_AWS2_IO_Direct.groovy
new file mode 100644
index 00000000000..2b734c227ec
--- /dev/null
+++ b/.test-infra/jenkins/job_PreCommit_Java_AWS2_IO_Direct.groovy
@@ -0,0 +1,37 @@
+/*
+ * 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.
+ */
+
+import PrecommitJobBuilder
+
+PrecommitJobBuilder builder = new PrecommitJobBuilder(
+    scope: this,
+    nameBase: 'Java_Amazon-Web-Services2_IO_Direct',
+    gradleTask: 'sdks:java:io:amazon-web-services2:integrationTest',
+    gradleSwitches: [
+      '-PdisableSpotlessCheck=true'
+    ], // spotless checked in separate pre-commit
+    triggerPathPatterns: [
+      '^sdks/java/io/amazon-web-services2/.*$',
+    ],
+    timeoutMins: 120,
+    )
+builder.build {
+  publishers {
+    archiveJunit('**/build/test-results/**/*.xml')
+  }
+}
\ No newline at end of file
diff --git a/.test-infra/jenkins/job_PreCommit_Java_AWS_IO_Direct.groovy b/.test-infra/jenkins/job_PreCommit_Java_AWS_IO_Direct.groovy
new file mode 100644
index 00000000000..d7e68c70b0d
--- /dev/null
+++ b/.test-infra/jenkins/job_PreCommit_Java_AWS_IO_Direct.groovy
@@ -0,0 +1,37 @@
+/*
+ * 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.
+ */
+
+import PrecommitJobBuilder
+
+PrecommitJobBuilder builder = new PrecommitJobBuilder(
+    scope: this,
+    nameBase: 'Java_Amazon-Web-Services_IO_Direct',
+    gradleTask: ':sdks:java:io:amazon-web-services:integrationTest',
+    gradleSwitches: [
+      '-PdisableSpotlessCheck=true'
+    ], // spotless checked in separate pre-commit
+    triggerPathPatterns: [
+      '^sdks/java/io/amazon-web-services/.*$',
+    ],
+    timeoutMins: 120,
+    )
+builder.build {
+  publishers {
+    archiveJunit('**/build/test-results/**/*.xml')
+  }
+}
\ No newline at end of file
diff --git a/build.gradle.kts b/build.gradle.kts
index ae84bf5ce8d..aa5f8949fa5 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -196,8 +196,6 @@ tasks.register("javaPreCommitPortabilityApi") {
 tasks.register("javaPostCommit") {
   dependsOn(":sdks:java:extensions:google-cloud-platform-core:postCommit")
   dependsOn(":sdks:java:extensions:zetasketch:postCommit")
-  dependsOn(":sdks:java:io:amazon-web-services:integrationTest")
-  dependsOn(":sdks:java:io:amazon-web-services2:integrationTest")
   dependsOn(":sdks:java:extensions:ml:postCommit")
 }