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

casion pushed a commit to branch dev-1.4.0-integration-test
in repository https://gitbox.apache.org/repos/asf/linkis.git


The following commit(s) were added to refs/heads/dev-1.4.0-integration-test by 
this push:
     new 3fd7f42e7 update
3fd7f42e7 is described below

commit 3fd7f42e7f6672e4aa9e9da945a56f9a77bc3702
Author: casionone <[email protected]>
AuthorDate: Mon May 29 00:14:05 2023 +0800

    update
---
 .github/workflows/integration-test2.yml | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/integration-test2.yml 
b/.github/workflows/integration-test2.yml
index 0bc63e3e1..3f93aefe6 100644
--- a/.github/workflows/integration-test2.yml
+++ b/.github/workflows/integration-test2.yml
@@ -136,12 +136,17 @@ jobs:
           cp -r linkis-dist/package/lib1 linkis-dist/package/lib
           # 开启proxy 端口映射
           echo "开启proxy 端口映射"
-          bash ./linkis-dist/helm/scripts/remote-proxy.sh start
+          #bash ./linkis-dist/helm/scripts/remote-proxy.sh start
+          # test
+          POD_NAME=`kubectl get pods -n linkis  -l 
app.kubernetes.io/instance=linkis-demo-mg-gateway -o 
jsonpath='{.items[0].metadata.name}'`
+          kubectl port-forward -n linkis pod/${POD_NAME} 19002:9001  
>/dev/null &
           # 查看proxy 端口映射
           echo "查看proxy 端口映射"
           bash ./linkis-dist/helm/scripts/remote-proxy.sh list
+          #echo 1 | curl -vvv http://127.0.0.1:8088
+          #echo 2 | curl -vvv http://127.0.0.1:20303
           # 执行shell测试
-          bash ./linkis-dist/package/bin/linkis-cli  --gatewayUrl 
http://127.0.0.1:19001 -engineType shell-1 -codeType shell -code "echo 
\"hello\" "
+          bash ./linkis-dist/package/bin/linkis-cli  --gatewayUrl 
http://127.0.0.1:19002 -engineType shell-1 -codeType shell -code "echo 
\"hello\" "
           #执行python测试
-          bash ./linkis-dist/package/bin/linkis-cli  --gatewayUrl 
http://127.0.0.1:19001 -engineType python-python2 -codeType python -code 
"print(\"hello\")"
+          bash ./linkis-dist/package/bin/linkis-cli  --gatewayUrl 
http://127.0.0.1:19002 -engineType python-python2 -codeType python -code 
"print(\"hello\")"
         shell: bash


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to