Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
alesnovak-s1 committed Sep 3, 2024
1 parent a6af3e6 commit 73baa58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/install-k8s-agent/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ runs:
# Give it some time to start up
echo "Waiting for agent to become ready, timeout ${{ inputs.sleep_delay }}s ..."
kubectl wait --for=condition=ready --namespace scalyr --timeout=${{ inputs.sleep_delay }}s pod -l app=scalyr-agent-2
kubectl wait --for=condition=ready --namespace scalyr --timeout=${{ inputs.sleep_delay }}s pod -l app=scalyr-agent-2 || \
(echo "Failed to wait for agent to become ready"; kubectl describe pods -l app=scalyr-agent-2 --namespace scalyr; echo; echo GET PODS:; kubectl get pods -A; exit 1)
echo "Scalyr agent Status:"
kubectl exec --namespace scalyr `kubectl get pod --namespace scalyr -l app=scalyr-agent-2 -o name` -- scalyr-agent-2 status -v
Expand Down

0 comments on commit 73baa58

Please sign in to comment.