Skip to content

Commit

Permalink
chore: 개발 서버 마이그레이션 (#933)
Browse files Browse the repository at this point in the history
* chore: redis 설정 테스트를 위한 backend-cd-dev.yml 트리거 임시 수정

* chore: application-dev.yml redis host 수정

* chore: redis 설정 테스트를 위한 backend-cd-dev.yml 작업 브랜치 임시 수정

* chore: redis 설정 테스트를 위한 backend-cd-dev.yml 작업 브랜치 임시 수정

* chore: application-prod.yml redis host 수정

* chore: 변수 미설정으로 인한 레거시 이미지 삭제 불가 해결

- No space left on device 에러

* Revert "chore: redis 설정 테스트를 위한 backend-cd-dev.yml 트리거 임시 수정"

This reverts commit e9cef0b.
  • Loading branch information
mzeong authored Dec 29, 2024
1 parent 6dbedfc commit 3cff1ef
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
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

- 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
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

0 comments on commit 3cff1ef

Please sign in to comment.