Skip to content

Commit 4876bae

Browse files
committed
Remove slack notification configuration from CI pipeline
1 parent 5b34af9 commit 4876bae

File tree

3 files changed

+0
-69
lines changed

3 files changed

+0
-69
lines changed

ci/config-concourse.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
artifactory-server: https://repo.spring.io
22
build-name: spring-credhub
3-
spring-credhub-slack-success-channel: "#spring-cloud-app-broker"
4-
spring-credhub-slack-failure-channel: "#spring-cloud-app-broker"

ci/pipeline.yml

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,4 @@
11
---
2-
aliases:
3-
- &slack-success-notification
4-
put: alert
5-
params:
6-
icon_emoji: ":concourse:"
7-
username: concourse
8-
channel: ((spring-credhub-slack-success-channel))
9-
text: "$BUILD_PIPELINE_NAME pipeline has succeeded with build <${ATC_EXTERNAL_URL}/builds/$BUILD_ID|$BUILD_NAME>!"
10-
- &slack-failure-notification
11-
put: alert
12-
params:
13-
icon_emoji: ":animal-1252:"
14-
username: concourse
15-
channel: ((spring-credhub-slack-failure-channel))
16-
text: <!here> Build <${ATC_EXTERNAL_URL}/builds/$BUILD_ID|$BUILD_NAME> of job $BUILD_JOB_NAME in the $BUILD_PIPELINE_NAME pipeline has failed!
17-
182
jobs:
193
- name: build-ci-images
204
plan:
@@ -40,7 +24,6 @@ jobs:
4024
params:
4125
image: image/image.tar
4226
no_get: true
43-
on_failure: *slack-failure-notification
4427

4528
- name: build
4629
serial: true
@@ -69,10 +52,6 @@ jobs:
6952
properties:
7053
"zip.type": "docs"
7154
"zip.deployed": "false"
72-
on_success:
73-
*slack-success-notification
74-
on_failure:
75-
*slack-failure-notification
7655

7756
- name: stage-milestone
7857
serial: true
@@ -187,14 +166,6 @@ resource_types:
187166
password: ((broadcom-jfrog-artifactory-robot-account.password))
188167
tag: 0.0.14
189168

190-
- name: slack-notification
191-
type: registry-image
192-
source:
193-
repository: ((spring-credhub-virtual-docker-registry))/cfcommunity/slack-notification-resource
194-
username: ((broadcom-jfrog-artifactory-robot-account.username))
195-
password: ((broadcom-jfrog-artifactory-robot-account.password))
196-
tag: latest
197-
198169
resources:
199170
- name: git-repo
200171
type: git
@@ -233,11 +204,6 @@ resources:
233204
password: ((artifactory-password))
234205
build_name: ((build-name))
235206

236-
- name: alert
237-
type: slack-notification
238-
source:
239-
url: ((scs-slack-webhook))
240-
241207
groups:
242208
- name: "builds"
243209
jobs:

ci/pr-pipeline.yml

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,4 @@
11
---
2-
aliases:
3-
- &slack-success-notification
4-
put: alert
5-
params:
6-
icon_emoji: ":concourse:"
7-
username: concourse
8-
channel: ((spring-credhub-slack-success-channel))
9-
text: "$BUILD_PIPELINE_NAME pipeline has succeeded with build <${ATC_EXTERNAL_URL}/builds/$BUILD_ID|$BUILD_NAME>!"
10-
- &slack-failure-notification
11-
put: alert
12-
params:
13-
icon_emoji: ":animal-1252:"
14-
username: concourse
15-
channel: ((spring-credhub-slack-failure-channel))
16-
text: <!here> Build <${ATC_EXTERNAL_URL}/builds/$BUILD_ID|$BUILD_NAME> of job $BUILD_JOB_NAME in the $BUILD_PIPELINE_NAME pipeline has failed!
17-
182
jobs:
193
- name: build
204
serial: true
@@ -31,10 +15,6 @@ jobs:
3115
git-repo: pull-request
3216
vars:
3317
ci-image-tag: ((ci-image-tag))
34-
on_success:
35-
*slack-success-notification
36-
on_failure:
37-
*slack-failure-notification
3818

3919
resource_types:
4020
- name: pull-request
@@ -45,14 +25,6 @@ resource_types:
4525
password: ((broadcom-jfrog-artifactory-robot-account.password))
4626
tag: latest
4727

48-
- name: slack-notification
49-
type: registry-image
50-
source:
51-
repository: ((spring-credhub-virtual-docker-registry))/cfcommunity/slack-notification-resource
52-
username: ((broadcom-jfrog-artifactory-robot-account.username))
53-
password: ((broadcom-jfrog-artifactory-robot-account.password))
54-
tag: latest
55-
5628
resources:
5729
- name: pull-request
5830
type: pull-request
@@ -63,8 +35,3 @@ resources:
6335
base_branch: ((branch))
6436
disable_forks: true
6537
required_review_approvals: 1
66-
67-
- name: alert
68-
type: slack-notification
69-
source:
70-
url: ((scs-slack-webhook))

0 commit comments

Comments
 (0)