Skip to content

Commit

Permalink
#27 Modify CircelCI deploys to be done using AWS Roles and AWS OIDC C…
Browse files Browse the repository at this point in the history
…ontext | Modification of CircleCI
  • Loading branch information
Balamuruganjeevi authored May 13, 2024
1 parent ab8e48d commit 3a2ec9b
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,27 +203,51 @@ jobs:
- image: cimg/deploy:2023.09-node
working_directory: ~/
steps:
- aws-cli/setup:
role_arn: "arn:aws:iam::118388513628:role/avni_circleci_instance_connect"
region: "ap-south-1"
- setup_server_access:
instance-id: "i-0879e9c88952968ea"
availability-zone: "ap-south-1a"
- deploy_ansible:
env: "staging"
PRERELEASE_deploy:
docker:
- image: cimg/deploy:2023.09-node
working_directory: ~/
steps:
- aws-cli/setup:
role_arn: "arn:aws:iam::118388513628:role/avni_circleci_instance_connect"
region: "ap-south-1"
- setup_server_access:
instance-id: "i-0cdce9ae698eb3462"
availability-zone: "ap-south-1b"
- deploy_ansible:
env: "prerelease"
PERF_deploy:
docker:
- image: cimg/node:10.24.1
working_directory: ~/
steps:
- aws-cli/setup:
role_arn: "arn:aws:iam::118388513628:role/avni_circleci_instance_connect"
region: "ap-south-1"
- setup_server_access:
instance-id: "i-0f30399b30e24a49b"
availability-zone: "ap-south-1a"
- deploy:
hostname: "ssh.perf.openchs.org"
PRODUCTION_deploy:
docker:
- image: cimg/deploy:2023.09-node
working_directory: ~/
steps:
- aws-cli/setup:
role_arn: "arn:aws:iam::118388513628:role/avni_circleci_instance_connect"
region: "ap-south-1"
- setup_server_access:
instance-id: "i-07df2679f68762a68"
availability-zone: "ap-south-1a"
- deploy_ansible:
env: "prod"
RWB_STAGING_deploy:
Expand Down

0 comments on commit 3a2ec9b

Please sign in to comment.