Skip to content

Commit

Permalink
Merge 740e265 into 6c47e60
Browse files Browse the repository at this point in the history
  • Loading branch information
style95 authored May 30, 2023
2 parents 6c47e60 + 740e265 commit edd3885
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 12 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/0-on-demand.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ env:
jobs:
openwhisk:
runs-on: ubuntu-22.04
continue-on-error: false
strategy:
fail-fast: true
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/1-unit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,14 @@ env:

# github
GH_BUILD: ${{ github.event_name }}-${{ github.sha }}
GH_BRANCH: ${{ github.head_ref || github.ref_name }}
GH_BRANCH: ${{ github.head_ref || github.ref_name }}

jobs:
openwhisk:
runs-on: ubuntu-22.04
continue-on-error: false
strategy:
fail-fast: true
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/2-system.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,14 @@ env:

# github
GH_BUILD: ${{ github.event_name }}-${{ github.sha }}
GH_BRANCH: ${{ github.head_ref || github.ref_name }}
GH_BRANCH: ${{ github.head_ref || github.ref_name }}

jobs:
openwhisk:
runs-on: ubuntu-22.04
continue-on-error: false
strategy:
fail-fast: true
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/3-multi-runtime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,14 @@ env:

# github
GH_BUILD: ${{ github.event_name }}-${{ github.sha }}
GH_BRANCH: ${{ github.head_ref || github.ref_name }}
GH_BRANCH: ${{ github.head_ref || github.ref_name }}

jobs:
openwhisk:
runs-on: ubuntu-22.04
continue-on-error: false
strategy:
fail-fast: true
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/4-standalone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,14 @@ env:

# github
GH_BUILD: ${{ github.event_name }}-${{ github.sha }}
GH_BRANCH: ${{ github.head_ref || github.ref_name }}
GH_BRANCH: ${{ github.head_ref || github.ref_name }}

jobs:
openwhisk:
runs-on: ubuntu-22.04
continue-on-error: false
strategy:
fail-fast: true
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/5-scheduler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,14 @@ env:

# github
GH_BUILD: ${{ github.event_name }}-${{ github.sha }}
GH_BRANCH: ${{ github.head_ref || github.ref_name }}
GH_BRANCH: ${{ github.head_ref || github.ref_name }}

jobs:
openwhisk:
runs-on: ubuntu-22.04
continue-on-error: false
strategy:
fail-fast: true
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
17 changes: 10 additions & 7 deletions .github/workflows/6-performance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,14 @@ env:

# github
GH_BUILD: ${{ github.event_name }}-${{ github.sha }}
GH_BRANCH: ${{ github.head_ref || github.ref_name }}
GH_BRANCH: ${{ github.head_ref || github.ref_name }}

jobs:
openwhisk:
runs-on: ubuntu-22.04
continue-on-error: false
strategy:
fail-fast: true
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -79,9 +82,9 @@ jobs:
- run: OPENWHISK_HOST="172.17.0.1" USERS="1" REQUESTS_PER_SEC="1" ./gradlew gatlingRun-org.apache.openwhisk.ColdBlockingInvokeSimulation
continue-on-error: true
- name: Slack Notification
run: >
./tools/github/writeOnSlack.sh
"[$TEST_SUITE]" ${{ steps.tests.outcome }} on ${GH_BUILD}
$'\nbranch:' $GH_BRANCH
$'\nmessage:' "$(git log -1 --oneline | cat)"
$'\nCheck GitHub logs for results'
run: >
./tools/github/writeOnSlack.sh
"[$TEST_SUITE]" ${{ steps.tests.outcome }} on ${GH_BUILD}
$'\nbranch:' $GH_BRANCH
$'\nmessage:' "$(git log -1 --oneline | cat)"
$'\nCheck GitHub logs for results'
2 changes: 2 additions & 0 deletions tools/github/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
#then echo skipping setup ; exit 0
#fi

set -e

# retries a command for five times and exits with the non-zero exit if even after
# the retries the command did not succeed.
function retry() {
Expand Down

0 comments on commit edd3885

Please sign in to comment.