File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change @@ -212,6 +212,33 @@ jobs:
212212 steps :
213213 - deploy :
214214 hostname : " ssh.server.openchs.org"
215+ RWB_STAGING_deploy :
216+ docker :
217+ - image : cimg/deploy:2023.09-node
218+ working_directory : ~/
219+ steps :
220+ - aws-cli/setup :
221+ role_arn : " arn:aws:iam::730335671779:role/avni_circleci_instance_connect"
222+ region : " ap-south-1"
223+ - setup_server_access :
224+ instance-id : " i-00b50ac6e8413fdca"
225+ availability-zone : " ap-south-1b"
226+ - deploy_ansible :
227+ env : " rwb-staging"
228+
229+ RWB_PROD_deploy :
230+ docker :
231+ - image : cimg/deploy:2023.09-node
232+ working_directory : ~/
233+ steps :
234+ - aws-cli/setup :
235+ role_arn : " arn:aws:iam::730335671779:role/avni_circleci_instance_connect"
236+ region : " ap-south-1"
237+ - setup_server_access :
238+ instance-id : " i-015a3839bfe137346"
239+ availability-zone : " ap-south-1a"
240+ - deploy_ansible :
241+ env : " rwb-prod"
215242
216243tags_filter : &tags_filter
217244 filters :
@@ -282,6 +309,26 @@ workflows:
282309 context : non-prod-deploy
283310 requires :
284311 - PERF_approve
312+ - RWB_STAGING_approve :
313+ type : approval
314+ requires :
315+ - app_build
316+ - RWB_STAGING_deploy :
317+ context :
318+ - RWB_AWS_OIDC
319+ - non-prod-deploy
320+ requires :
321+ - RWB_STAGING_approve
322+ - RWB_PROD_approve :
323+ type : approval
324+ requires :
325+ - app_build
326+ - RWB_PROD_deploy :
327+ context :
328+ - RWB_AWS_OIDC
329+ - prod-deploy
330+ requires :
331+ - RWB_PROD_approve
285332notify :
286333 webhooks :
287334 - url : https://webhooks.gitter.im/e/0fdffde721194986f2a0
You can’t perform that action at this time.
0 commit comments