Skip to content

Commit c118ec6

Browse files
ci: kind workflow updated with test-concurrency
The kind workflow improved with matrix to test `test-concurrency` parameter. Signed-off-by: viktor-kurchenko <[email protected]>
1 parent bdfbbc4 commit c118ec6

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/kind.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ jobs:
2424
installation-and-connectivity:
2525
name: Kind Installation and Connectivity Test
2626
runs-on: ubuntu-22.04
27+
strategy:
28+
matrix:
29+
include:
30+
- test-concurrency: 1
31+
- test-concurrency: 5
2732
timeout-minutes: 50
2833
steps:
2934
- name: Checkout
@@ -106,11 +111,13 @@ jobs:
106111
#
107112
# Dispatch interval is set to 100ms, b/c otherwise (default is 0), the flow validation might time out.
108113
cilium connectivity test --debug --test-namespace test-namespace \
114+
--test-concurrency=${{ matrix.test-concurrency }} \
109115
--conn-disrupt-dispatch-interval 100ms \
110116
--include-conn-disrupt-test --conn-disrupt-test-setup
111117
112118
# Run the connectivity test in non-default namespace (i.e. not cilium-test)
113119
cilium connectivity test --debug --all-flows --test-namespace test-namespace \
120+
--test-concurrency=${{ matrix.test-concurrency }} \
114121
--include-unsafe-tests --include-conn-disrupt-test \
115122
--collect-sysdump-on-failure --junit-file cilium-junit-1.xml \
116123
--junit-property type=no-tunnel \
@@ -152,6 +159,7 @@ jobs:
152159
- name: Connectivity test
153160
run: |
154161
cilium connectivity test --debug --force-deploy --all-flows --test-namespace test-namespace \
162+
--test-concurrency=${{ matrix.test-concurrency }} \
155163
--include-unsafe-tests \
156164
--collect-sysdump-on-failure --junit-file cilium-junit-2.xml \
157165
--junit-property type=ipsec \
@@ -315,10 +323,12 @@ jobs:
315323
#
316324
# Dispatch interval is set to 100ms, b/c otherwise (default is 0), the flow validation might time out.
317325
cilium connectivity test --context $CLUSTER1 --multi-cluster $CLUSTER2 --debug \
326+
--test-concurrency=${{ matrix.test-concurrency }} \
318327
--conn-disrupt-dispatch-interval 100ms \
319328
--include-conn-disrupt-test --conn-disrupt-test-setup
320329
321330
cilium connectivity test --context $CLUSTER1 --multi-cluster $CLUSTER2 --debug \
331+
--test-concurrency=${{ matrix.test-concurrency }} \
322332
--include-unsafe-tests --include-conn-disrupt-test \
323333
--collect-sysdump-on-failure --junit-file cilium-junit-clustermesh-1.xml \
324334
--junit-property mode=clustermesh --junit-property type=ipsec

0 commit comments

Comments
 (0)