You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@linkis.apache.org by ca...@apache.org on 2023/06/05 11:06:40 UTC

[linkis] branch dev-1.4.0-integration-test2 updated (e444e980e -> 30d32f667)

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

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


    from e444e980e for configmap-update-sql.yaml
     new c884db8ae udpate actions
     new 30d32f667 update action

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/workflows/integration-test.yml | 54 ++++++++++++++++------------------
 1 file changed, 26 insertions(+), 28 deletions(-)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@linkis.apache.org
For additional commands, e-mail: commits-help@linkis.apache.org


[linkis] 02/02: update action

Posted by ca...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 30d32f66751d4bdb31c7bb4efd2f6fddcfd9d71d
Author: casionone <ca...@gmail.com>
AuthorDate: Mon Jun 5 19:06:19 2023 +0800

    update action
---
 .github/workflows/integration-test.yml | 48 +++++++++++++++++-----------------
 1 file changed, 24 insertions(+), 24 deletions(-)

diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml
index fa70a457b..19a652d49 100644
--- a/.github/workflows/integration-test.yml
+++ b/.github/workflows/integration-test.yml
@@ -20,10 +20,10 @@ name: Integration Test
 on:
   push:
     branches:
-      - dev-1.4.0-integration-test2
+      - dev-1.4.0
   pull_request:
     branches:
-      - dev-1.4.0-integration-test2
+      - dev-1.4.0
 
 #concurrency:
 #  group: test-${{ github.head_ref || github.run_id }}
@@ -100,16 +100,16 @@ jobs:
       - name: Set up Docker Buildx
         uses: docker/setup-buildx-action@v1
 
-#      - name: Build frontend by node.js
-#        run: |
-#          cd linkis-web
-#          sed -i "/VUE_APP_MN_CONFIG_PREFIX/d" .env
-#          npm install
-#          npm run build
-#
-#      - name: Build backend by maven
-#        run: |
-#          ./mvnw install -Pdocker -Dmysql.connector.scope=compile -Dmaven.javadoc.skip=true -Dmaven.test.skip=true -Dlinkis.build.web=true -Dlinkis.build.ldh=true
+      - name: Build frontend by node.js
+        run: |
+          cd linkis-web
+          sed -i "/VUE_APP_MN_CONFIG_PREFIX/d" .env
+          npm install
+          npm run build
+
+      - name: Build backend by maven
+        run: |
+          ./mvnw install -Pdocker -Dmysql.connector.scope=compile -Dmaven.javadoc.skip=true -Dmaven.test.skip=true -Dlinkis.build.web=true -Dlinkis.build.ldh=true
 
       - name: Set up chart-testing
         uses: ./.github/actions/chart-testing-action
@@ -124,21 +124,21 @@ jobs:
 
       - name: Start Linkis Service
         run: |
-          #docker tag linkis:${{ env.LINKIS_VERSION }}     linkis:dev
-          #docker tag linkis-web:${{ env.LINKIS_VERSION }} linkis-web:dev
-          #docker tag linkis-ldh:${{ env.LINKIS_VERSION }} linkis-ldh:dev
+          docker tag linkis:${{ env.LINKIS_VERSION }}     linkis:dev
+          docker tag linkis-web:${{ env.LINKIS_VERSION }} linkis-web:dev
+          docker tag linkis-ldh:${{ env.LINKIS_VERSION }} linkis-ldh:dev
 
           #先直接下载镜像 后续调整为主动构建
-           ROOT_DIR=./linkis-dist/
-           MIRRORS="ghcr.io"
-           TAG="dev"
-           docker pull ${MIRRORS}/apache/linkis/linkis-ldh:${TAG}
-           docker pull ${MIRRORS}/apache/linkis/linkis:${TAG}
-           docker pull ${MIRRORS}/apache/linkis/linkis-web:${TAG}
+          #ROOT_DIR=./linkis-dist/
+          #MIRRORS="ghcr.io"
+          #TAG="dev"
+          #docker pull ${MIRRORS}/apache/linkis/linkis-ldh:${TAG}
+          #docker pull ${MIRRORS}/apache/linkis/linkis:${TAG}
+          #docker pull ${MIRRORS}/apache/linkis/linkis-web:${TAG}
           #重新打tag
-           docker tag  ${MIRRORS}/apache/linkis/linkis:${TAG} linkis:dev
-           docker tag  ${MIRRORS}/apache/linkis/linkis-web:${TAG} linkis-web:dev
-           docker tag  ${MIRRORS}/apache/linkis/linkis-ldh:${TAG} linkis-ldh:dev
+          #docker tag  ${MIRRORS}/apache/linkis/linkis:${TAG} linkis:dev
+          #docker tag  ${MIRRORS}/apache/linkis/linkis-web:${TAG} linkis-web:dev
+          #docker tag  ${MIRRORS}/apache/linkis/linkis-ldh:${TAG} linkis-ldh:dev
           #查看镜像
           docker image ls
           bash ./linkis-dist/helm/scripts/install-mysql.sh  false\


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@linkis.apache.org
For additional commands, e-mail: commits-help@linkis.apache.org


[linkis] 01/02: udpate actions

Posted by ca...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit c884db8ae105c0eb968614e721a31ab356f2341b
Author: casionone <ca...@gmail.com>
AuthorDate: Mon Jun 5 19:00:18 2023 +0800

    udpate actions
---
 .github/workflows/integration-test.yml | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml
index 0cb2cabc1..fa70a457b 100644
--- a/.github/workflows/integration-test.yml
+++ b/.github/workflows/integration-test.yml
@@ -179,9 +179,7 @@ jobs:
           kubectl exec -it -n linkis  ${POD_NAME} -- bash -c " \
           sh /opt/linkis/bin/linkis-cli -engineType hive-3.1.3 -codeType hql -code   'show databases' "
 
-
-  POD_NAME=`kubectl get pods -n linkis -l app.kubernetes.io/instance=linkis-demo-mg-gateway -o jsonpath='{.items[0].metadata.name}'`
-          kubectl exec -it -n linkis  ${POD_NAME} -- bash -c " \
-          sh /opt/linkis/bin/linkis-cli -engineType spark-3.2.1 -codeType sql -code   'show databases' "
+          #kubectl exec -it -n linkis  ${POD_NAME} -- bash -c " \
+          #sh /opt/linkis/bin/linkis-cli -engineType spark-3.2.1 -codeType sql -code   'show databases' "
 
         shell: bash
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@linkis.apache.org
For additional commands, e-mail: commits-help@linkis.apache.org