Skip to content

Commit

Permalink
chore: add slack notification for ipv6 e2e tests (#2672)
Browse files Browse the repository at this point in the history
  • Loading branch information
bwagner5 committed Oct 17, 2022
1 parent 5eba4d0 commit b22d51f
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions test/suites/ipv6/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,27 @@ spec:
operator: in
values:
- "true"
- name: notify-build-failure
when:
- input: $(tasks.status)
operator: in
values: ["Failed"]
taskRef:
name: notify-slack
params:
- name: webhook-secret
value: slack-webhook-secret
- name: message
value: ":x: $(context.pipelineRun.name) has failed"
- name: notify-build-success
when:
- input: $(tasks.status)
operator: in
values: ["Succeeded", "Completed"]
taskRef:
name: notify-slack
params:
- name: webhook-secret
value: slack-webhook-secret
- name: message
value: ":white_check_mark: $(context.pipelineRun.name) has succeeded"

0 comments on commit b22d51f

Please sign in to comment.