Merged
Conversation
- AWS Serverless Java Container(Spring Boot 3) 의존성 추가 - aws-lambda-java-core, aws-lambda-java-events 의존성 추가 - Lambda 배포용 ZIP 생성을 위한 lambdaJar Gradle 태스크 추가 - EC2 배포용 bootJar와 Lambda 빌드 병행 가능하도록 설정 - 기존 Docker/EC2 빌드 및 CI/CD 파이프라인 영향 없음
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔗 관련 이슈
Related to #394
📋 작업 내용 요약
AWS Lambda 배포를 위한 의존성 및 Gradle 빌드 태스크를 추가합니다.
주요 변경사항
aws-lambda-java-core,aws-lambda-java-events의존성 추가lambdaJarGradle 태스크 추가 (Lambda 배포용 ZIP 생성)jar.enabled = true설정 변경추가된 의존성 (build.gradle - root)
추가된 빌드 태스크 (operation-api/build.gradle)
빌드 명령어
./gradlew :operation-api:bootJarbuild/libs/operation.jar./gradlew :operation-api:lambdaJaroperation-api/build/distributions/*-lambda.zip🧪 테스트
./gradlew :operation-api:bootJar -x test정상 동작 (기존 EC2 배포 영향 없음)./gradlew :operation-api:lambdaJar -x test정상 동작📁 변경된 파일
build.gradle(root) - Lambda 의존성 추가operation-api/build.gradle- lambdaJar 태스크 추가, jar.enabled 변경📚 참고
✅ Issue 1 완료 체크리스트 (수정)
☐ root build.gradle에 Lambda 의존성 3개 추가⚠️
☐ operation-api/build.gradle - jar.enabled = true 변경
☐ operation-api/build.gradle - lambdaJar 태스크 추가
☐ operation-api/build.gradle - Tomcat exclude 제거 확인
☐ ./gradlew :operation-api:bootJar -x test 성공
☐ ./gradlew :operation-api:lambdaJar -x test 성공
☐ operation-api/build/distributions/*-lambda.zip 파일 생성 확인