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

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


The following commit(s) were added to refs/heads/master by this push:
     new e9b9ce3416b [improve][ci] Limit cache step to 5 minutes to fail faster 
when it gets stuck (#19219)
e9b9ce3416b is described below

commit e9b9ce3416b1d3074a024d376cc4f4a26bf45773
Author: Lari Hotari <[email protected]>
AuthorDate: Fri Jan 13 10:21:31 2023 +0200

    [improve][ci] Limit cache step to 5 minutes to fail faster when it gets 
stuck (#19219)
---
 .github/workflows/ci-maven-cache-update.yaml     | 1 +
 .github/workflows/ci-owasp-dependency-check.yaml | 1 +
 .github/workflows/pulsar-ci-flaky.yaml           | 1 +
 .github/workflows/pulsar-ci.yaml                 | 9 +++++++++
 4 files changed, 12 insertions(+)

diff --git a/.github/workflows/ci-maven-cache-update.yaml 
b/.github/workflows/ci-maven-cache-update.yaml
index 831a2866bea..87570586fde 100644
--- a/.github/workflows/ci-maven-cache-update.yaml
+++ b/.github/workflows/ci-maven-cache-update.yaml
@@ -96,6 +96,7 @@ jobs:
         if: ${{ github.event_name == 'schedule' || steps.changes.outputs.poms 
== 'true' }}
         id: cache
         uses: actions/cache@v3
+        timeout-minutes: 5
         with:
           path: |
             ~/.m2/repository/*/*/*
diff --git a/.github/workflows/ci-owasp-dependency-check.yaml 
b/.github/workflows/ci-owasp-dependency-check.yaml
index 9ee9c8c46b3..c17dbde230d 100644
--- a/.github/workflows/ci-owasp-dependency-check.yaml
+++ b/.github/workflows/ci-owasp-dependency-check.yaml
@@ -64,6 +64,7 @@ jobs:
 
       - name: Cache local Maven repository
         uses: actions/cache@v3
+        timeout-minutes: 5
         with:
           path: |
             ~/.m2/repository/*/*/*
diff --git a/.github/workflows/pulsar-ci-flaky.yaml 
b/.github/workflows/pulsar-ci-flaky.yaml
index e201d379d93..73fccb3e774 100644
--- a/.github/workflows/pulsar-ci-flaky.yaml
+++ b/.github/workflows/pulsar-ci-flaky.yaml
@@ -96,6 +96,7 @@ jobs:
 
       - name: Cache local Maven repository
         uses: actions/cache@v3
+        timeout-minutes: 5
         with:
           path: |
             ~/.m2/repository/*/*/*
diff --git a/.github/workflows/pulsar-ci.yaml b/.github/workflows/pulsar-ci.yaml
index 665a1cb5a07..e6e1fe46c7e 100644
--- a/.github/workflows/pulsar-ci.yaml
+++ b/.github/workflows/pulsar-ci.yaml
@@ -102,6 +102,7 @@ jobs:
 
       - name: Cache local Maven repository
         uses: actions/cache@v3
+        timeout-minutes: 5
         with:
           path: |
             ~/.m2/repository/*/*/*
@@ -206,6 +207,7 @@ jobs:
 
       - name: Cache Maven dependencies
         uses: actions/cache@v3
+        timeout-minutes: 5
         with:
           path: |
             ~/.m2/repository/*/*/*
@@ -313,6 +315,7 @@ jobs:
 
       - name: Cache Maven dependencies
         uses: actions/cache@v3
+        timeout-minutes: 5
         with:
           path: |
             ~/.m2/repository/*/*/*
@@ -418,6 +421,7 @@ jobs:
 
       - name: Cache Maven dependencies
         uses: actions/cache@v3
+        timeout-minutes: 5
         with:
           path: |
             ~/.m2/repository/*/*/*
@@ -561,6 +565,7 @@ jobs:
 
       - name: Cache local Maven repository
         uses: actions/cache@v3
+        timeout-minutes: 5
         with:
           path: |
             ~/.m2/repository/*/*/*
@@ -691,6 +696,7 @@ jobs:
 
       - name: Cache local Maven repository
         uses: actions/cache@v3
+        timeout-minutes: 5
         with:
           path: |
             ~/.m2/repository/*/*/*
@@ -809,6 +815,7 @@ jobs:
 
       - name: Cache local Maven repository
         uses: actions/cache@v3
+        timeout-minutes: 5
         with:
           path: |
             ~/.m2/repository/*/*/*
@@ -934,6 +941,7 @@ jobs:
 
       - name: Cache Maven dependencies
         uses: actions/cache@v3
+        timeout-minutes: 5
         with:
           path: |
             ~/.m2/repository/*/*/*
@@ -979,6 +987,7 @@ jobs:
 
       - name: Cache Maven dependencies
         uses: actions/cache@v3
+        timeout-minutes: 5
         with:
           path: |
             ~/.m2/repository/*/*/*

Reply via email to