You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by sp...@apache.org on 2021/10/27 00:57:41 UTC

[apisix] branch master updated: ci: set timeout for github actions (#5335)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new a08e02c  ci: set timeout for github actions (#5335)
a08e02c is described below

commit a08e02c370a982a077851678c46752bb2096c00c
Author: tzssangglass <tz...@gmail.com>
AuthorDate: Wed Oct 27 08:57:33 2021 +0800

    ci: set timeout for github actions (#5335)
---
 .github/workflows/build.yml           | 1 +
 .github/workflows/centos7-ci.yml      | 1 +
 .github/workflows/chaos.yml           | 1 +
 .github/workflows/cli.yml             | 1 +
 .github/workflows/code-lint.yml       | 1 +
 .github/workflows/doc-lint.yml        | 1 +
 .github/workflows/fuzzing-ci.yaml     | 1 +
 .github/workflows/license-checker.yml | 1 +
 .github/workflows/lint.yml            | 1 +
 .github/workflows/stale.yml           | 3 +++
 10 files changed, 12 insertions(+)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 16453f3..c1551ed 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -30,6 +30,7 @@ jobs:
           - linux_tengine
 
     runs-on: ${{ matrix.platform }}
+    timeout-minutes: 90
     env:
       SERVER_NAME: ${{ matrix.os_name }}
       OPENRESTY_VERSION: default
diff --git a/.github/workflows/centos7-ci.yml b/.github/workflows/centos7-ci.yml
index 2f4ba8c..899a33c 100644
--- a/.github/workflows/centos7-ci.yml
+++ b/.github/workflows/centos7-ci.yml
@@ -20,6 +20,7 @@ jobs:
   test_apisix:
     name: run ci on centos7
     runs-on: ubuntu-latest
+    timeout-minutes: 90
 
     steps:
     - name: Check out code
diff --git a/.github/workflows/chaos.yml b/.github/workflows/chaos.yml
index 17e61de..13cbc3c 100644
--- a/.github/workflows/chaos.yml
+++ b/.github/workflows/chaos.yml
@@ -15,6 +15,7 @@ concurrency:
 jobs:
   chaos-test:
     runs-on: ubuntu-latest
+    timeout-minutes: 35
     steps:
       - uses: actions/checkout@v2.3.5
         with:
diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml
index ae86097..e5899db 100644
--- a/.github/workflows/cli.yml
+++ b/.github/workflows/cli.yml
@@ -29,6 +29,7 @@ jobs:
           - linux_apisix_current_luarocks_in_customed_nginx
 
     runs-on: ${{ matrix.platform }}
+    timeout-minutes: 15
     env:
       SERVER_NAME: ${{ matrix.job_name }}
       OPENRESTY_VERSION: default
diff --git a/.github/workflows/code-lint.yml b/.github/workflows/code-lint.yml
index 230233d..7cd660a 100644
--- a/.github/workflows/code-lint.yml
+++ b/.github/workflows/code-lint.yml
@@ -10,6 +10,7 @@ on:
 jobs:
   lint:
     runs-on: ubuntu-latest
+    timeout-minutes: 10
     steps:
     - uses: actions/checkout@v2.3.5
     - name: Install
diff --git a/.github/workflows/doc-lint.yml b/.github/workflows/doc-lint.yml
index 4e4428a..8f7e58f 100644
--- a/.github/workflows/doc-lint.yml
+++ b/.github/workflows/doc-lint.yml
@@ -10,6 +10,7 @@ jobs:
   markdownlint:
     name: ๐Ÿ‡ Markdown
     runs-on: ubuntu-latest
+    timeout-minutes: 1
     steps:
       - uses: actions/checkout@v2.3.5
       - name: ๐Ÿš€ Use Node.js
diff --git a/.github/workflows/fuzzing-ci.yaml b/.github/workflows/fuzzing-ci.yaml
index adf2d0d..00edfd0 100644
--- a/.github/workflows/fuzzing-ci.yaml
+++ b/.github/workflows/fuzzing-ci.yaml
@@ -22,6 +22,7 @@ jobs:
   test_apisix:
     name: run fuzzing
     runs-on: ubuntu-latest
+    timeout-minutes: 30
 
     steps:
     - name: Check out code
diff --git a/.github/workflows/license-checker.yml b/.github/workflows/license-checker.yml
index 00d1363..ad2e71c 100644
--- a/.github/workflows/license-checker.yml
+++ b/.github/workflows/license-checker.yml
@@ -29,6 +29,7 @@ on:
 jobs:
   check-license:
     runs-on: ubuntu-latest
+    timeout-minutes: 3
 
     steps:
       - uses: actions/checkout@v2.3.5
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 337bd1e..f4ed245 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -6,6 +6,7 @@ jobs:
   trailing-whitespace:
     name: ๐ŸŒŒ Trailing whitespace
     runs-on: ubuntu-latest
+    timeout-minutes: 1
     steps:
       - uses: actions/checkout@v2.3.5
       - name: ๐Ÿงน Check for trailing whitespace
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index 4c7d3af..984fb8c 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -1,3 +1,5 @@
+name: Stable Test
+
 on:
   workflow_dispatch:
   schedule:
@@ -7,6 +9,7 @@ jobs:
   prune_stale:
     name: Prune Stale
     runs-on: ubuntu-latest
+    timeout-minutes: 10
 
     steps:
     - name: Prune Stale