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 65c3c7c commit df36ddd
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 @@ -233,6 +233,12 @@ jobs:
- image: cimg/deploy:2023.09
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_as_service:
env: "staging"

Expand All @@ -249,6 +255,12 @@ jobs:
- image: cimg/deploy:2023.09
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_as_service:
env: "prerelease"

Expand All @@ -257,6 +269,12 @@ jobs:
- image: circleci/openjdk:8-jdk
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.avniproject.org"

Expand All @@ -265,6 +283,12 @@ jobs:
- image: cimg/deploy:2023.09
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_as_service:
env: "prod"

Expand Down

0 comments on commit df36ddd

Please sign in to comment.