[ 
https://issues.apache.org/jira/browse/BEAM-2546?focusedWorklogId=409603&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-409603
 ]

ASF GitHub Bot logged work on BEAM-2546:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 25/Mar/20 15:49
            Start Date: 25/Mar/20 15:49
    Worklog Time Spent: 10m 
      Work Description: iemejia commented on pull request #11028: BEAM-2546 
Beam IO for InfluxDB
URL: https://github.com/apache/beam/pull/11028#discussion_r397962741
 
 

 ##########
 File path: .test-infra/jenkins/job_PerformanceTests_InfluxDBIO_IT.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 CommonJobProperties as common
+import Kubernetes
+
+String jobName = "beam_PerformanceTests_InfluxDBIO_IT"
+
+job(jobName) {
+  common.setTopLevelMainJobProperties(delegate)
+  common.enablePhraseTriggeringFromPullRequest(
+          delegate,
+          'Java InfluxDBIO Performance Test',
+          'Run Java InfluxDBIO Performance Test')
+
+  String namespace = common.getKubernetesNamespace(jobName)
+  String kubeconfigPath = common.getKubeconfigLocationForNamespace(namespace)
+  Kubernetes k8s = Kubernetes.create(delegate, kubeconfigPath, namespace)
+
+  
k8s.apply(common.makePathAbsolute("src/.test-infra/kubernetes/influxdb/influxdb.yml"))
+  String influxDBHostName = "LOAD_BALANCER_IP"
+  k8s.loadBalancerIP("influxdb-load-balancer-service", influxDBHostName)
+  Map pipelineOptions = [
+          influxDBURL     : "http://\$${influxDBHostName}:8086";,
+          influxDBUserName : "superadmin",
+          influxDBPassword : "supersecretpassword",
+          databaseName : "db1"
+  ]
+
+  steps {
+    gradle {
+      rootBuildScriptDir(common.checkoutDir)
+      common.setGradleSwitches(delegate)
+      switches("--info")
+      
switches("-DintegrationTestPipelineOptions=\'${common.joinPipelineOptions(pipelineOptions)}\'")
+      switches("-DintegrationTestRunner=direct")
 
 Review comment:
   After looking a bit into the code we have a weird mix of Dataflow/Direct in 
the runs, do you think there is a way we can do that 'choosable' when running 
an IT test? (note that I agree with the idea of running on Dataflow, but of 
course I understand contributors may not have access to it and it is quicker to 
develop/do it with DirectRunner).
 
----------------------------------------------------------------
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:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 409603)
    Time Spent: 9h 10m  (was: 9h)

> Create InfluxDbIO
> -----------------
>
>                 Key: BEAM-2546
>                 URL: https://issues.apache.org/jira/browse/BEAM-2546
>             Project: Beam
>          Issue Type: New Feature
>          Components: io-ideas
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Bipin Upadhyaya
>            Priority: Major
>             Fix For: 2.21.0
>
>          Time Spent: 9h 10m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to