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

chore: 개발 서버 마이그레이션 #933

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from
7 changes: 6 additions & 1 deletion .github/workflows/backend-cd-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
ref: develop
ref: feature/927
Copy link
Contributor

Choose a reason for hiding this comment

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

trigger를 다시 복구해주어야 할 것 같아요!


- name: Set up JDK 17
uses: actions/setup-java@v4
Expand Down Expand Up @@ -83,6 +83,11 @@ jobs:

- name: Clean Up Legacy Image
run: |
export DOCKERHUB_USERNAME=${{ secrets.DOCKERHUB_USERNAME }}
export DOCKERHUB_REPOSITORY=$DOCKERHUB_REPOSITORY
export DEV_MYSQL_PASSWORD=${{ secrets.DEV_MYSQL_PASSWORD }}
export JASYPT_ENCRYPTOR_PASSWORD=${{ secrets.JASYPT_PASSWORD }}
export TAG=${{ github.sha }}-dev
docker compose down || true
docker rmi $(docker images -q) -f || true
Expand Down
2 changes: 1 addition & 1 deletion backend/src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
spring:
data:
redis:
host: ody-redis-001.ody-redis.vd1e5e.apn2.cache.amazonaws.com
host: ody-dev-redis
Copy link
Contributor

Choose a reason for hiding this comment

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

[질문]

  • 여기서 ody-dev-redis와 ody-prod-redis는 어떻게 설정해주었나요? 원래는 카키 계정의 elastic cache를 통해 소통하는 것으로 알았는데, 제리가 어디에 어떻게 redis를 설정해놓았는지 이야기해주면 고마울 것 같아요!

jpa:
hibernate:
ddl-auto: validate
Expand Down
2 changes: 1 addition & 1 deletion backend/src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
spring:
data:
redis:
host: ody-redis-001.ody-redis.vd1e5e.apn2.cache.amazonaws.com
host: ody-prod-redis
jpa:
hibernate:
ddl-auto: validate
Expand Down
Loading