Repository: beam
Updated Branches:
  refs/heads/master c4339a04d -> d47ae8763


Add JDBC Performance Tests

Signed-off-by: Jason Kuster <[email protected]>


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

Branch: refs/heads/master
Commit: 918a07c4876067a47d1e57486340c6273ceb1289
Parents: c4339a0
Author: Jason Kuster <[email protected]>
Authored: Wed Mar 8 09:55:19 2017 -0800
Committer: Thomas Groh <[email protected]>
Committed: Mon Mar 20 09:03:56 2017 -0700

----------------------------------------------------------------------
 .jenkins/job_beam_PerformanceTests_JDBC.groovy | 54 +++++++++++++++++++++
 1 file changed, 54 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam/blob/918a07c4/.jenkins/job_beam_PerformanceTests_JDBC.groovy
----------------------------------------------------------------------
diff --git a/.jenkins/job_beam_PerformanceTests_JDBC.groovy 
b/.jenkins/job_beam_PerformanceTests_JDBC.groovy
new file mode 100644
index 0000000..3073145
--- /dev/null
+++ b/.jenkins/job_beam_PerformanceTests_JDBC.groovy
@@ -0,0 +1,54 @@
+/*
+ * 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 common_job_properties
+
+// This job runs the Beam performance tests on PerfKit Benchmarker.
+job('beam_PerformanceTests_JDBC'){
+    // Set default Beam job properties.
+    common_job_properties.setTopLevelMainJobProperties(delegate)
+
+    // Run job in postcommit every 6 hours and don't trigger every push.
+    common_job_properties.setPostCommit(delegate, '0 */6 * * *', false)
+
+    def pipelineArgs = [
+        tempRoot: 'gs://temp-storage-for-end-to-end-tests',
+        project: 'apache-beam-testing',
+        postgresServerName: '10.36.0.11',
+        postgresUsername: 'postgres',
+        postgresDatabaseName: 'postgres',
+        postgresPassword: 'uuinkks',
+        postgresSsl: 'false'
+    ]
+    def pipelineArgList = []
+    pipelineArgs.each({
+        key, value -> pipelineArgList.add("--$key=$value")
+    })
+    def pipelineArgsJoined = pipelineArgList.join(',')
+
+    def argMap = [
+      benchmarks: 'beam_integration_benchmark',
+      dpb_beam_it_module: 'sdks/java/io/jdbc',
+      dpb_it_args: pipelineArgsJoined,
+      dpb_it_class: 'org.apache.beam.sdk.io.jdbc.JdbcIOIT',
+      // Profile is located in $BEAM_ROOT/sdks/java/io/pom.xml.
+      dpb_beam_it_profile: 'io-it'
+    ]
+
+    common_job_properties.buildPerformanceTest(delegate, argMap)
+}

Reply via email to