Skip to content

Commit

Permalink
ci: continue-on-error on non-PR with snapshotter enabled
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
  • Loading branch information
crazy-max committed Oct 13, 2023
1 parent 7089222 commit e1bacd1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ env:
jobs:
unit:
runs-on: ubuntu-20.04
continue-on-error: ${{ inputs.storage == 'snapshotter' && github.event_name != 'pull_request' }}
timeout-minutes: 120
steps:
-
Expand Down Expand Up @@ -71,6 +72,7 @@ jobs:

unit-report:
runs-on: ubuntu-20.04
continue-on-error: ${{ inputs.storage == 'snapshotter' && github.event_name != 'pull_request' }}
timeout-minutes: 10
if: always()
needs:
Expand Down Expand Up @@ -98,6 +100,7 @@ jobs:
docker-py:
runs-on: ubuntu-20.04
continue-on-error: ${{ inputs.storage == 'snapshotter' && github.event_name != 'pull_request' }}
timeout-minutes: 120
steps:
-
Expand Down Expand Up @@ -149,6 +152,7 @@ jobs:

integration-flaky:
runs-on: ubuntu-20.04
continue-on-error: ${{ inputs.storage == 'snapshotter' && github.event_name != 'pull_request' }}
timeout-minutes: 120
steps:
-
Expand Down Expand Up @@ -176,6 +180,7 @@ jobs:

integration:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ inputs.storage == 'snapshotter' && github.event_name != 'pull_request' }}
timeout-minutes: 120
strategy:
fail-fast: false
Expand Down Expand Up @@ -264,6 +269,7 @@ jobs:

integration-report:
runs-on: ubuntu-20.04
continue-on-error: ${{ inputs.storage == 'snapshotter' && github.event_name != 'pull_request' }}
timeout-minutes: 10
if: always()
needs:
Expand Down Expand Up @@ -291,6 +297,7 @@ jobs:
integration-cli-prepare:
runs-on: ubuntu-20.04
continue-on-error: ${{ inputs.storage == 'snapshotter' && github.event_name != 'pull_request' }}
outputs:
matrix: ${{ steps.tests.outputs.matrix }}
steps:
Expand Down Expand Up @@ -325,6 +332,7 @@ jobs:
integration-cli:
runs-on: ubuntu-20.04
continue-on-error: ${{ inputs.storage == 'snapshotter' && github.event_name != 'pull_request' }}
timeout-minutes: 120
needs:
- integration-cli-prepare
Expand Down Expand Up @@ -395,6 +403,7 @@ jobs:

integration-cli-report:
runs-on: ubuntu-20.04
continue-on-error: ${{ inputs.storage == 'snapshotter' && github.event_name != 'pull_request' }}
timeout-minutes: 10
if: always()
needs:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/.windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ jobs:
integration-test:
runs-on: ${{ inputs.os }}
continue-on-error: ${{ inputs.storage == 'snapshotter' && github.event_name != 'pull_request' }}
timeout-minutes: 120
needs:
- build
Expand Down Expand Up @@ -488,6 +489,7 @@ jobs:

integration-test-report:
runs-on: ubuntu-latest
continue-on-error: ${{ inputs.storage == 'snapshotter' && github.event_name != 'pull_request' }}
if: always()
needs:
- integration-test
Expand Down

0 comments on commit e1bacd1

Please sign in to comment.