ci: continue-on-error on non-PR with snapshotter enabled

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2023-09-30 12:19:04 +02:00
parent 70892220c8
commit e1bacd18a3
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
2 changed files with 11 additions and 0 deletions

View file

@ -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:
-
@ -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:
@ -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:
-
@ -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:
-
@ -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
@ -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:
@ -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:
@ -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
@ -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:

View file

@ -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
@ -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