From dc9c05da0d6c8cb3a033e192325a105bf91782c8 Mon Sep 17 00:00:00 2001 From: Michi Mutsuzaki Date: Wed, 6 Nov 2024 14:57:59 +0000 Subject: [PATCH] DO NOT MERGE debugging Signed-off-by: Michi Mutsuzaki --- .github/workflows/gke.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gke.yaml b/.github/workflows/gke.yaml index 437f9a9837..3c09e31935 100644 --- a/.github/workflows/gke.yaml +++ b/.github/workflows/gke.yaml @@ -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 * * *' @@ -153,6 +153,14 @@ jobs: # Port forward Relay cilium hubble port-forward& sleep 10s + + set -x + + echo "[DEBUG] port-forward" + ps | grep port-forward || true + pgrep -f "kubectl.*port-forward.*hubble-relay" || true + pgrep -f "cilium.*hubble.*port-forward" || true + 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