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/05/30 16:32:31 UTC

[linkis] branch dev-1.4.0-integration-test2 updated: update

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


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

commit d1c166ca5bbf699c2ed265fbb53fd73bfcc0c7c4
Author: casionone <ca...@gmail.com>
AuthorDate: Wed May 31 00:25:30 2023 +0800

    update
---
 .github/workflows/integration-test.yml | 38 ++++++++++++++++++++++------------
 1 file changed, 25 insertions(+), 13 deletions(-)

diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml
index 051227ef6..e2d568a5f 100644
--- a/.github/workflows/integration-test.yml
+++ b/.github/workflows/integration-test.yml
@@ -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=provided -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=provided -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,9 +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}
+          #重新打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 image ls
           bash ./linkis-dist/helm/scripts/install-mysql.sh  true\


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