File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -149,14 +149,14 @@ jobs:
149
149
mesheryctl system logs meshsync
150
150
CLUSTER_ID=$(kubectl get ns kube-system -o jsonpath='{.metadata.uid}')
151
151
echo $CLUSTER_ID
152
- podname=$(kubectl get pods -n meshery | grep meshery | tr -s ' ' | cut -d " " -f 1)
153
152
kubectl logs pod/$podname -n meshery
154
153
svcip="http://$(kubectl get svc -n meshery | grep "meshery " | tr -s ' ' | cut -d " " -f 3):9081"
155
154
echo "this is $svcip"
156
155
SECONDS=0
157
156
end=$((SECONDS+300))
158
- while [ $SECONDS -lt $end ]; do
159
- echo $(kubectl logs pod/$podname -n meshery)
157
+ while [ $SECONDS -lt $end ]; do
158
+ mesheryctl system logs meshery
159
+
160
160
result=$(curl -s --location "${svcip}/api/system/meshsync/resources?kind=Pod&spec=true&annotations=true&labels=true&clusterIds=%5B\"${CLUSTER_ID}\"%5D&page=0&pagesize=25&search=&order=&sort=desc" \
161
161
--header "meshery-token: ${{ secrets.PROVIDER_TOKEN }}" \
162
162
--header "Cookie: meshery-provider=Meshery; token=${{ secrets.PROVIDER_TOKEN }}" | jq '.resources[].metadata.labels[] | select(.key == "purpose" and .value == "meshsync-test")')
You can’t perform that action at this time.
0 commit comments