File tree 5 files changed +15
-38
lines changed
5 files changed +15
-38
lines changed Original file line number Diff line number Diff line change 14
14
# will disappear from the PR checks: please provide a direct link to the
15
15
# successful workflow run (can be found from Actions tab) in a comment.
16
16
#
17
- # pull_request: {}
17
+ pull_request : {}
18
18
# ##
19
- pull_request_target : {}
19
+ # pull_request_target: {}
20
20
# Run every 6 hours
21
21
schedule :
22
22
- cron : ' 30 1/6 * * *'
@@ -158,11 +158,7 @@ jobs:
158
158
# Port forward Relay
159
159
cilium hubble port-forward&
160
160
sleep 10s
161
- if ! [[ $(pgrep -f "kubectl.*port-forward.*hubble-relay" | wc -l) == 1 ]]; then
162
- # support for native port-forwarding
163
- # TODO: remove kubectl version after 0.16.20 release
164
- [[ $(pgrep -f "cilium.*hubble.*port-forward" | wc -l) == 1 ]]
165
- fi
161
+ [[ $(pgrep -f "^cilium.*hubble.*port-forward$" | wc -l) == 1 ]]
166
162
167
163
# Run connectivity test
168
164
cilium connectivity test --test-concurrency=3 --all-flows --collect-sysdump-on-failure --external-target amazon.com. \
Original file line number Diff line number Diff line change 14
14
# will disappear from the PR checks: please provide a direct link to the
15
15
# successful workflow run (can be found from Actions tab) in a comment.
16
16
#
17
- # pull_request: {}
17
+ pull_request : {}
18
18
# ##
19
- pull_request_target : {}
19
+ # pull_request_target: {}
20
20
# Run every 6 hours
21
21
schedule :
22
22
- cron : ' 0 1/6 * * *'
@@ -157,11 +157,7 @@ jobs:
157
157
# Port forward Relay
158
158
cilium hubble port-forward&
159
159
sleep 10s
160
- if ! [[ $(pgrep -f "kubectl.*port-forward.*hubble-relay" | wc -l) == 1 ]]; then
161
- # support for native port-forwarding
162
- # TODO: remove kubectl version after 0.16.20 release
163
- [[ $(pgrep -f "cilium.*hubble.*port-forward" | wc -l) == 1 ]]
164
- fi
160
+ [[ $(pgrep -f "^cilium.*hubble.*port-forward$" | wc -l) == 1 ]]
165
161
166
162
# Run connectivity test
167
163
cilium connectivity test --test-concurrency=3 --all-flows --collect-sysdump-on-failure --external-target amazon.com.
Original file line number Diff line number Diff line change 14
14
# will disappear from the PR checks: please provide a direct link to the
15
15
# successful workflow run (can be found from Actions tab) in a comment.
16
16
#
17
- # pull_request: {}
17
+ pull_request : {}
18
18
# ##
19
- pull_request_target : {}
19
+ # pull_request_target: {}
20
20
# Run every 6 hours
21
21
schedule :
22
22
- cron : ' 0 2/6 * * *'
@@ -153,11 +153,8 @@ jobs:
153
153
# Port forward Relay
154
154
cilium hubble port-forward&
155
155
sleep 10s
156
- if ! [[ $(pgrep -f "kubectl.*port-forward.*hubble-relay" | wc -l) == 1 ]]; then
157
- # support for native port-forwarding
158
- # TODO: remove kubectl version after 0.16.20 release
159
- [[ $(pgrep -f "cilium.*hubble.*port-forward" | wc -l) == 1 ]]
160
- fi
156
+
157
+ [[ $(pgrep -f "^cilium.*hubble.*port-forward$" | wc -l) == 1 ]]
161
158
162
159
# Run connectivity test
163
160
cilium connectivity test --test-concurrency=5 --all-flows --collect-sysdump-on-failure --external-target google.com.
Original file line number Diff line number Diff line change 82
82
run : |
83
83
cilium hubble port-forward&
84
84
sleep 10s
85
- if ! [[ $(pgrep -f "kubectl.*port-forward.*hubble-relay" | wc -l) == 1 ]]; then
86
- # support for native port-forwarding
87
- # TODO: remove kubectl version after 0.16.20 release
88
- [[ $(pgrep -f "cilium.*hubble.*port-forward" | wc -l) == 1 ]]
89
- fi
85
+ [[ $(pgrep -f "^cilium.*hubble.*port-forward$" | wc -l) == 1 ]]
90
86
91
87
- name : Set up external targets
92
88
id : external_targets
@@ -164,11 +160,7 @@ jobs:
164
160
run : |
165
161
cilium hubble port-forward&
166
162
sleep 10s
167
- if ! [[ $(pgrep -f "kubectl.*port-forward.*hubble-relay" | wc -l) == 1 ]]; then
168
- # support for native port-forwarding
169
- # TODO: remove kubectl version after 0.16.20 release
170
- [[ $(pgrep -f "cilium.*hubble.*port-forward" | wc -l) == 1 ]]
171
- fi
163
+ [[ $(pgrep -f "^cilium.*hubble.*port-forward$" | wc -l) == 1 ]]
172
164
173
165
- name : Connectivity test
174
166
run : |
Original file line number Diff line number Diff line change 14
14
# will disappear from the PR checks: please provide a direct link to the
15
15
# successful workflow run (can be found from Actions tab) in a comment.
16
16
#
17
- # pull_request: {}
17
+ pull_request : {}
18
18
# ##
19
- pull_request_target : {}
19
+ # pull_request_target: {}
20
20
# Run every 6 hours
21
21
schedule :
22
22
- cron : ' 0 3/6 * * *'
@@ -250,11 +250,7 @@ jobs:
250
250
# Port forward Relay
251
251
cilium --context "${{ steps.contexts.outputs.cluster1 }}" hubble port-forward&
252
252
sleep 10s
253
- if ! [[ $(pgrep -f "kubectl.*port-forward.*hubble-relay" | wc -l) == 1 ]]; then
254
- # support for native port-forwarding
255
- # TODO: remove kubectl version after 0.16.20 release
256
- [[ $(pgrep -f "cilium.*hubble.*port-forward" | wc -l) == 1 ]]
257
- fi
253
+ [[ $(pgrep -f "^cilium.*hubble.*port-forward$" | wc -l) == 1 ]]
258
254
259
255
# Run connectivity test
260
256
cilium --context "${{ steps.contexts.outputs.cluster1 }}" connectivity test --test-concurrency=5 \
You can’t perform that action at this time.
0 commit comments