Skip to content

Commit 1fbb426

Browse files
get meshery logs
Signed-off-by: Daniel Kiptoon <[email protected]>
1 parent 86491cd commit 1fbb426

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/e2etests.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ jobs:
149149
mesheryctl system logs meshsync
150150
CLUSTER_ID=$(kubectl get ns kube-system -o jsonpath='{.metadata.uid}')
151151
echo $CLUSTER_ID
152-
podname=$(kubectl get pods -n meshery | grep meshsync | tr -s ' ' | cut -d " " -f 1)
152+
podname=$(kubectl get pods -n meshery | grep meshery | tr -s ' ' | cut -d " " -f 1)
153153
kubectl logs pod/$podname -n meshery
154154
svcip="http://$(kubectl get svc -n meshery | grep "meshery " | tr -s ' ' | cut -d " " -f 3):9081"
155155
echo "this is $svcip"
@@ -165,11 +165,6 @@ jobs:
165165
echo "Match found: $result"
166166
break
167167
fi
168-
if [ "$SECONDS" -eq 30 ]; then
169-
kubectl delete pod -n meshery $podname
170-
podname=$(kubectl get pods -n meshery | grep meshsync | tr -s ' ' | cut -d " " -f 1)
171-
kubectl wait --for=condition=Ready pod --all --all-namespaces --timeout=300s
172-
fi
173168
done
174169
# Check if the loop completed its iterations without finding a match
175170
if [ -z "$result" ]; then

0 commit comments

Comments
 (0)