Skip to content

Commit

Permalink
fix typos on notification event (pipe-cd#4706)
Browse files Browse the repository at this point in the history
Signed-off-by: sZma5a <masaaki.haribote@gmail.com>
  • Loading branch information
minhquang4334 authored and sZma5a committed Dec 17, 2023
1 parent 317ab5a commit 2348d55
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 2348d55

Please sign in to comment.