Skip to content

Commit

Permalink
DO NOT MERGE debugging
Browse files Browse the repository at this point in the history
Signed-off-by: Michi Mutsuzaki <[email protected]>
  • Loading branch information
michi-covalent committed Nov 6, 2024
1 parent c0f9529 commit a51fd54
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 38 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/eks-tunnel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ on:
# will disappear from the PR checks: please provide a direct link to the
# successful workflow run (can be found from Actions tab) in a comment.
#
# pull_request: {}
pull_request: {}
###
pull_request_target: {}
#pull_request_target: {}
# Run every 6 hours
schedule:
- cron: '30 1/6 * * *'
Expand Down Expand Up @@ -158,11 +158,7 @@ jobs:
# Port forward Relay
cilium hubble port-forward&
sleep 10s
if ! [[ $(pgrep -f "kubectl.*port-forward.*hubble-relay" | wc -l) == 1 ]]; then
# support for native port-forwarding
# TODO: remove kubectl version after 0.16.20 release
[[ $(pgrep -f "cilium.*hubble.*port-forward" | wc -l) == 1 ]]
fi
[[ $(pgrep -f "^cilium hubble port-forward$" | wc -l) == 1 ]]
# Run connectivity test
cilium connectivity test --test-concurrency=3 --all-flows --collect-sysdump-on-failure --external-target amazon.com. \
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/eks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ on:
# will disappear from the PR checks: please provide a direct link to the
# successful workflow run (can be found from Actions tab) in a comment.
#
# pull_request: {}
pull_request: {}
###
pull_request_target: {}
#pull_request_target: {}
# Run every 6 hours
schedule:
- cron: '0 1/6 * * *'
Expand Down Expand Up @@ -157,11 +157,7 @@ jobs:
# Port forward Relay
cilium hubble port-forward&
sleep 10s
if ! [[ $(pgrep -f "kubectl.*port-forward.*hubble-relay" | wc -l) == 1 ]]; then
# support for native port-forwarding
# TODO: remove kubectl version after 0.16.20 release
[[ $(pgrep -f "cilium.*hubble.*port-forward" | wc -l) == 1 ]]
fi
[[ $(pgrep -f "^cilium hubble port-forward$" | wc -l) == 1 ]]
# Run connectivity test
cilium connectivity test --test-concurrency=3 --all-flows --collect-sysdump-on-failure --external-target amazon.com.
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/gke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ on:
# will disappear from the PR checks: please provide a direct link to the
# successful workflow run (can be found from Actions tab) in a comment.
#
# pull_request: {}
pull_request: {}
###
pull_request_target: {}
# pull_request_target: {}
# Run every 6 hours
schedule:
- cron: '0 2/6 * * *'
Expand Down Expand Up @@ -153,11 +153,8 @@ jobs:
# Port forward Relay
cilium hubble port-forward&
sleep 10s
if ! [[ $(pgrep -f "kubectl.*port-forward.*hubble-relay" | wc -l) == 1 ]]; then
# support for native port-forwarding
# TODO: remove kubectl version after 0.16.20 release
[[ $(pgrep -f "cilium.*hubble.*port-forward" | wc -l) == 1 ]]
fi
[[ $(pgrep -f "^cilium hubble port-forward$" | wc -l) == 1 ]]
# Run connectivity test
cilium connectivity test --test-concurrency=5 --all-flows --collect-sysdump-on-failure --external-target google.com.
Expand Down
12 changes: 2 additions & 10 deletions .github/workflows/kind.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,7 @@ jobs:
run: |
cilium hubble port-forward&
sleep 10s
if ! [[ $(pgrep -f "kubectl.*port-forward.*hubble-relay" | wc -l) == 1 ]]; then
# support for native port-forwarding
# TODO: remove kubectl version after 0.16.20 release
[[ $(pgrep -f "cilium.*hubble.*port-forward" | wc -l) == 1 ]]
fi
[[ $(pgrep -f "^cilium hubble port-forward$" | wc -l) == 1 ]]
- name: Set up external targets
id: external_targets
Expand Down Expand Up @@ -164,11 +160,7 @@ jobs:
run: |
cilium hubble port-forward&
sleep 10s
if ! [[ $(pgrep -f "kubectl.*port-forward.*hubble-relay" | wc -l) == 1 ]]; then
# support for native port-forwarding
# TODO: remove kubectl version after 0.16.20 release
[[ $(pgrep -f "cilium.*hubble.*port-forward" | wc -l) == 1 ]]
fi
[[ $(pgrep -f "^cilium hubble port-forward$" | wc -l) == 1 ]]
- name: Connectivity test
run: |
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/multicluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ on:
# will disappear from the PR checks: please provide a direct link to the
# successful workflow run (can be found from Actions tab) in a comment.
#
# pull_request: {}
pull_request: {}
###
pull_request_target: {}
# pull_request_target: {}
# Run every 6 hours
schedule:
- cron: '0 3/6 * * *'
Expand Down Expand Up @@ -250,11 +250,7 @@ jobs:
# Port forward Relay
cilium --context "${{ steps.contexts.outputs.cluster1 }}" hubble port-forward&
sleep 10s
if ! [[ $(pgrep -f "kubectl.*port-forward.*hubble-relay" | wc -l) == 1 ]]; then
# support for native port-forwarding
# TODO: remove kubectl version after 0.16.20 release
[[ $(pgrep -f "cilium.*hubble.*port-forward" | wc -l) == 1 ]]
fi
[[ $(pgrep -f "^cilium hubble port-forward$" | wc -l) == 1 ]]
# Run connectivity test
cilium --context "${{ steps.contexts.outputs.cluster1 }}" connectivity test --test-concurrency=5 \
Expand Down

0 comments on commit a51fd54

Please sign in to comment.