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

[BE-INFRA] 개발 DB 서버 설정 #347

Merged
merged 6 commits into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/Backend-CD-Dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,5 @@ jobs:
docker run -d -p 8080:8080 --name server \
-e JAVA_OPTS="-XX:InitialRAMPercentage=70.0 -XX:MaxRAMPercentage=70.0" \
-e TZ=Asia/Seoul \
-e SPRING_PROFILES_ACTIVE=local \
-e SPRING_PROFILES_ACTIVE=dev \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

드디어 개발 환경을 사용해보는 군요 😋

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

제대로 된 개발 환경 냠냠

${{ secrets.DOCKER_DEV_SERVER_IMAGE }}
4 changes: 2 additions & 2 deletions .github/workflows/Backend-CD-Prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

build:
needs: test
runs-on: cd
runs-on: [cd, app-a]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

서브넷을 뜻하는 a 일까요??

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

넵 맞습니다! 우테코에서 제공해준 서브넷 이름이 app-a 더라고요!

이 pr에 포함시켜야 하나 헷갈렸는데 현재 cd tag를 가진 runner가 두 개여서 (app-b를 생성함) 안전하게 설정해뒀습니다 ☺️

steps:

- name: Checkout
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:

deploy:
needs: build
runs-on: cd
runs-on: [cd, app-a]
steps:

- name: Change permission
Expand Down
2 changes: 1 addition & 1 deletion backend/pokerogue/src/main/resources
Loading