[Chore] CI/Testcontainers·Docker·Azure 인프라 세팅 (#7)#8
Merged
Conversation
…sting - Add TestcontainersConfiguration with pgvector/pgvector:pg16 image - Import Testcontainers dependencies (junit-jupiter, postgresql) - Add spring-boot-flyway for Spring Boot 4 compatibility - Change CHAR(2) to VARCHAR(2) in V1 migration for language_code and nationality - Import TestcontainersConfiguration in BackendApiApplicationTests
…e ACR registry setup docs
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 Issue
📝 Summary
CI 신뢰성 확보(Testcontainers)와 배포 기반(Docker·Azure 인프라 가이드)을 구축했습니다. Spotless 포매팅을 도입하고, Spring Boot 4의 Flyway 자동설정 모듈 추가 등 배포 중 발견한 이슈를 함께 반영했습니다.
🚀 Key Changes
@SpringBootTest contextLoads가 외부 DB 없이 통과 →./gradlew build정상화.github/workflows/ci.yml): PR(dev/main) 시 JDK21 +spotlessCheck+builddocker/Dockerfile(temurin:21) + 로컬docker-compose.yml(pgvector)infra/): CLI 세팅 스크립트 + Portal GUI 가이드 + 수동 배포 스크립트spring-boot-flyway모듈 추가(Flyway 자동설정), 마이그레이션CHAR(2)→VARCHAR(2)(Hibernate validate 호환)💥 Breaking Changes
./gradlew build가 Testcontainers를 띄우므로 Docker 데몬 필요./gradlew build시spotlessCheck게이트: 포맷 미준수 시 빌드 실패 → 커밋 전./gradlew spotlessApply필요✅ Test 방법
./gradlew build→ 그린(Testcontainers + spotlessCheck + 전체 테스트)docker compose -f docker/docker-compose.yml up -d후./gradlew bootRun→ 로컬 기동 확인infra/가이드로 ACR 빌드 → ACA 배포 →/actuator/health={"status":"UP"}확인 완료