Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REFACTOR : AWS S3 기존 배포 파일 삭제 로직 추가 필요 #2

Open
jhkang1517 opened this issue Jan 14, 2024 · 0 comments
Open

Comments

@jhkang1517
Copy link
Collaborator

AWS S3 기존 배포 파일 삭제 로직 추가 필요

현 자동 배포 시 S3에 약 50MB 상당의 .jar 파일이 삭제되지 않고 남아있는 현상 확인
현재 수동으로 삭제하고 있으나, 이를 해소하기 위한 방안 필요

  1. deploy.sh 스크립트에 파일 삭제 스크립트 추가
  • 백업이 불가능하다는 단점 존재.
  • 가장 최근의 배포는 백업하고, 나머지 파일을 삭제하는 방향으로 생각 중
# deploy.sh

echo "> 기존 build 파일 삭제"
rm build/*.jar
@jhkang1517 jhkang1517 changed the title AWS S3 기존 배포 파일 삭제 로직 추가 필요 REFACTOR : AWS S3 기존 배포 파일 삭제 로직 추가 필요 Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant