-
Notifications
You must be signed in to change notification settings - Fork 0
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
Chore : OCI Migration #45
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨어여
@@ -107,7 +107,7 @@ public ClientRegistrationRepository clientRegistrationRepository() { | |||
private CorsConfigurationSource corsConfigurationSource() { | |||
CorsConfiguration configuration = new CorsConfiguration(); | |||
|
|||
configuration.setAllowedOrigins(Arrays.asList("http://localhost:5173", "https://stage.gdsc-konkuk.dev", "https://gdsc-konkuk.dev")); | |||
configuration.setAllowedOrigins(Arrays.asList("http://localhost:5173", "https://stage.gdsc-konkuk.dev", "https://gdsc-konkuk.dev", "https://admin.gdsc-konkuk.dev", "https://member.gdsc-konkuk.dev", "https://landing.gdsc-konkuk.dev")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
상수사용이 어떨지 제안합니다. 테스트할때 바꾸는게 귀찮더라구여
Quality Gate passedIssues Measures |
OCI Migration
Background
AWS EC2
t2.small
의 서버 비용이 감당하기 어려워 OCI의 Always Free Resources를 활용하기로 하는 의사 결정이 이뤄졌습니다. 이 과정에서arm64
기반의 instance로 migration 하며Dockerfile
과build.sh
를 수정해야 했습니다. (docker buildx
명령어에 주목해 주세요)하는 김에 하자 (PR 사이즈 죄송합니다죄송합니다)
build.gradle
다듬기tasks.named("task") {}
와task {}
가 혼용되고 있었습니다.postman
task 실행 시 baseURL 설정excludeSecrets
옵션을 통해application.yaml
을 build에서 제외application-prod.yaml
을 분리하고 버전 관리에 추가했습니다.admin.gdsc-konkuk.dev
,member.gdsc-konkuk.dev
,landing.gdsc-konkuk.dev