@@ -50,16 +50,6 @@ source:
50
50
repository : nixpkgs/nix-flakes
51
51
# @ end
52
52
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
-
63
53
# @ def check_code():
64
54
name : check-code
65
55
serial : true
76
66
- name : repo
77
67
run :
78
68
path : pipeline-tasks/ci/vendor/tasks/check-code.sh
79
- on_failure : # @ slack_failure_notification()
80
69
# @ end
81
70
82
71
# @ def nodejs_check_code():
97
86
- name : repo
98
87
run :
99
88
path : pipeline-tasks/ci/vendor/tasks/nodejs-check-code.sh
100
- on_failure : # @ slack_failure_notification()
101
89
# @ end
102
90
103
91
# @ def rust_check_code():
@@ -119,7 +107,6 @@ plan:
119
107
- path : cargo-target-dir
120
108
run :
121
109
path : pipeline-tasks/ci/vendor/tasks/rust-check-code.sh
122
- on_failure : # @ slack_failure_notification()
123
110
# @ end
124
111
125
112
# @ def install_yarn_deps():
@@ -144,7 +131,6 @@ plan:
144
131
- put : bundled-deps
145
132
params :
146
133
file : bundled-deps/bundled-deps-*.tgz
147
- on_failure : # @ slack_failure_notification()
148
134
# @ end
149
135
150
136
# @ def test_on_docker_host(container, additional_params={}):
@@ -184,7 +170,6 @@ plan:
184
170
put : docker-host
185
171
params :
186
172
release : docker-host
187
- on_failure : # @ slack_failure_notification()
188
173
# @ end
189
174
190
175
# @ def nodejs_integration_test():
@@ -215,7 +200,6 @@ plan:
215
200
JEST_TIMEOUT : 90000
216
201
run :
217
202
path : pipeline-tasks/ci/vendor/tasks/chart-test-integration.sh
218
- on_failure : # @ slack_failure_notification()
219
203
# @ end
220
204
221
205
# @ def rust_integration_test():
@@ -246,7 +230,6 @@ plan:
246
230
SSH_PUB_KEY : ((staging-ssh.ssh_public_key))
247
231
run :
248
232
path : pipeline-tasks/ci/vendor/tasks/chart-test-integration.sh
249
- on_failure : # @ slack_failure_notification()
250
233
# @ end
251
234
252
235
# @ def nodejs_audit(level = "high"):
@@ -268,7 +251,6 @@ plan:
268
251
REPO_ROOT : repo
269
252
run :
270
253
path : pipeline-tasks/ci/vendor/tasks/nodejs-audit.sh
271
- on_failure : # @ slack_failure_notification()
272
254
# @ end
273
255
274
256
# @ def build_edge_image():
@@ -481,13 +463,6 @@ source:
481
463
regexp : # @ data.values.gh_repository + "-artifacts/deps/bundled-deps-v(.*)-.*.tgz"
482
464
# @ end
483
465
484
- # @ def slack_resource():
485
- name : slack
486
- type : slack-notification
487
- source :
488
- url : # @ data.values.slack_webhook_url
489
- # @ end
490
-
491
466
# @ def version_resource():
492
467
name : version
493
468
type : semver
@@ -553,13 +528,6 @@ source:
553
528
repository : frodenas/gcs-resource
554
529
# @ end
555
530
556
- # @ def slack_resource_type():
557
- name : slack-notification
558
- type : docker-image
559
- source :
560
- repository : cfcommunity/slack-notification-resource
561
- # @ end
562
-
563
531
# @ def npm_resource_type():
564
532
name : npm
565
533
type : docker-image
0 commit comments