You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by zh...@apache.org on 2022/03/14 14:38:19 UTC

[dolphinscheduler] branch dev updated: [ci] Add timeout to each job avoiding zombie process (#8886)

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

zhongjiajie pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new b04a535  [ci] Add timeout to each job avoiding zombie process (#8886)
b04a535 is described below

commit b04a5357440f323ccc96924f1975659e3cd73023
Author: Jiajie Zhong <zh...@hotmail.com>
AuthorDate: Mon Mar 14 22:34:44 2022 +0800

    [ci] Add timeout to each job avoiding zombie process (#8886)
---
 .github/workflows/backend.yml   | 1 +
 .github/workflows/e2e.yml       | 3 +++
 .github/workflows/frontend.yml  | 1 +
 .github/workflows/py-ci.yml     | 4 ++++
 .github/workflows/unit-test.yml | 1 +
 5 files changed, 10 insertions(+)

diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml
index 99ba080..7dfe3f7 100644
--- a/.github/workflows/backend.yml
+++ b/.github/workflows/backend.yml
@@ -41,6 +41,7 @@ jobs:
   build:
     name: Build
     runs-on: ubuntu-latest
+    timeout-minutes: 30
     steps:
       - uses: actions/checkout@v2
         with:
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml
index 9f924d9..469ae86 100644
--- a/.github/workflows/e2e.yml
+++ b/.github/workflows/e2e.yml
@@ -32,6 +32,7 @@ jobs:
   build:
     name: E2E-Build
     runs-on: ubuntu-latest
+    timeout-minutes: 20
     steps:
       - uses: actions/checkout@v2
         with:
@@ -66,6 +67,7 @@ jobs:
     name: ${{ matrix.case.name }}
     needs: build
     runs-on: ubuntu-latest
+    timeout-minutes: 30
     strategy:
       matrix:
         case:
@@ -139,6 +141,7 @@ jobs:
   result:
     name: E2E
     runs-on: ubuntu-latest
+    timeout-minutes: 30
     needs: [ e2e ]
     steps:
       - name: Status
diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml
index 3bba0b8..b1125ce 100644
--- a/.github/workflows/frontend.yml
+++ b/.github/workflows/frontend.yml
@@ -41,6 +41,7 @@ jobs:
   build:
     name: Build
     runs-on: ${{ matrix.os }}
+    timeout-minutes: 20
     strategy:
       matrix:
         os: [ ubuntu-latest, macos-latest ]
diff --git a/.github/workflows/py-ci.yml b/.github/workflows/py-ci.yml
index d10d255..49599f1 100644
--- a/.github/workflows/py-ci.yml
+++ b/.github/workflows/py-ci.yml
@@ -40,6 +40,7 @@ env:
 jobs:
   lint:
     name: Lint
+    timeout-minutes: 15
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v2
@@ -55,6 +56,7 @@ jobs:
           python -m tox -vv -e lint
   pytest:
     name: Pytest
+    timeout-minutes: 15
     needs: lint
     runs-on: ${{ matrix.os }}
     strategy:
@@ -76,6 +78,7 @@ jobs:
           python -m tox -vv -e code-test
   doc-build:
     name: Docs Build Test
+    timeout-minutes: 15
     needs: lint
     runs-on: ubuntu-latest
     steps:
@@ -92,6 +95,7 @@ jobs:
           python -m tox -vv -e doc-build-test
   verify-local-ci:
     name: Local CI
+    timeout-minutes: 15
     needs:
       - pytest
       - doc-build
diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml
index 338bcc7..4043e2e 100644
--- a/.github/workflows/unit-test.yml
+++ b/.github/workflows/unit-test.yml
@@ -39,6 +39,7 @@ jobs:
   unit-test:
     name: Unit Test
     runs-on: ubuntu-latest
+    timeout-minutes: 30
     steps:
       - uses: actions/checkout@v2
         with: