This is an automated email from the ASF dual-hosted git repository. jianglongtao pushed a commit to branch fix-33341 in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
commit a092402ccc174077f8506b55341e2481f4aa894f Author: 孙念君 Nianjun Sun <[email protected]> AuthorDate: Thu Sep 5 11:34:10 2024 +0800 Refactor : update the docker image save path --- .github/workflows/nightly-e2e-sql.yml | 8 +++----- .github/workflows/workflow-dispatch-e2e-sql.yml | 4 +++- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/nightly-e2e-sql.yml b/.github/workflows/nightly-e2e-sql.yml index 4aca9ba26a6..d0369a69c59 100644 --- a/.github/workflows/nightly-e2e-sql.yml +++ b/.github/workflows/nightly-e2e-sql.yml @@ -54,9 +54,7 @@ jobs: ${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-maven-third-party-e2e-cache- ${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-maven-third-party- - name: Build E2E Image - run: | - ./mvnw -B clean install -am -pl test/e2e/sql -Pit.env.docker -DskipTests -Dspotless.apply.skip=true - mkdir -p /tmp/dbplus-engine-honor/ + run: ./mvnw -B clean install -am -pl test/e2e/sql -Pit.env.docker -DskipTests -Dspotless.apply.skip=true - name: Save E2E Image run: docker save -o /tmp/${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-proxy-test.tar apache/shardingsphere-proxy-test:latest - uses: actions/upload-artifact@v4 @@ -118,9 +116,9 @@ jobs: uses: actions/download-artifact@v4 with: name: e2e-image - path: /tmp/dbplus-engine-honor/ + path: /tmp/ - name: Load E2E Image if: matrix.adapter == 'proxy' - run: docker load -i /tmp/dbplus-engine-honor/${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-proxy-test.tar + run: docker load -i /tmp/${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-proxy-test.tar - name: Run E2E Test run: ./mvnw -nsu -B install -f test/e2e/sql/pom.xml -Dspotless.apply.skip=true -Dit.cluster.env.type=DOCKER -Dit.cluster.adapters=${{ matrix.adapter }} -Dit.run.modes=${{ matrix.mode }} -Dit.run.additional.cases=false -Dit.scenarios=${{ matrix.scenario }} -Dit.cluster.databases=${{ matrix.database }} ${{ matrix.additional-options }} diff --git a/.github/workflows/workflow-dispatch-e2e-sql.yml b/.github/workflows/workflow-dispatch-e2e-sql.yml index 6736eaef7d7..0a13c874a7d 100644 --- a/.github/workflows/workflow-dispatch-e2e-sql.yml +++ b/.github/workflows/workflow-dispatch-e2e-sql.yml @@ -54,7 +54,9 @@ jobs: ${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-maven-third-party-e2e-cache- ${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-maven-third-party- - name: Build E2E Image - run: ./mvnw -B clean install -am -pl test/e2e/sql -Pit.env.docker -DskipTests -Dspotless.apply.skip=true -Dmaven.repo.local=${{ env.DEPENDENCY_PATH }} + run: | + ./mvnw -B clean install -am -pl test/e2e/sql -Pit.env.docker -DskipTests -Dspotless.apply.skip=true -Dmaven.repo.local=${{ env.DEPENDENCY_PATH }} + mkdir -p /tmp/dbplus-engine-honor/ - name: Save E2E Image run: docker save -o /tmp/dbplus-engine-honor/${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-proxy-test.tar apache/shardingsphere-proxy-test:latest - uses: actions/upload-artifact@v4
