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 <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
