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

haonan pushed a commit to branch remove_old_cluster
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit b61d5e32087132cf6550282f8af0df462987a593
Author: HTHou <[email protected]>
AuthorDate: Tue May 10 15:21:47 2022 +0800

    Remove old cluster from distribution
---
 .github/workflows/main-unix.yml       |  3 ++-
 .github/workflows/main-win.yml        |  3 +--
 .github/workflows/sonar-coveralls.yml |  3 ++-
 distribution/pom.xml                  | 16 ++++++++--------
 distribution/src/assembly/all.xml     |  2 +-
 5 files changed, 14 insertions(+), 13 deletions(-)

diff --git a/.github/workflows/main-unix.yml b/.github/workflows/main-unix.yml
index b18190297e..f958cc6329 100644
--- a/.github/workflows/main-unix.yml
+++ b/.github/workflows/main-unix.yml
@@ -55,4 +55,5 @@ jobs:
       - name: IT/UT Test
         shell: bash
         # we do not compile client-cpp for saving time, it is tested in 
client.yml
-        run: mvn -B clean verify -Dtest.port.closed=true -P '!testcontainer'
+        # old cluster is deprecated, skip the test
+        run: mvn -B clean verify -Dtest.port.closed=true -P '!testcontainer' 
-Dcluster.skip.test=true
diff --git a/.github/workflows/main-win.yml b/.github/workflows/main-win.yml
index ff2a7de860..43423047fc 100644
--- a/.github/workflows/main-win.yml
+++ b/.github/workflows/main-win.yml
@@ -44,8 +44,7 @@ jobs:
         #   -pl cluster -am -DskipTests=true -Dcluster.test.only=true
         # but we just add labels here to make the action name more graceful
         it_task: [ 'others',
-                   'server',
-                   'cluster'
+                   'server'
         ]
     runs-on: windows-latest
 
diff --git a/.github/workflows/sonar-coveralls.yml 
b/.github/workflows/sonar-coveralls.yml
index 443117df46..77dfc7888a 100644
--- a/.github/workflows/sonar-coveralls.yml
+++ b/.github/workflows/sonar-coveralls.yml
@@ -70,4 +70,5 @@ jobs:
           -Dsonar.projectKey=apache_incubator-iotdb \
           -Dsonar.host.url=https://sonarcloud.io \
           -Dsonar.login=${{ secrets.SONARCLOUD_TOKEN }} \
-          -DskipTests -pl '!distribution'  -P '!testcontainer' -am
+          -DskipTests \
+          -Dcluster.skip.test=true -pl '!distribution'  -P '!testcontainer' -am
diff --git a/distribution/pom.xml b/distribution/pom.xml
index 1eccf37b10..041d1d0c65 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -48,7 +48,7 @@
                             <descriptors>
                                 <descriptor>src/assembly/all.xml</descriptor>
                                 
<descriptor>src/assembly/server.xml</descriptor>
-                                
<descriptor>src/assembly/cluster.xml</descriptor>
+                                
<!--descriptor>src/assembly/cluster.xml</descriptor-->
                                 <descriptor>src/assembly/cli.xml</descriptor>
                                 
<descriptor>src/assembly/grafana-connector.xml</descriptor>
                                 
<descriptor>src/assembly/client-cpp.xml</descriptor>
@@ -85,7 +85,7 @@
                                         
<include>apache-iotdb-${project.version}-all-bin.zip</include>
                                         
<include>apache-iotdb-${project.version}-server-bin.zip</include>
                                         
<include>apache-iotdb-${project.version}-cli-bin.zip</include>
-                                        
<include>apache-iotdb-${project.version}-cluster-bin.zip</include>
+                                        
<!--include>apache-iotdb-${project.version}-cluster-bin.zip</include-->
                                         
<include>apache-iotdb-${project.version}-grafana-connector-bin.zip</include>
                                         
<include>apache-iotdb-${project.version}-client-cpp-${os.classifier}-bin.zip</include>
                                         
<include>apache-iotdb-${project.version}-grafana-plugin-bin.zip</include>
@@ -123,12 +123,12 @@
             <version>${project.version}</version>
             <type>pom</type>
         </dependency>
-        <dependency>
-            <groupId>org.apache.iotdb</groupId>
-            <artifactId>iotdb-cluster</artifactId>
-            <version>${project.version}</version>
-            <type>zip</type>
-        </dependency>
+        <!--        <dependency>-->
+        <!--            <groupId>org.apache.iotdb</groupId>-->
+        <!--            <artifactId>iotdb-cluster</artifactId>-->
+        <!--            <version>${project.version}</version>-->
+        <!--            <type>zip</type>-->
+        <!--        </dependency>-->
         <dependency>
             <groupId>org.apache.iotdb</groupId>
             <artifactId>client-cpp</artifactId>
diff --git a/distribution/src/assembly/all.xml 
b/distribution/src/assembly/all.xml
index dcd04e93ad..2d4b16fd4e 100644
--- a/distribution/src/assembly/all.xml
+++ b/distribution/src/assembly/all.xml
@@ -31,7 +31,7 @@
             <includes>
                 <include>*:iotdb-server:zip:*</include>
                 <include>*:iotdb-cli:zip:*</include>
-                <include>*:iotdb-cluster:zip:*</include>
+                <!--                <include>*:iotdb-cluster:zip:*</include>-->
             </includes>
             <outputDirectory>${file.separator}</outputDirectory>
             
<outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>

Reply via email to