This is an automated email from the ASF dual-hosted git repository.

menghaoran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new 26e733f448d Refactor : add dyamic trigger for operation (#32343)
26e733f448d is described below

commit 26e733f448d3eee40c3488cc5cdbfe8731f157ac
Author: 孙念君 Nianjun Sun <[email protected]>
AuthorDate: Wed Jul 31 11:55:47 2024 +0800

    Refactor : add dyamic trigger for operation (#32343)
---
 .../workflows/nightly-e2e-operation-dynamic.yml    |  6 +--
 .github/workflows/nightly-e2e-sql-dynamic.yml      | 45 +++++++++++-----------
 2 files changed, 25 insertions(+), 26 deletions(-)

diff --git a/.github/workflows/nightly-e2e-operation-dynamic.yml 
b/.github/workflows/nightly-e2e-operation-dynamic.yml
index e231e0a4392..f6565c0487b 100644
--- a/.github/workflows/nightly-e2e-operation-dynamic.yml
+++ b/.github/workflows/nightly-e2e-operation-dynamic.yml
@@ -54,9 +54,9 @@ jobs:
       max-parallel: 20
       fail-fast: false
       matrix:
-        java-version: [ 11, 21 ]
-        operation: [ transaction, pipeline, showprocesslist ]
-        image: [ { type: "it.docker.mysql.version", version: 
"mysql:5.7,mysql:8.0" }, { type: "it.docker.postgresql.version", version: 
"postgres:10-alpine,postgres:11-alpine,postgres:12-alpine,postgres:13-alpine,postgres:14-alpine"
 }, { type: "it.docker.opengauss.version", version: 
"enmotech/opengauss:2.1.0,enmotech/opengauss:3.0.0" }, { type: 
"it.docker.mariadb.version", version: "mariadb:11" } ]
+        java-version: ${{ fromJson(github.event.inputs.java-version) }}
+        operation: ${{ fromJson(github.event.inputs.operation) }}
+        image: ${{ fromJson(github.event.inputs.image) }}
         exclude:
           - operation: transaction
             image: { type: "it.docker.mariadb.version", version: "mariadb:11" }
diff --git a/.github/workflows/nightly-e2e-sql-dynamic.yml 
b/.github/workflows/nightly-e2e-sql-dynamic.yml
index 9798431ec92..6ffd93717c2 100644
--- a/.github/workflows/nightly-e2e-sql-dynamic.yml
+++ b/.github/workflows/nightly-e2e-sql-dynamic.yml
@@ -19,29 +19,28 @@ name: Nightly - E2E SQL Dynamic
 
 on:
   workflow_dispatch:
-    workflow_dispatch:
-      inputs:
-        adapter:
-          description: 'adapter'
-          required: true
-          default: "[ proxy, jdbc ]"
-        mode:
-          description: 'mode'
-          required: true
-          default: "[ Standalone, Cluster ]"
-        database:
-          description: 'database'
-          required: true
-          default: "[ MySQL, PostgreSQL, openGauss ]"
-        scenario:
-          description: 'scenario'
-          required: true
-          default: "[ empty_rules ]"
-        additional-options:
-          description: 'additional-options'
-          required: false
-          default: "[ '' ]"
-          
+    inputs:
+      adapter:
+        description: 'adapter'
+        required: true
+        default: "[ proxy, jdbc ]"
+      mode:
+        description: 'mode'
+        required: true
+        default: "[ Standalone, Cluster ]"
+      database:
+        description: 'database'
+        required: true
+        default: "[ MySQL, PostgreSQL, openGauss ]"
+      scenario:
+        description: 'scenario'
+        required: true
+        default: "[ empty_rules ]"
+      additional-options:
+        description: 'additional-options'
+        required: false
+        default: "[ '' ]"
+        
 concurrency:
   group: e2e-${{ github.workflow }}-${{ github.ref }}
   cancel-in-progress: true

Reply via email to