This repository was archived by the owner on Feb 22, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +7
-15
lines changed Expand file tree Collapse file tree 1 file changed +7
-15
lines changed Original file line number Diff line number Diff line change @@ -131,14 +131,11 @@ commands:
131
131
for i in {1..3}; do npm test && break; done
132
132
notify_slack :
133
133
description : " Notify slack"
134
- parameters :
135
- target :
136
- type : string
137
134
steps :
138
135
- slack/status :
139
136
include_project_field : false
140
- failure_message : " << parameters.target >> release failed for binary bot with version $(cat www/version)"
141
- success_message : " << parameters.target >> release succeeded for binary bot with version $(cat www/version)"
137
+ failure_message : " Release failed for binary bot with version * $(cat www/version)* "
138
+ success_message : " Release succeeded for binary bot with version * $(cat www/version)* "
142
139
webhook : ${SLACK_WEBHOOK}
143
140
jobs :
144
141
test :
@@ -149,7 +146,7 @@ jobs:
149
146
- npm_install
150
147
- test
151
148
152
- release_beta :
149
+ release_staging :
153
150
docker :
154
151
- image : circleci/node:8.10.0-stretch
155
152
steps :
@@ -159,9 +156,7 @@ jobs:
159
156
- build
160
157
- deploy :
161
158
target_branch : " staging"
162
- - notify_slack :
163
- target : " Staging"
164
-
159
+ - notify_slack
165
160
release_production :
166
161
docker :
167
162
- image : circleci/node:8.10.0-stretch
@@ -172,9 +167,7 @@ jobs:
172
167
- build
173
168
- deploy :
174
169
target_branch : " production"
175
- - notify_slack :
176
- target : " Production"
177
-
170
+ - notify_slack
178
171
release_aws_production :
179
172
docker :
180
173
- image : circleci/node:12.13.0-stretch
@@ -187,8 +180,7 @@ jobs:
187
180
target : " production"
188
181
- k8s_deploy :
189
182
target : " production"
190
- - notify_slack :
191
- target : " Production"
183
+ - notify_slack
192
184
193
185
workflows :
194
186
test :
@@ -199,7 +191,7 @@ workflows:
199
191
ignore : /^master$/
200
192
release :
201
193
jobs :
202
- - release_beta :
194
+ - release_staging :
203
195
filters :
204
196
branches :
205
197
only : /^master$/
You can’t perform that action at this time.
0 commit comments