gha: Avoid "fail-fast" in tests that are known to be flaky

Otherwise we'll have to re-run all the tests due to a flaky behaviour in
one of the parts.

Fixes: #7757

Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
Fabiano Fidêncio 2023-08-25 10:00:17 +02:00
parent 686eb3878b
commit fb49d5d7ce
4 changed files with 16 additions and 3 deletions

View File

@ -12,7 +12,10 @@ on:
jobs: jobs:
run-cri-containerd: run-cri-containerd:
strategy: strategy:
fail-fast: true # We can set this to true whenever we're 100% sure that
# the all the tests are not flaky, otherwise we'll fail
# all the tests due to a single flaky instance.
fail-fast: false
matrix: matrix:
containerd_version: ['lts', 'active'] containerd_version: ['lts', 'active']
vmm: ['clh', 'qemu'] vmm: ['clh', 'qemu']

View File

@ -32,7 +32,10 @@ jobs:
run-metrics: run-metrics:
needs: setup-kata needs: setup-kata
strategy: strategy:
fail-fast: true # We can set this to true whenever we're 100% sure that
# the all the tests are not flaky, otherwise we'll fail
# all the tests due to a single flaky instance.
fail-fast: false
matrix: matrix:
vmm: ['clh', 'qemu'] vmm: ['clh', 'qemu']
max-parallel: 1 max-parallel: 1

View File

@ -12,7 +12,10 @@ on:
jobs: jobs:
run-nydus: run-nydus:
strategy: strategy:
fail-fast: true # We can set this to true whenever we're 100% sure that
# the all the tests are not flaky, otherwise we'll fail
# all the tests due to a single flaky instance.
fail-fast: false
matrix: matrix:
containerd_version: ['lts', 'active'] containerd_version: ['lts', 'active']
vmm: ['clh', 'qemu', 'dragonball'] vmm: ['clh', 'qemu', 'dragonball']

View File

@ -15,6 +15,10 @@ jobs:
static-checks: static-checks:
runs-on: garm-ubuntu-2004 runs-on: garm-ubuntu-2004
strategy: strategy:
# We can set this to true whenever we're 100% sure that
# the all the tests are not flaky, otherwise we'll fail
# all the tests due to a single flaky instance.
fail-fast: false
matrix: matrix:
cmd: cmd:
- "make vendor" - "make vendor"