You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by lc...@apache.org on 2016/09/14 00:29:11 UTC

[1/2] incubator-beam git commit: Modify examples pom to add precommit execution profile.

Repository: incubator-beam
Updated Branches:
  refs/heads/master 5979b61b9 -> e3768f6da


Modify examples pom to add precommit execution profile.

Signed-off-by: Jason Kuster <ja...@google.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam/commit/1c96e590
Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam/tree/1c96e590
Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam/diff/1c96e590

Branch: refs/heads/master
Commit: 1c96e5901c520632d1682b660e0e791cfcf966ad
Parents: 5979b61
Author: Jason Kuster <ja...@google.com>
Authored: Wed Sep 7 17:12:11 2016 -0700
Committer: Luke Cwik <lc...@google.com>
Committed: Tue Sep 13 17:15:21 2016 -0700

----------------------------------------------------------------------
 examples/java/pom.xml | 103 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 103 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/1c96e590/examples/java/pom.xml
----------------------------------------------------------------------
diff --git a/examples/java/pom.xml b/examples/java/pom.xml
index 47f0366..6a39f64 100644
--- a/examples/java/pom.xml
+++ b/examples/java/pom.xml
@@ -114,6 +114,108 @@
         </dependency>
       </dependencies>
     </profile>
+    <profile>
+      <id>jenkins-precommit</id>
+      <properties>
+        <it.test>WordCountIT</it.test>
+        <skipITs>false</skipITs>
+        <skipDefaultIT>true</skipDefaultIT>
+      </properties>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-failsafe-plugin</artifactId>
+            <configuration>
+              <useManifestOnlyJar>false</useManifestOnlyJar>
+              <redirectTestOutputToFile>true</redirectTestOutputToFile>
+            </configuration>
+            <executions>
+              <execution>
+                <id>direct-runner-integration-tests</id>
+                <goals>
+                  <goal>integration-test</goal>
+                  <goal>verify</goal>
+                </goals>
+                <configuration>
+                  <parallel>all</parallel>
+                  <threadCount>4</threadCount>
+                  <systemPropertyVariables>
+                    <beamTestPipelineOptions>
+                      [
+                      "--project=apache-beam-testing",
+                      "--tempRoot=gs://temp-storage-for-end-to-end-tests",
+                      "--runner=org.apache.beam.runners.direct.DirectRunner"
+                      ]
+                    </beamTestPipelineOptions>
+                  </systemPropertyVariables>
+                </configuration>
+              </execution>
+              <execution>
+                <id>flink-runner-integration-tests</id>
+                <goals>
+                  <goal>integration-test</goal>
+                  <goal>verify</goal>
+                </goals>
+                <configuration>
+                  <parallel>all</parallel>
+                  <threadCount>4</threadCount>
+                  <systemPropertyVariables>
+                    <beamTestPipelineOptions>
+                      [
+                      "--project=apache-beam-testing",
+                      "--tempRoot=gs://temp-storage-for-end-to-end-tests",
+                      "--runner=org.apache.beam.runners.flink.TestFlinkRunner"
+                      ]
+                    </beamTestPipelineOptions>
+                  </systemPropertyVariables>
+                </configuration>
+              </execution>
+              <execution>
+                <id>spark-runner-integration-tests</id>
+                <goals>
+                  <goal>integration-test</goal>
+                  <goal>verify</goal>
+                </goals>
+                <configuration>
+                  <parallel>all</parallel>
+                  <threadCount>4</threadCount>
+                  <systemPropertyVariables>
+                    <beamTestPipelineOptions>
+                      [
+                      "--project=apache-beam-testing",
+                      "--tempRoot=/tmp",
+                      "--runner=org.apache.beam.runners.spark.TestSparkRunner"
+                      ]
+                    </beamTestPipelineOptions>
+                  </systemPropertyVariables>
+                </configuration>
+              </execution>
+              <execution>
+                <id>dataflow-runner-integration-tests</id>
+                <goals>
+                  <goal>integration-test</goal>
+                  <goal>verify</goal>
+                </goals>
+                <configuration>
+                  <parallel>all</parallel>
+                  <threadCount>4</threadCount>
+                  <systemPropertyVariables>
+                    <beamTestPipelineOptions>
+                      [
+                      "--project=apache-beam-testing",
+                      "--tempRoot=gs://temp-storage-for-end-to-end-tests",
+                      "--runner=org.apache.beam.runners.dataflow.testing.TestDataflowRunner"
+                      ]
+                    </beamTestPipelineOptions>
+                  </systemPropertyVariables>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
 
   <build>
@@ -269,6 +371,7 @@
               <goal>verify</goal>
             </goals>
             <configuration>
+              <skip>${skipDefaultIT}</skip>
               <parallel>all</parallel>
               <threadCount>4</threadCount>
               <systemPropertyVariables>


[2/2] incubator-beam git commit: [BEAM-493] Modify examples pom to add precommit execution profile.

Posted by lc...@apache.org.
[BEAM-493] Modify examples pom to add precommit execution profile.

This closes #931


Project: http://git-wip-us.apache.org/repos/asf/incubator-beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam/commit/e3768f6d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam/tree/e3768f6d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam/diff/e3768f6d

Branch: refs/heads/master
Commit: e3768f6da9786ba60317fcd74e0fa06c26b01acc
Parents: 5979b61 1c96e59
Author: Luke Cwik <lc...@google.com>
Authored: Tue Sep 13 17:15:46 2016 -0700
Committer: Luke Cwik <lc...@google.com>
Committed: Tue Sep 13 17:15:46 2016 -0700

----------------------------------------------------------------------
 examples/java/pom.xml | 103 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 103 insertions(+)
----------------------------------------------------------------------