Skip to content

Commit

Permalink
fix typos on notification event (#4706)
Browse files Browse the repository at this point in the history
  • Loading branch information
minhquang4334 authored Dec 7, 2023
1 parent 45eee6b commit 5cdf2b8
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ spec:
- name: prod-slack
events:
- DEPLOYMENT_TRIGGERED
- DEPLOYMENT_COMPLETED
- DEPLOYMENT_SUCCEEDED
labels:
env: prod
team: pipecd
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ spec:
- name: prod-slack
events:
- DEPLOYMENT_TRIGGERED
- DEPLOYMENT_COMPLETED
- DEPLOYMENT_SUCCEEDED
labels:
env: prod
team: pipecd
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ spec:
- name: prod-slack
events:
- DEPLOYMENT_TRIGGERED
- DEPLOYMENT_COMPLETED
- DEPLOYMENT_SUCCEEDED
labels:
env: prod
team: pipecd
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ spec:
- name: prod-slack
events:
- DEPLOYMENT_TRIGGERED
- DEPLOYMENT_COMPLETED
- DEPLOYMENT_SUCCEEDED
labels:
env: prod
team: pipecd
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ spec:
- name: prod-slack
events:
- DEPLOYMENT_TRIGGERED
- DEPLOYMENT_COMPLETED
- DEPLOYMENT_SUCCEEDED
labels:
env: prod
team: pipecd
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ spec:
- name: prod-slack
events:
- DEPLOYMENT_TRIGGERED
- DEPLOYMENT_COMPLETED
- DEPLOYMENT_SUCCEEDED
labels:
env: prod
team: pipecd
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ spec:
- name: prod-slack
events:
- DEPLOYMENT_TRIGGERED
- DEPLOYMENT_COMPLETED
- DEPLOYMENT_SUCCEEDED
labels:
env: prod
team: pipecd
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ spec:
- name: prod-slack
events:
- DEPLOYMENT_TRIGGERED
- DEPLOYMENT_COMPLETED
- DEPLOYMENT_SUCCEEDED
labels:
env: prod
team: pipecd
Expand Down
6 changes: 3 additions & 3 deletions pkg/config/piped_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ func TestPipedConfig(t *testing.T) {
Labels: map[string]string{
"env": "dev",
},
Events: []string{"DEPLOYMENT_TRIGGERED", "DEPLOYMENT_COMPLETED"},
Events: []string{"DEPLOYMENT_TRIGGERED", "DEPLOYMENT_SUCCEEDED"},
Receiver: "prod-slack-channel",
},
{
Expand Down Expand Up @@ -1018,7 +1018,7 @@ func TestPipedSpecClone(t *testing.T) {
Labels: map[string]string{
"env": "dev",
},
Events: []string{"DEPLOYMENT_TRIGGERED", "DEPLOYMENT_COMPLETED"},
Events: []string{"DEPLOYMENT_TRIGGERED", "DEPLOYMENT_SUCCEEDED"},
Receiver: "prod-slack-channel",
},
{
Expand Down Expand Up @@ -1215,7 +1215,7 @@ func TestPipedSpecClone(t *testing.T) {
Labels: map[string]string{
"env": "dev",
},
Events: []string{"DEPLOYMENT_TRIGGERED", "DEPLOYMENT_COMPLETED"},
Events: []string{"DEPLOYMENT_TRIGGERED", "DEPLOYMENT_SUCCEEDED"},
Receiver: "prod-slack-channel",
},
{
Expand Down
2 changes: 1 addition & 1 deletion pkg/config/testdata/piped/piped-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ spec:
- name: prod-slack
events:
- DEPLOYMENT_TRIGGERED
- DEPLOYMENT_COMPLETED
- DEPLOYMENT_SUCCEEDED
labels:
env: dev
receiver: prod-slack-channel
Expand Down

0 comments on commit 5cdf2b8

Please sign in to comment.