Skip to content

Commit

Permalink
CPLAT-4333 Replace circleci config (#382)
Browse files Browse the repository at this point in the history
## Changes
- 

ticket: []

## Additional Notes
- 

## Checklist
Before requesting a code review, please check the following:
- [ ] **[Required]** CI has passed all checks.
- [ ] **[Required]** A self-review has been conducted to ensure there
are no minor mistakes.
- [ ] **[Required]** Unnecessary comments/debugging code have been
removed.
- [ ] **[Required]** All requirements specified in the ticket have been
accurately implemented.
- [ ] Ensure the ticket has been updated with the sprint, status, and
story points.

---------

Co-authored-by: Evan.Kim <[email protected]>
  • Loading branch information
jinsekim and Evan.Kim authored Oct 29, 2024
1 parent 55cd17a commit 3a5afda
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2.1
orbs:
aws-cli: circleci/aws-cli@2.1.0
aws-s3: circleci/aws-s3@4.0.0
aws-cli: circleci/aws-cli@5.1.1
aws-s3: circleci/aws-s3@4.1.0

parameters:
run_deploy_prod:
Expand Down Expand Up @@ -157,12 +157,13 @@ jobs:
command: |
cat widget.env >> $BASH_ENV
- aws-cli/setup:
profile-name: default
configure-default-region: false
- aws-cli/role-arn-setup:
profile-name: ci-web
source-profile: default
role-arn: << parameters.role_arn >>
role_arn: ${AWS_ID_ROLE_ARN}
region: us-east-1
profile_name: aws-id
- aws-cli/role_arn_setup:
profile_name: ci-web
source_profile: aws-id
role_arn: << parameters.role_arn >>
- aws-s3/sync:
from: dist/
to: << parameters.s3_bucket >>
Expand Down

0 comments on commit 3a5afda

Please sign in to comment.