You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by dg...@apache.org on 2023/06/21 20:41:50 UTC

[openwhisk] branch master updated: Remove `fail-fast` matrix strategy from GitHub Actions (#5421)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new f73ec7f00 Remove `fail-fast` matrix strategy from GitHub Actions (#5421)
f73ec7f00 is described below

commit f73ec7f006ff278c9ff88a241d58c5c799d16115
Author: Clay Johnson <cj...@gradle.com>
AuthorDate: Wed Jun 21 15:41:44 2023 -0500

    Remove `fail-fast` matrix strategy from GitHub Actions (#5421)
    
    Currently, every GitHub Actions workflow contains the `fail-fast` matrix strategy. However, none of these workflows are actually utilizing a matrix. Further, the on demand workflow has an improper indentation of this strategy block that causes a syntactical error.
    
    This change remove the no-op strategy altogether to fix the broken on demand workflow and remove the IDE warnings regarding the missing matrix declaration.
---
 .github/workflows/0-on-demand.yaml     | 2 --
 .github/workflows/1-unit.yaml          | 2 --
 .github/workflows/2-system.yaml        | 2 --
 .github/workflows/3-multi-runtime.yaml | 2 --
 .github/workflows/4-standalone.yaml    | 2 --
 .github/workflows/5-scheduler.yaml     | 2 --
 .github/workflows/6-performance.yaml   | 2 --
 7 files changed, 14 deletions(-)

diff --git a/.github/workflows/0-on-demand.yaml b/.github/workflows/0-on-demand.yaml
index 33c3480fe..ec768aea0 100644
--- a/.github/workflows/0-on-demand.yaml
+++ b/.github/workflows/0-on-demand.yaml
@@ -65,8 +65,6 @@ jobs:
   openwhisk:
     runs-on: ubuntu-22.04
     continue-on-error: false
-      strategy:
-        fail-fast: true
     steps:
       - name: Checkout
         uses: actions/checkout@v3
diff --git a/.github/workflows/1-unit.yaml b/.github/workflows/1-unit.yaml
index 57914249c..81709e69c 100644
--- a/.github/workflows/1-unit.yaml
+++ b/.github/workflows/1-unit.yaml
@@ -55,8 +55,6 @@ jobs:
   openwhisk:
     runs-on: ubuntu-22.04
     continue-on-error: false
-    strategy:
-      fail-fast: true
     steps:
       - name: Checkout
         uses: actions/checkout@v3
diff --git a/.github/workflows/2-system.yaml b/.github/workflows/2-system.yaml
index 1ac72c224..9fd43279d 100644
--- a/.github/workflows/2-system.yaml
+++ b/.github/workflows/2-system.yaml
@@ -50,8 +50,6 @@ jobs:
   openwhisk:
     runs-on: ubuntu-22.04
     continue-on-error: false
-    strategy:
-      fail-fast: true
     steps:
       - name: Checkout
         uses: actions/checkout@v3
diff --git a/.github/workflows/3-multi-runtime.yaml b/.github/workflows/3-multi-runtime.yaml
index 3ed3601ea..4918682c5 100644
--- a/.github/workflows/3-multi-runtime.yaml
+++ b/.github/workflows/3-multi-runtime.yaml
@@ -50,8 +50,6 @@ jobs:
   openwhisk:
     runs-on: ubuntu-22.04
     continue-on-error: false
-    strategy:
-      fail-fast: true
     steps:
       - name: Checkout
         uses: actions/checkout@v3
diff --git a/.github/workflows/4-standalone.yaml b/.github/workflows/4-standalone.yaml
index a5dc2b97b..8453d396e 100644
--- a/.github/workflows/4-standalone.yaml
+++ b/.github/workflows/4-standalone.yaml
@@ -50,8 +50,6 @@ jobs:
   openwhisk:
     runs-on: ubuntu-22.04
     continue-on-error: false
-    strategy:
-      fail-fast: true
     steps:
       - name: Checkout
         uses: actions/checkout@v3
diff --git a/.github/workflows/5-scheduler.yaml b/.github/workflows/5-scheduler.yaml
index 678f4e973..1d1774a93 100644
--- a/.github/workflows/5-scheduler.yaml
+++ b/.github/workflows/5-scheduler.yaml
@@ -50,8 +50,6 @@ jobs:
   openwhisk:
     runs-on: ubuntu-22.04
     continue-on-error: false
-    strategy:
-      fail-fast: true
     steps:
       - name: Checkout
         uses: actions/checkout@v3
diff --git a/.github/workflows/6-performance.yaml b/.github/workflows/6-performance.yaml
index 0837a670c..dbc93c814 100644
--- a/.github/workflows/6-performance.yaml
+++ b/.github/workflows/6-performance.yaml
@@ -50,8 +50,6 @@ jobs:
   openwhisk:
     runs-on: ubuntu-22.04
     continue-on-error: false
-    strategy:
-      fail-fast: true
     steps:
       - name: Checkout
         uses: actions/checkout@v3