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:
131131 for i in {1..3}; do npm test && break; done
132132 notify_slack :
133133 description : " Notify slack"
134- parameters :
135- target :
136- type : string
137134 steps :
138135 - slack/status :
139136 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)* "
142139 webhook : ${SLACK_WEBHOOK}
143140jobs :
144141 test :
@@ -149,7 +146,7 @@ jobs:
149146 - npm_install
150147 - test
151148
152- release_beta :
149+ release_staging :
153150 docker :
154151 - image : circleci/node:8.10.0-stretch
155152 steps :
@@ -159,9 +156,7 @@ jobs:
159156 - build
160157 - deploy :
161158 target_branch : " staging"
162- - notify_slack :
163- target : " Staging"
164-
159+ - notify_slack
165160 release_production :
166161 docker :
167162 - image : circleci/node:8.10.0-stretch
@@ -172,9 +167,7 @@ jobs:
172167 - build
173168 - deploy :
174169 target_branch : " production"
175- - notify_slack :
176- target : " Production"
177-
170+ - notify_slack
178171 release_aws_production :
179172 docker :
180173 - image : circleci/node:12.13.0-stretch
@@ -187,8 +180,7 @@ jobs:
187180 target : " production"
188181 - k8s_deploy :
189182 target : " production"
190- - notify_slack :
191- target : " Production"
183+ - notify_slack
192184
193185workflows :
194186 test :
@@ -199,7 +191,7 @@ workflows:
199191 ignore : /^master$/
200192 release :
201193 jobs :
202- - release_beta :
194+ - release_staging :
203195 filters :
204196 branches :
205197 only : /^master$/
You can’t perform that action at this time.
0 commit comments