Skip to content

Commit 86d5ab2

Browse files
Remove timestamp from Release tests logs (#111)
1 parent f2442fc commit 86d5ab2

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/run-release-tests.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,14 +92,9 @@ jobs:
9292
sleep=1
9393
while (( SECONDS < WAIT )); do
9494
phase=$(kubectl get pod ${pod} -n ${namespace} -o jsonpath="{.status.phase}")
95-
[[ "${phase}" == "Running" ]] && { echo "Pod $pod is in $phase state - Get the logs"; break; } || { echo "Pod $pod is in $phase state - Retry in $sleep seconds / $((WAIT - SECONDS))"; }
95+
[[ "${phase}" == "Running" ]] && { echo "Pod $pod is in the $phase state - Get the logs"; break; } || { echo "Pod $pod is in the $phase state - Retry in $sleep second(s) / $((WAIT - SECONDS))"; }
9696
sleep $sleep
9797
done
9898
9999
# Get logs
100-
timeout $duration \
101-
kubectl logs $pod \
102-
-n $namespace \
103-
-f \
104-
--tail=-1 \
105-
--timestamps || true
100+
timeout $duration kubectl logs $pod -n $namespace -f || true

0 commit comments

Comments
 (0)