Skip to content

Commit

Permalink
Merge branch 'master' into chore/update_python_in_jenkins_pods
Browse files Browse the repository at this point in the history
  • Loading branch information
haraprasadj authored Jul 19, 2024
2 parents c602383 + 9dff536 commit e6359dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kube/services/argo/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ controller:
name: slack-webhook-secret
source: |
failure_reason=$(echo {{workflow.failures}} | jq 'any(.[]; .message == "Step exceeded its deadline")' )
if [ "$failure_reason" ]; then
if [ "$failure_reason" = "true" ]; then
curl -X POST -H 'Content-type: application/json' --data "{\"text\":\"ALERT: Workflow {{workflow.name}} has been killed due to timeout\"}" "$SLACK_WEBHOOK_URL"
fi
Expand Down

0 comments on commit e6359dc

Please sign in to comment.