You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2022/11/18 06:23:56 UTC

[iotdb] branch add_site_ci created (now e090d8c126)

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

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


      at e090d8c126 Add website compile CI

This branch includes the following new commits:

     new e090d8c126 Add website compile CI

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[iotdb] 01/01: Add website compile CI

Posted by ha...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit e090d8c12690e81e91c730a4652f516aa19a9146
Author: HTHou <hh...@outlook.com>
AuthorDate: Fri Nov 18 14:23:43 2022 +0800

    Add website compile CI
---
 .github/workflows/client-cpp.yml                    |  3 +++
 .github/workflows/client-go.yml                     |  1 +
 .github/workflows/client-python.yml                 |  1 +
 .github/workflows/cluster-it-1c1d.yml               |  1 +
 .github/workflows/cluster-it-1c3d.yml               |  1 +
 .github/workflows/e2e.yml                           |  1 +
 .github/workflows/grafana-plugin.yml                |  3 +++
 .github/workflows/influxdb-protocol.yml             |  1 +
 .github/workflows/main-unix.yml                     |  1 +
 .github/workflows/main-win.yml                      |  1 +
 .github/workflows/{client-go.yml => site-build.yml} | 17 +++++------------
 .github/workflows/sonar-coveralls.yml               |  1 +
 .github/workflows/sync.yml                          |  1 +
 13 files changed, 21 insertions(+), 12 deletions(-)

diff --git a/.github/workflows/client-cpp.yml b/.github/workflows/client-cpp.yml
index 7ac5489334..d5f6a22633 100644
--- a/.github/workflows/client-cpp.yml
+++ b/.github/workflows/client-cpp.yml
@@ -16,6 +16,9 @@ on:
       - master
       - "rel/*"
       - "new_*"
+    paths-ignore:
+      - 'docs/**'
+      - 'site/**'
   # allow manually run the action:
   workflow_dispatch:
 
diff --git a/.github/workflows/client-go.yml b/.github/workflows/client-go.yml
index d61078aeca..21d840e117 100644
--- a/.github/workflows/client-go.yml
+++ b/.github/workflows/client-go.yml
@@ -17,6 +17,7 @@ on:
       - "new_*"
     paths-ignore:
       - 'docs/**'
+      - 'site/**'
   # allow manually run the action:
   workflow_dispatch:
 
diff --git a/.github/workflows/client-python.yml b/.github/workflows/client-python.yml
index 910bf96475..790b24765c 100644
--- a/.github/workflows/client-python.yml
+++ b/.github/workflows/client-python.yml
@@ -17,6 +17,7 @@ on:
       - "new_*"
     paths-ignore:
       - 'docs/**'
+      - 'site/**'
   # allow manually run the action:
   workflow_dispatch:
 
diff --git a/.github/workflows/cluster-it-1c1d.yml b/.github/workflows/cluster-it-1c1d.yml
index 658b267a55..c7cdf85ab5 100644
--- a/.github/workflows/cluster-it-1c1d.yml
+++ b/.github/workflows/cluster-it-1c1d.yml
@@ -11,6 +11,7 @@ on:
       - master
     paths-ignore:
       - 'docs/**'
+      - 'site/**'
   # allow manually run the action:
   workflow_dispatch:
 
diff --git a/.github/workflows/cluster-it-1c3d.yml b/.github/workflows/cluster-it-1c3d.yml
index db208a810b..219b0c40f5 100644
--- a/.github/workflows/cluster-it-1c3d.yml
+++ b/.github/workflows/cluster-it-1c3d.yml
@@ -11,6 +11,7 @@ on:
       - master
     paths-ignore:
       - 'docs/**'
+      - 'site/**'
   # allow manually run the action:
   workflow_dispatch:
 
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml
index 0a3d9a9f90..e3f42ee01c 100644
--- a/.github/workflows/e2e.yml
+++ b/.github/workflows/e2e.yml
@@ -14,6 +14,7 @@ on:
       - cluster_new
     paths-ignore:
       - 'docs/**'
+      - 'site/**'
   # allow manually run the action:
   workflow_dispatch:
 
diff --git a/.github/workflows/grafana-plugin.yml b/.github/workflows/grafana-plugin.yml
index 659912fce8..5338a8ab54 100644
--- a/.github/workflows/grafana-plugin.yml
+++ b/.github/workflows/grafana-plugin.yml
@@ -9,6 +9,9 @@ on:
     branches:
       - master
       - "new_*"
+    paths-ignore:
+      - 'docs/**'
+      - 'site/**'
 
 concurrency:
   group: ${{ github.workflow }}-${{ github.ref }}
diff --git a/.github/workflows/influxdb-protocol.yml b/.github/workflows/influxdb-protocol.yml
index a87585a41d..4ac2870e45 100644
--- a/.github/workflows/influxdb-protocol.yml
+++ b/.github/workflows/influxdb-protocol.yml
@@ -27,6 +27,7 @@ on:
       - "new_*"
     paths-ignore:
       - 'docs/**'
+      - 'site/**'
   # allow manually run the action:
   workflow_dispatch:
 
diff --git a/.github/workflows/main-unix.yml b/.github/workflows/main-unix.yml
index 6a5d80fdc7..cde7840423 100644
--- a/.github/workflows/main-unix.yml
+++ b/.github/workflows/main-unix.yml
@@ -18,6 +18,7 @@ on:
       - "new_*"
     paths-ignore:
       - 'docs/**'
+      - 'site/**'
   # allow manually run the action:
   workflow_dispatch:
 
diff --git a/.github/workflows/main-win.yml b/.github/workflows/main-win.yml
index bd4d221872..b055ee16ef 100644
--- a/.github/workflows/main-win.yml
+++ b/.github/workflows/main-win.yml
@@ -18,6 +18,7 @@ on:
       - "new_*"
     paths-ignore:
       - 'docs/**'
+      - 'site/**'
   # allow manually run the action:
   workflow_dispatch:
 
diff --git a/.github/workflows/client-go.yml b/.github/workflows/site-build.yml
similarity index 74%
copy from .github/workflows/client-go.yml
copy to .github/workflows/site-build.yml
index d61078aeca..8c9627c1d8 100644
--- a/.github/workflows/client-go.yml
+++ b/.github/workflows/site-build.yml
@@ -1,22 +1,19 @@
-# This workflow is just for checking whether modifications works for the Go client.
-
-name: Go Client
+name: Site Build
 
 on:
   push:
     branches:
       - master
       - 'rel/*'
-      - "new_*"
     paths-ignore:
       - 'docs/**'
   pull_request:
     branches:
       - master
       - 'rel/*'
-      - "new_*"
-    paths-ignore:
+    paths:
       - 'docs/**'
+      - 'site/**'
   # allow manually run the action:
   workflow_dispatch:
 
@@ -53,9 +50,5 @@ jobs:
           path: ~/.m2
           key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
           restore-keys: ${{ runner.os }}-m2-
-      - name: Compile IoTDB Server
-        run: mvn clean package -pl distribution -am -DskipTests
-      - name: Integration test
-        shell: bash
-        run: |
-          cd client-go && make e2e_test_for_parent_git_repo e2e_test_clean_for_parent_git_repo
\ No newline at end of file
+      - name: Test compile website
+        run: mvn -P site -P compile-site -P compile-site-0.13 -P compile-site-0.12 -P compile-site-0.11 -P compile-site-0.10 -P compile-site-0.9 -P compile-site-0.8 compile -pl site
\ No newline at end of file
diff --git a/.github/workflows/sonar-coveralls.yml b/.github/workflows/sonar-coveralls.yml
index 5461d798d5..154f639f2c 100644
--- a/.github/workflows/sonar-coveralls.yml
+++ b/.github/workflows/sonar-coveralls.yml
@@ -18,6 +18,7 @@ on:
       - "new_*"
     paths-ignore:
       - "docs/**"
+      - 'site/**'
   # allow manually run the action:
   workflow_dispatch:
 
diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml
index 10863358eb..5077a46361 100644
--- a/.github/workflows/sync.yml
+++ b/.github/workflows/sync.yml
@@ -11,6 +11,7 @@ on:
 #      - master
 #    paths-ignore:
 #      - 'docs/**'
+#      - 'site/**'
   # allow manually run the action:
   workflow_dispatch: