Skip to content

Commit a135d68

Browse files
committed
add default args for each CNI
1 parent 093cabe commit a135d68

File tree

6 files changed

+22
-3
lines changed

6 files changed

+22
-3
lines changed

.github/workflows/kind_antrea.yml

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
workflow_dispatch:
44
inputs:
55
cyclonus_args:
6+
description: "args to pass on to Cyclonus"
67
required: false
78
default: "generate --include conflict --job-timeout-seconds 2 --server-protocol=tcp,udp"
89
# schedule:

.github/workflows/kind_calico.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: Kind Calico Cyclonus
22
on:
33
workflow_dispatch:
4+
inputs:
5+
cyclonus_args:
6+
description: "args to pass on to Cyclonus"
7+
required: false
8+
default: "generate --include conflict --job-timeout-seconds 2"
49
# schedule:
510
# At 01:00 on Sunday.
611
# - cron: '0 1 * * 0'
@@ -13,4 +18,4 @@ jobs:
1318
- uses: actions/checkout@v2
1419
- name: Run Cyclonus
1520
working-directory: hack/kind
16-
run: CNI=calico RUN_FROM_SOURCE=true ./run-cyclonus.sh
21+
run: CNI=calico RUN_FROM_SOURCE=true FROM_SOURCE_ARGS="${{ github.event.inputs.cyclonus_args }}" ./run-cyclonus.sh

.github/workflows/kind_cilium.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: Kind Cilium Cyclonus
22
on:
33
workflow_dispatch:
4+
inputs:
5+
cyclonus_args:
6+
description: "args to pass on to Cyclonus"
7+
required: false
8+
default: "generate --include conflict --job-timeout-seconds 2 --server-protocol=tcp,udp --ignore-loopback=true"
49
# schedule:
510
# At 03:00 on Sunday.
611
# - cron: '0 3 * * 0'
@@ -13,4 +18,4 @@ jobs:
1318
- uses: actions/checkout@v2
1419
- name: Run Cyclonus
1520
working-directory: hack/kind
16-
run: CNI=cilium RUN_FROM_SOURCE=true ./run-cyclonus.sh
21+
run: CNI=cilium RUN_FROM_SOURCE=true FROM_SOURCE_ARGS="${{ github.event.inputs.cyclonus_args }}" ./run-cyclonus.sh

.github/workflows/kind_cni_from_job.yml

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
workflow_dispatch:
44
inputs:
55
cni:
6+
description: "name of CNI to use"
67
required: true
78

89
jobs:

.github/workflows/kind_cni_from_source.yml

+2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ on:
33
workflow_dispatch:
44
inputs:
55
cni:
6+
description: "name of CNI to use"
67
required: true
78
cyclonus_args:
9+
description: "args to pass on to Cyclonus"
810
required: false
911
default: "generate include --conflict --job-timeout-seconds 2"
1012

.github/workflows/kind_ovn.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: Kind Ovn Cyclonus
22
on:
33
workflow_dispatch:
4+
inputs:
5+
cyclonus_args:
6+
description: "args to pass on to Cyclonus"
7+
required: false
8+
default: "generate --include conflict --job-timeout-seconds 2 --exclude=named-port,multi-peer,upstream-e2e,example --ignore-loopback=true"
49
# schedule:
510
# See https://crontab.guru/#0_2_*_*_0:
611
# At 02:00 on Sunday.
@@ -15,4 +20,4 @@ jobs:
1520
- uses: actions/checkout@v2
1621
- name: Run Cyclonus
1722
working-directory: hack/kind
18-
run: CNI=ovn-kubernetes RUN_FROM_SOURCE=true ./run-cyclonus.sh
23+
run: CNI=ovn-kubernetes RUN_FROM_SOURCE=true FROM_SOURCE_ARGS="${{ github.event.inputs.cyclonus_args }}" ./run-cyclonus.sh

0 commit comments

Comments
 (0)