Skip to content

Commit

Permalink
Add debug statements to eks workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
devodev committed Nov 5, 2024
1 parent 829e494 commit 4f30102
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/eks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ jobs:
- name: Install Cilium and run tests
timeout-minutes: 30
run: |
set -x
# Install Cilium
cilium install \
--version "${{ env.cilium_version }}" \
Expand All @@ -157,6 +159,12 @@ jobs:
# Port forward Relay
cilium hubble port-forward&
sleep 10s
echo "[DEBUG] port-forward"
ps | grep port-forward
pgrep -f "kubectl.*port-forward.*hubble-relay" || true >/dev/null
pgrep -f "cilium.*hubble.*port-forward" || true >/dev/null
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
Expand Down

0 comments on commit 4f30102

Please sign in to comment.