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 a6b13c14c update
a6b13c14c is described below
commit a6b13c14ca377b9c5d4a23a01d65d77d636e70cc
Author: casionone <[email protected]>
AuthorDate: Mon May 29 01:07:53 2023 +0800
update
---
.github/workflows/integration-test2.yml | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/integration-test2.yml
b/.github/workflows/integration-test2.yml
index c8ecbad59..156a65677 100644
--- a/.github/workflows/integration-test2.yml
+++ b/.github/workflows/integration-test2.yml
@@ -126,27 +126,29 @@ jobs:
&& bash ./linkis-dist/helm/scripts/install-ldh.sh true \
&& bash ./linkis-dist/helm/scripts/install-charts-with-ldh.sh
linkis linkis-demo true
n=0
- while (($n<100))
+ while (($n<20))
do
kubectl get pods -A
n=$((n+1))
sleep 10
done
+ bash ./linkis-dist/helm/scripts/logs-pod.sh cg-linkismanager
+ bash ./linkis-dist/helm/scripts/logs-pod.sh cg-engineconnmanager
echo "cp -r linkis-dist/package/lib1 linkis-dist/package/lib"
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 &
+ #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:19002 -engineType shell-1 -codeType shell -code "echo
\"hello\" "
+ bash ./linkis-dist/package/bin/linkis-cli --gatewayUrl
http://127.0.0.1:19001 -engineType shell-1 -codeType shell -code "echo
\"hello\" "
#执行python测试
- bash ./linkis-dist/package/bin/linkis-cli --gatewayUrl
http://127.0.0.1:19002 -engineType python-python2 -codeType python -code
"print(\"hello\")"
+ bash ./linkis-dist/package/bin/linkis-cli --gatewayUrl
http://127.0.0.1:19001 -engineType python-python2 -codeType python -code
"print(\"hello\")"
shell: bash
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]