You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by jf...@apache.org on 2021/09/20 14:48:28 UTC

[iotdb-web-workbench] branch test-merged created (now 361c11e)

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

jfeinauer pushed a change to branch test-merged
in repository https://gitbox.apache.org/repos/asf/iotdb-web-workbench.git.


      at 361c11e  Allow css to fail (#3)

This branch includes the following new commits:

     new 9c84d53  [FRONTEND] Add workflow for frontend
     new f7adfb0  Renamed Workflows
     new 28a05bb  Create frontend jobs (#1)
     new 361c11e  Allow css to fail (#3)

The 4 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-web-workbench] 04/04: Allow css to fail (#3)

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

jfeinauer pushed a commit to branch test-merged
in repository https://gitbox.apache.org/repos/asf/iotdb-web-workbench.git

commit 361c11e4d110d9ef977dad28792f21ff02263dea
Author: Niklas Merz <ni...@linux.com>
AuthorDate: Mon Sep 20 16:43:12 2021 +0200

    Allow css to fail (#3)
---
 .github/workflows/frontend.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml
index 58a3b31..ffd2581 100644
--- a/.github/workflows/frontend.yml
+++ b/.github/workflows/frontend.yml
@@ -30,6 +30,7 @@ jobs:
       - name: lint
         run: cd frontend && npm run lint
       - name: lint-css
+        continue-on-error: true
         run: cd frontend && npm run lint-css
     
   test:

[iotdb-web-workbench] 03/04: Create frontend jobs (#1)

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

jfeinauer pushed a commit to branch test-merged
in repository https://gitbox.apache.org/repos/asf/iotdb-web-workbench.git

commit 28a05bbd0a08acde2a5cb0836544304085998247
Author: Niklas Merz <ni...@linux.com>
AuthorDate: Sat Sep 11 17:06:45 2021 +0200

    Create frontend jobs (#1)
    
    * Frontend action
    
    * Allow continue on error for lint steps
    
    * Multiple jobs
    
    * Use same settings as default workflow
---
 .github/workflows/frontend.yml | 61 +++++++++++++++++++++---------------------
 1 file changed, 30 insertions(+), 31 deletions(-)

diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml
index 2c19095..58a3b31 100644
--- a/.github/workflows/frontend.yml
+++ b/.github/workflows/frontend.yml
@@ -1,7 +1,4 @@
-# This workflow will build a Java project with Maven
-# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
-
-name: Frontend
+name: frontend
 
 on:
   push:
@@ -22,33 +19,35 @@ on:
   # allow manually run the action:
   workflow_dispatch:
 
-env:
-  MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3
-
-# TODO make npm specific workflow
-
 jobs:
-  unix:
-    strategy:
-      fail-fast: false
-      max-parallel: 20
-      matrix:
-        java: [ 8, 11, 13 ]
-        os: [ ubuntu-latest, macos-latest ]
-    runs-on: ${{ matrix.os}}
-
+  lint:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v2
+      - uses: actions/setup-node@master
+      - name: npm install
+        run: cd frontend && npm install
+      - name: lint
+        run: cd frontend && npm run lint
+      - name: lint-css
+        run: cd frontend && npm run lint-css
+    
+  test:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v2
+      - uses: actions/setup-node@master
+      - name: npm install
+        run: cd frontend && npm install
+      - name: test
+        run: cd frontend && npm run test:unit
+  
+  build:
+    runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v2
-      - name: Set up JDK ${{ matrix.java }}
-        uses: actions/setup-java@v1
-        with:
-          java-version: ${{ matrix.java }}
-      - name: Cache Maven packages
-        uses: actions/cache@v2
-        with:
-          path: ~/.m2
-          key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
-          restore-keys: ${{ runner.os }}-m2-
-      - name: Unit Tests
-        shell: bash
-        run: cd frontend && npm install && npm run lint && npm run test:unit
+      - uses: actions/setup-node@master
+      - name: npm install
+        run: cd frontend && npm install
+      - name: Build
+        run: cd frontend && npm run build
\ No newline at end of file

[iotdb-web-workbench] 01/04: [FRONTEND] Add workflow for frontend

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

jfeinauer pushed a commit to branch test-merged
in repository https://gitbox.apache.org/repos/asf/iotdb-web-workbench.git

commit 9c84d53f1163e878e3bf575210ccd394a5d8bcbe
Author: Julian Feinauer <j....@pragmaticminds.de>
AuthorDate: Sat Sep 11 14:50:05 2021 +0200

    [FRONTEND] Add workflow for frontend
---
 .github/workflows/frontend.yml | 54 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)

diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml
new file mode 100644
index 0000000..0022604
--- /dev/null
+++ b/.github/workflows/frontend.yml
@@ -0,0 +1,54 @@
+# This workflow will build a Java project with Maven
+# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
+
+name: Main Mac and Linux
+
+on:
+  push:
+    branches:
+      - master
+      - 'rel/*'
+      - Vector
+    paths-ignore:
+      - 'docs/**'
+  pull_request:
+    branches:
+      - master
+      - 'rel/*'
+      - cluster_new
+      - Vector
+    paths-ignore:
+      - 'docs/**'
+  # allow manually run the action:
+  workflow_dispatch:
+
+env:
+  MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3
+
+# TODO make npm specific workflow
+
+jobs:
+  unix:
+    strategy:
+      fail-fast: false
+      max-parallel: 20
+      matrix:
+        java: [ 8, 11, 13 ]
+        os: [ ubuntu-latest, macos-latest ]
+    runs-on: ${{ matrix.os}}
+
+    steps:
+      - uses: actions/checkout@v2
+      - name: Set up JDK ${{ matrix.java }}
+        uses: actions/setup-java@v1
+        with:
+          java-version: ${{ matrix.java }}
+      - name: Cache Maven packages
+        uses: actions/cache@v2
+        with:
+          path: ~/.m2
+          key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
+          restore-keys: ${{ runner.os }}-m2-
+      - name: Unit Tests
+        shell: bash
+        run: cd frontend && npm install && npm run lint && npm run test:unit

[iotdb-web-workbench] 02/04: Renamed Workflows

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

jfeinauer pushed a commit to branch test-merged
in repository https://gitbox.apache.org/repos/asf/iotdb-web-workbench.git

commit f7adfb0a907869616deaeb441a2776c8cef10502
Author: Julian Feinauer <j....@pragmaticminds.de>
AuthorDate: Sat Sep 11 15:11:05 2021 +0200

    Renamed Workflows
---
 .github/workflows/default.yml  | 2 +-
 .github/workflows/frontend.yml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml
index d0b7938..60802e7 100644
--- a/.github/workflows/default.yml
+++ b/.github/workflows/default.yml
@@ -1,7 +1,7 @@
 # This workflow will build a Java project with Maven
 # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
 
-name: Main Mac and Linux
+name: Backend
 
 on:
   push:
diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml
index 0022604..2c19095 100644
--- a/.github/workflows/frontend.yml
+++ b/.github/workflows/frontend.yml
@@ -1,7 +1,7 @@
 # This workflow will build a Java project with Maven
 # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
 
-name: Main Mac and Linux
+name: Frontend
 
 on:
   push: