Skip to content

Commit

Permalink
Move slack notifications from #cloud-k8s => #eck (elastic#6342)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Montgomery <[email protected]>
  • Loading branch information
naemono authored Jan 19, 2023
1 parent f068e4c commit 67cf509
Show file tree
Hide file tree
Showing 15 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .ci/pipelines/build.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ pipeline {
script {

slackSend(
channel: '#cloud-k8s',
channel: '#eck',
color: 'good',
message: "`${TAG_NAME}` was released \r\n" +
"Manifests were uploaded to https://download.elastic.co/downloads/eck/${TAG_NAME}\r\n" +
Expand Down Expand Up @@ -166,7 +166,7 @@ pipeline {
}
unsuccessful {
script {
slackSend channel: '#cloud-k8s',
slackSend channel: '#eck',
color: 'danger',
message: "${JOB_NAME} job failed! \r\n" + "${BUILD_URL}",
tokenCredentialId: 'cloud-ci-slack-integration-token'
Expand Down
2 changes: 1 addition & 1 deletion .ci/pipelines/cleanup-gke.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pipeline {
def msg = lib.generateSlackMessage("k8s cluster cleanup failed, manual cleanup might be required!", env.BUILD_URL, [])

slackSend(
channel: '#cloud-k8s',
channel: '#eck',
color: 'danger',
message: msg,
tokenCredentialId: 'cloud-ci-slack-integration-token',
Expand Down
2 changes: 1 addition & 1 deletion .ci/pipelines/e2e-tests-aks.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ pipeline {
def msg = lib.generateSlackMessage("E2E tests in AKS failed!", env.BUILD_URL, filter)

slackSend(
channel: '#cloud-k8s',
channel: '#eck',
color: 'danger',
message: msg,
tokenCredentialId: 'cloud-ci-slack-integration-token',
Expand Down
2 changes: 1 addition & 1 deletion .ci/pipelines/e2e-tests-custom.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ pipeline {
def msg = lib.generateSlackMessage("Custom E2E tests run failed!", env.BUILD_URL, filter)

slackSend(
channel: '#cloud-k8s',
channel: '#eck',
color: 'danger',
message: msg,
tokenCredentialId: 'cloud-ci-slack-integration-token',
Expand Down
2 changes: 1 addition & 1 deletion .ci/pipelines/e2e-tests-eks-arm.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ pipeline {
def msg = lib.generateSlackMessage("E2E tests in EKS (ARM) failed!", env.BUILD_URL, filter)

slackSend(
channel: '#cloud-k8s',
channel: '#eck',
color: 'danger',
message: msg,
tokenCredentialId: 'cloud-ci-slack-integration-token',
Expand Down
2 changes: 1 addition & 1 deletion .ci/pipelines/e2e-tests-eks.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ pipeline {
def msg = lib.generateSlackMessage("E2E tests in EKS failed!", env.BUILD_URL, filter)

slackSend(
channel: '#cloud-k8s',
channel: '#eck',
color: 'danger',
message: msg,
tokenCredentialId: 'cloud-ci-slack-integration-token',
Expand Down
2 changes: 1 addition & 1 deletion .ci/pipelines/e2e-tests-gke-k8s-versions.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ pipeline {
def msg = lib.generateSlackMessage("E2E tests for different k8s versions in GKE failed!", env.BUILD_URL, filter)

slackSend(
channel: '#cloud-k8s',
channel: '#eck',
color: 'danger',
message: msg,
tokenCredentialId: 'cloud-ci-slack-integration-token',
Expand Down
2 changes: 1 addition & 1 deletion .ci/pipelines/e2e-tests-kind-k8s-versions.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ pipeline {
def msg = lib.generateSlackMessage("E2E tests for different versions of vanilla K8s failed!", env.BUILD_URL, filter)

slackSend(
channel: '#cloud-k8s',
channel: '#eck',
color: 'danger',
message: msg,
tokenCredentialId: 'cloud-ci-slack-integration-token',
Expand Down
2 changes: 1 addition & 1 deletion .ci/pipelines/e2e-tests-main-gke.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ pipeline {
def msg = lib.generateSlackMessage("E2E tests failed!", env.BUILD_URL, failedTests)

slackSend(
channel: '#cloud-k8s',
channel: '#eck',
color: 'danger',
message: msg,
tokenCredentialId: 'cloud-ci-slack-integration-token',
Expand Down
2 changes: 1 addition & 1 deletion .ci/pipelines/e2e-tests-ocp.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ pipeline {
def msg = lib.generateSlackMessage("E2E tests in OCP failed!", env.BUILD_URL, filter)

slackSend(
channel: '#cloud-k8s',
channel: '#eck',
color: 'danger',
message: msg,
tokenCredentialId: 'cloud-ci-slack-integration-token',
Expand Down
2 changes: 1 addition & 1 deletion .ci/pipelines/e2e-tests-ocp3.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ pipeline {
def msg = lib.generateSlackMessage("E2E tests in OCP3 failed!", env.BUILD_URL, filter)

slackSend(
channel: '#cloud-k8s',
channel: '#eck',
color: 'danger',
message: msg,
tokenCredentialId: 'cloud-ci-slack-integration-token',
Expand Down
2 changes: 1 addition & 1 deletion .ci/pipelines/e2e-tests-resilience.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ pipeline {
def msg = lib.generateSlackMessage("E2E resilience tests failed!", env.BUILD_URL, filter)

slackSend(
channel: '#cloud-k8s',
channel: '#eck',
color: 'danger',
message: msg,
tokenCredentialId: 'cloud-ci-slack-integration-token',
Expand Down
2 changes: 1 addition & 1 deletion .ci/pipelines/e2e-tests-snapshot-versions-gke.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ pipeline {
filter.addAll(failedTests)

slackSend(
channel: '#cloud-k8s',
channel: '#eck',
color: 'danger',
message: lib.generateSlackMessage("E2E tests for Elastic stack snapshot versions failed!", env.BUILD_URL, filter),
tokenCredentialId: 'cloud-ci-slack-integration-token',
Expand Down
2 changes: 1 addition & 1 deletion .ci/pipelines/e2e-tests-stack-versions-gke.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ pipeline {
filter.addAll(failedTests)

slackSend(
channel: '#cloud-k8s',
channel: '#eck',
color: 'danger',
message: lib.generateSlackMessage("E2E tests for different Elastic stack versions failed!", env.BUILD_URL, filter),
tokenCredentialId: 'cloud-ci-slack-integration-token',
Expand Down
2 changes: 1 addition & 1 deletion .ci/pipelines/e2e-tests-tanzu.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ pipeline {
def msg = lib.generateSlackMessage("E2E tests on Tanzu failed!", env.BUILD_URL, filter)

slackSend(
channel: '#cloud-k8s',
channel: '#eck',
color: 'danger',
message: msg,
tokenCredentialId: 'cloud-ci-slack-integration-token',
Expand Down

0 comments on commit 67cf509

Please sign in to comment.