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 52a66b0356fd888e67566443fd189fb019133542 Author: 孙念君 Nianjun Sun <[email protected]> AuthorDate: Tue Oct 29 14:18:56 2024 +0800 Refactor : enable the workflow on self-hosted --- .github/workflows/nightly-e2e-sql-dynamic.yml | 8 ++++---- .github/workflows/resources/variables/env-variables.properties | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/nightly-e2e-sql-dynamic.yml b/.github/workflows/nightly-e2e-sql-dynamic.yml index 9c65efd381b..4e778f721bb 100644 --- a/.github/workflows/nightly-e2e-sql-dynamic.yml +++ b/.github/workflows/nightly-e2e-sql-dynamic.yml @@ -40,7 +40,7 @@ on: description: 'additional-options' required: false default: "[ '' ]" - + concurrency: group: e2e-${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true @@ -57,7 +57,7 @@ jobs: build-e2e-image: name: Build E2E Image needs: global-environment - runs-on: ubuntu-latest + runs-on: ${{ needs.global-environment.outputs.GLOBAL_RUNS_ON }} timeout-minutes: 40 steps: - uses: actions/checkout@v4 @@ -81,12 +81,12 @@ jobs: name: e2e-image path: /tmp/${{ needs.global-environment.outputs.GLOBAL_CACHE_PREFIX }}-proxy-test.tar retention-days: 2 - + e2e-sql: name: E2E - SQL needs: [ build-e2e-image, global-environment ] if: ${{ needs.global-environment.outputs.GLOBAL_JOB_ENABLED == 'true' }} - runs-on: ubuntu-latest + runs-on: ${{ needs.global-environment.outputs.GLOBAL_RUNS_ON }} timeout-minutes: 30 strategy: max-parallel: 20 diff --git a/.github/workflows/resources/variables/env-variables.properties b/.github/workflows/resources/variables/env-variables.properties index ccbeaad58ad..90bebd69812 100644 --- a/.github/workflows/resources/variables/env-variables.properties +++ b/.github/workflows/resources/variables/env-variables.properties @@ -1,3 +1,3 @@ GLOBAL_REPOSITORY=SphereEx/dbplus-engine-honor -GLOBAL_RUNS_ON=self-hosted-cluster +GLOBAL_RUNS_ON=self-hosted-honor DISABLE_CI=false
