From 2348d5567eab53d39adbef3e8a017601ecafac5e Mon Sep 17 00:00:00 2001 From: Minh Quang Date: Thu, 7 Dec 2023 08:08:39 +0700 Subject: [PATCH] fix typos on notification event (#4706) Signed-off-by: sZma5a --- .../user-guide/managing-piped/configuring-notifications.md | 2 +- .../user-guide/managing-piped/configuring-notifications.md | 2 +- .../user-guide/managing-piped/configuring-notifications.md | 2 +- .../user-guide/managing-piped/configuring-notifications.md | 2 +- .../user-guide/managing-piped/configuring-notifications.md | 2 +- .../user-guide/managing-piped/configuring-notifications.md | 2 +- .../user-guide/managing-piped/configuring-notifications.md | 2 +- .../user-guide/managing-piped/configuring-notifications.md | 2 +- pkg/config/piped_test.go | 6 +++--- pkg/config/testdata/piped/piped-config.yaml | 2 +- 10 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/content/en/docs-dev/user-guide/managing-piped/configuring-notifications.md b/docs/content/en/docs-dev/user-guide/managing-piped/configuring-notifications.md index 9d757a4a27..43ba511317 100644 --- a/docs/content/en/docs-dev/user-guide/managing-piped/configuring-notifications.md +++ b/docs/content/en/docs-dev/user-guide/managing-piped/configuring-notifications.md @@ -52,7 +52,7 @@ spec: - name: prod-slack events: - DEPLOYMENT_TRIGGERED - - DEPLOYMENT_COMPLETED + - DEPLOYMENT_SUCCEEDED labels: env: prod team: pipecd diff --git a/docs/content/en/docs-v0.39.x/user-guide/managing-piped/configuring-notifications.md b/docs/content/en/docs-v0.39.x/user-guide/managing-piped/configuring-notifications.md index 25ba874a40..32961eba9a 100644 --- a/docs/content/en/docs-v0.39.x/user-guide/managing-piped/configuring-notifications.md +++ b/docs/content/en/docs-v0.39.x/user-guide/managing-piped/configuring-notifications.md @@ -52,7 +52,7 @@ spec: - name: prod-slack events: - DEPLOYMENT_TRIGGERED - - DEPLOYMENT_COMPLETED + - DEPLOYMENT_SUCCEEDED labels: env: prod team: pipecd diff --git a/docs/content/en/docs-v0.40.x/user-guide/managing-piped/configuring-notifications.md b/docs/content/en/docs-v0.40.x/user-guide/managing-piped/configuring-notifications.md index 25ba874a40..32961eba9a 100644 --- a/docs/content/en/docs-v0.40.x/user-guide/managing-piped/configuring-notifications.md +++ b/docs/content/en/docs-v0.40.x/user-guide/managing-piped/configuring-notifications.md @@ -52,7 +52,7 @@ spec: - name: prod-slack events: - DEPLOYMENT_TRIGGERED - - DEPLOYMENT_COMPLETED + - DEPLOYMENT_SUCCEEDED labels: env: prod team: pipecd diff --git a/docs/content/en/docs-v0.41.x/user-guide/managing-piped/configuring-notifications.md b/docs/content/en/docs-v0.41.x/user-guide/managing-piped/configuring-notifications.md index 25ba874a40..32961eba9a 100644 --- a/docs/content/en/docs-v0.41.x/user-guide/managing-piped/configuring-notifications.md +++ b/docs/content/en/docs-v0.41.x/user-guide/managing-piped/configuring-notifications.md @@ -52,7 +52,7 @@ spec: - name: prod-slack events: - DEPLOYMENT_TRIGGERED - - DEPLOYMENT_COMPLETED + - DEPLOYMENT_SUCCEEDED labels: env: prod team: pipecd diff --git a/docs/content/en/docs-v0.42.x/user-guide/managing-piped/configuring-notifications.md b/docs/content/en/docs-v0.42.x/user-guide/managing-piped/configuring-notifications.md index 25ba874a40..32961eba9a 100644 --- a/docs/content/en/docs-v0.42.x/user-guide/managing-piped/configuring-notifications.md +++ b/docs/content/en/docs-v0.42.x/user-guide/managing-piped/configuring-notifications.md @@ -52,7 +52,7 @@ spec: - name: prod-slack events: - DEPLOYMENT_TRIGGERED - - DEPLOYMENT_COMPLETED + - DEPLOYMENT_SUCCEEDED labels: env: prod team: pipecd diff --git a/docs/content/en/docs-v0.43.x/user-guide/managing-piped/configuring-notifications.md b/docs/content/en/docs-v0.43.x/user-guide/managing-piped/configuring-notifications.md index 25ba874a40..32961eba9a 100644 --- a/docs/content/en/docs-v0.43.x/user-guide/managing-piped/configuring-notifications.md +++ b/docs/content/en/docs-v0.43.x/user-guide/managing-piped/configuring-notifications.md @@ -52,7 +52,7 @@ spec: - name: prod-slack events: - DEPLOYMENT_TRIGGERED - - DEPLOYMENT_COMPLETED + - DEPLOYMENT_SUCCEEDED labels: env: prod team: pipecd diff --git a/docs/content/en/docs-v0.44.x/user-guide/managing-piped/configuring-notifications.md b/docs/content/en/docs-v0.44.x/user-guide/managing-piped/configuring-notifications.md index 9f3520ffe4..e69af6d8bd 100644 --- a/docs/content/en/docs-v0.44.x/user-guide/managing-piped/configuring-notifications.md +++ b/docs/content/en/docs-v0.44.x/user-guide/managing-piped/configuring-notifications.md @@ -52,7 +52,7 @@ spec: - name: prod-slack events: - DEPLOYMENT_TRIGGERED - - DEPLOYMENT_COMPLETED + - DEPLOYMENT_SUCCEEDED labels: env: prod team: pipecd diff --git a/docs/content/en/docs-v0.45.x/user-guide/managing-piped/configuring-notifications.md b/docs/content/en/docs-v0.45.x/user-guide/managing-piped/configuring-notifications.md index 9d757a4a27..43ba511317 100644 --- a/docs/content/en/docs-v0.45.x/user-guide/managing-piped/configuring-notifications.md +++ b/docs/content/en/docs-v0.45.x/user-guide/managing-piped/configuring-notifications.md @@ -52,7 +52,7 @@ spec: - name: prod-slack events: - DEPLOYMENT_TRIGGERED - - DEPLOYMENT_COMPLETED + - DEPLOYMENT_SUCCEEDED labels: env: prod team: pipecd diff --git a/pkg/config/piped_test.go b/pkg/config/piped_test.go index 72e63d9d00..d9ce0f837c 100644 --- a/pkg/config/piped_test.go +++ b/pkg/config/piped_test.go @@ -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", }, { @@ -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", }, { @@ -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", }, { diff --git a/pkg/config/testdata/piped/piped-config.yaml b/pkg/config/testdata/piped/piped-config.yaml index 34dae68bc2..39273652ae 100644 --- a/pkg/config/testdata/piped/piped-config.yaml +++ b/pkg/config/testdata/piped/piped-config.yaml @@ -104,7 +104,7 @@ spec: - name: prod-slack events: - DEPLOYMENT_TRIGGERED - - DEPLOYMENT_COMPLETED + - DEPLOYMENT_SUCCEEDED labels: env: dev receiver: prod-slack-channel