You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by ji...@apache.org on 2024/11/12 13:13:18 UTC
(shardingsphere) 09/42: Refactor : remove useless workflow
This is an automated email from the ASF dual-hosted git repository.
jiangmaolin pushed a commit to branch dev-5.5.1
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
commit 5e2c0c7507a7a46b4301508f2d715e9a69c659c3
Author: 孙念君 Nianjun Sun <su...@apache.org>
AuthorDate: Tue Oct 29 14:47:55 2024 +0800
Refactor : remove useless workflow
---
.../workflows/nightly-e2e-operation-dynamic.yml | 8 -------
.github/workflows/nightly-e2e-sql-dynamic.yml | 27 ----------------------
2 files changed, 35 deletions(-)
diff --git a/.github/workflows/nightly-e2e-operation-dynamic.yml b/.github/workflows/nightly-e2e-operation-dynamic.yml
index 16580c12b93..9ec170c6b41 100644
--- a/.github/workflows/nightly-e2e-operation-dynamic.yml
+++ b/.github/workflows/nightly-e2e-operation-dynamic.yml
@@ -70,14 +70,6 @@ jobs:
steps:
- name: Checkout Project
uses: actions/checkout@v4
- - name: Retrieve Maven Caches
- uses: actions/cache@v4
- with:
- path: ~/.m2/repository
- key: ${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-maven-third-party-e2e-cache-${{ github.sha }}
- restore-keys: |
- ${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-maven-third-party-e2e-cache-
- ${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-maven-third-party-
- name: Setup JDK ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
diff --git a/.github/workflows/nightly-e2e-sql-dynamic.yml b/.github/workflows/nightly-e2e-sql-dynamic.yml
index 4e778f721bb..55dc25c41ba 100644
--- a/.github/workflows/nightly-e2e-sql-dynamic.yml
+++ b/.github/workflows/nightly-e2e-sql-dynamic.yml
@@ -65,22 +65,8 @@ jobs:
with:
distribution: 'temurin'
java-version: 21
- - uses: actions/cache@v4
- with:
- path: ~/.m2/repository
- key: ${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-maven-third-party-e2e-cache-${{ github.sha }}
- restore-keys: |
- ${{ 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
- - 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
- with:
- name: e2e-image
- path: /tmp/${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-proxy-test.tar
- retention-days: 2
e2e-sql:
name: E2E - SQL
@@ -122,22 +108,9 @@ jobs:
scenario: empty_storage_units
steps:
- uses: actions/checkout@v4
- - uses: actions/cache@v4
- with:
- path: ~/.m2/repository
- key: ${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-maven-third-party-e2e-cache-${{ github.sha }}
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- - name: Download E2E Image
- if: matrix.adapter == 'proxy'
- uses: actions/download-artifact@v4
- with:
- name: e2e-image
- path: /tmp/
- - name: Load E2E Image
- if: matrix.adapter == 'proxy'
- 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 }}