Skip to content

Commit 509d21d

Browse files
committed
ci: remove slack notifications
1 parent f72b2fc commit 509d21d

File tree

3 files changed

+0
-43
lines changed

3 files changed

+0
-43
lines changed

ci/pipeline.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
#@ "rust_task_image_config",
1717
#@ "charts_repo_resource",
1818
#@ "charts_repo_bot_branch",
19-
#@ "slack_resource_type",
20-
#@ "slack_resource",
21-
#@ "slack_failure_notification"
2219
#@ )
2320

2421
groups:
@@ -294,7 +291,6 @@ jobs:
294291
resources:
295292
- #@ repo_resource(True)
296293
- #@ pipeline_tasks_resource()
297-
- #@ slack_resource()
298294
- #@ version_resource()
299295
- #@ gh_release_resource()
300296
- #@ edge_image_resource()
@@ -308,6 +304,3 @@ resources:
308304
- #@ charts_repo_resource()
309305
- #@ charts_repo_bot_branch()
310306
- #@ docker_host_pool()
311-
312-
resource_types:
313-
- #@ slack_resource_type()

ci/values.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,3 @@ staging_ssh_pub_key: ((staging-ssh.ssh_public_key))
2626
git_version_branch: version
2727
gh_org: GaloyMoney
2828
gh_repository: bria
29-
30-
slack_channel: bria-github
31-
slack_username: concourse
32-
slack_webhook_url: ((addons-slack.api_url))

ci/vendor/pipeline-fragments.lib.yml

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,6 @@ source:
5050
repository: nixpkgs/nix-flakes
5151
#@ end
5252

53-
#@ def slack_failure_notification():
54-
#@ fail_url = "<$ATC_EXTERNAL_URL/teams/$BUILD_TEAM_NAME/pipelines/$BUILD_PIPELINE_NAME/jobs/$BUILD_JOB_NAME/builds/$BUILD_NAME| :face_with_symbols_on_mouth: $BUILD_JOB_NAME> failed!"
55-
put: slack
56-
params:
57-
channel: #@ data.values.slack_channel
58-
username: concourse
59-
icon_url: https://cl.ly/2F421Y300u07/concourse-logo-blue-transparent.png
60-
text: #@ fail_url
61-
#@ end
62-
6353
#@ def check_code():
6454
name: check-code
6555
serial: true
@@ -76,7 +66,6 @@ plan:
7666
- name: repo
7767
run:
7868
path: pipeline-tasks/ci/vendor/tasks/check-code.sh
79-
on_failure: #@ slack_failure_notification()
8069
#@ end
8170

8271
#@ def nodejs_check_code():
@@ -97,7 +86,6 @@ plan:
9786
- name: repo
9887
run:
9988
path: pipeline-tasks/ci/vendor/tasks/nodejs-check-code.sh
100-
on_failure: #@ slack_failure_notification()
10189
#@ end
10290

10391
#@ def rust_check_code():
@@ -119,7 +107,6 @@ plan:
119107
- path: cargo-target-dir
120108
run:
121109
path: pipeline-tasks/ci/vendor/tasks/rust-check-code.sh
122-
on_failure: #@ slack_failure_notification()
123110
#@ end
124111

125112
#@ def install_yarn_deps():
@@ -144,7 +131,6 @@ plan:
144131
- put: bundled-deps
145132
params:
146133
file: bundled-deps/bundled-deps-*.tgz
147-
on_failure: #@ slack_failure_notification()
148134
#@ end
149135

150136
#@ def test_on_docker_host(container, additional_params={}):
@@ -184,7 +170,6 @@ plan:
184170
put: docker-host
185171
params:
186172
release: docker-host
187-
on_failure: #@ slack_failure_notification()
188173
#@ end
189174

190175
#@ def nodejs_integration_test():
@@ -215,7 +200,6 @@ plan:
215200
JEST_TIMEOUT: 90000
216201
run:
217202
path: pipeline-tasks/ci/vendor/tasks/chart-test-integration.sh
218-
on_failure: #@ slack_failure_notification()
219203
#@ end
220204

221205
#@ def rust_integration_test():
@@ -246,7 +230,6 @@ plan:
246230
SSH_PUB_KEY: ((staging-ssh.ssh_public_key))
247231
run:
248232
path: pipeline-tasks/ci/vendor/tasks/chart-test-integration.sh
249-
on_failure: #@ slack_failure_notification()
250233
#@ end
251234

252235
#@ def nodejs_audit(level = "high"):
@@ -268,7 +251,6 @@ plan:
268251
REPO_ROOT: repo
269252
run:
270253
path: pipeline-tasks/ci/vendor/tasks/nodejs-audit.sh
271-
on_failure: #@ slack_failure_notification()
272254
#@ end
273255

274256
#@ def build_edge_image():
@@ -481,13 +463,6 @@ source:
481463
regexp: #@ data.values.gh_repository + "-artifacts/deps/bundled-deps-v(.*)-.*.tgz"
482464
#@ end
483465

484-
#@ def slack_resource():
485-
name: slack
486-
type: slack-notification
487-
source:
488-
url: #@ data.values.slack_webhook_url
489-
#@ end
490-
491466
#@ def version_resource():
492467
name: version
493468
type: semver
@@ -553,13 +528,6 @@ source:
553528
repository: frodenas/gcs-resource
554529
#@ end
555530

556-
#@ def slack_resource_type():
557-
name: slack-notification
558-
type: docker-image
559-
source:
560-
repository: cfcommunity/slack-notification-resource
561-
#@ end
562-
563531
#@ def npm_resource_type():
564532
name: npm
565533
type: docker-image

0 commit comments

Comments
 (0)