Skip to content

[Chore] Cd 설정 변경 - #78

Merged
githyj-jang merged 3 commits into
devfrom
chore/76-타임존-설정-변경
May 19, 2026

Hidden character warning

The head ref may contain hidden characters: "chore/76-\ud0c0\uc784\uc874-\uc124\uc815-\ubcc0\uacbd"
Merged

githyj-jang merged 3 commits into
devfrom
chore/76-타임존-설정-변경

Conversation

@githyj-jang

@githyj-jang githyj-jang commented May 19, 2026

Copy link
Copy Markdown
Contributor

📝 작업 내용

이번 PR에서 작업한 내용을 설명해주세요.

  • dev 브랜치에서 ecs 에 푸시

🚀 주요 변경 사항

완료한 이슈 번호
Close #
관련된 이슈 번호 (닫고 싶지 않은 경우)
Related to #

✅ 자체 체크리스트 (필수)

  • ./gradlew build 실행 결과 정상 (인증샷 첨부)
  • IntelliJ HTTP Client 테스트 완료 (인증샷 첨부)
  • 팀 내 컨벤션 준수 및 불필요한 로그, import 제거
  • 중요한 변경 사항이 팀에 공유되었는지

📸 테스트 인증샷

빌드 결과 및 IntelliJ HTTP Client 실행 화면을 여기에 첨부해 주세요.

💬 리뷰어 전달사항 (선택)

특별히 봐주었으면 하는 부분이나 논의가 필요한 점을 적어주세요.

  • 논의점


📎 참고 자료

관련 문서, 레퍼런스 링크 등이 있다면 여기에 첨부해주세요.

Summary by CodeRabbit

릴리스 노트

  • Chores
    • 배포 워크플로우를 업데이트하여 데이터베이스, 캐시, 인증 환경변수 구성을 확장했습니다.
    • 시스템 타임존을 Asia/Seoul로 설정하여 시간대 일관성을 개선했습니다.
    • CI/CD 파이프라인 조건을 개선하여 배포 프로세스의 안정성을 강화했습니다.

Review Change Stack

@githyj-jang githyj-jang self-assigned this May 19, 2026
Copilot AI review requested due to automatic review settings May 19, 2026 03:36
@coderabbitai

coderabbitai Bot commented May 19, 2026

Copy link
Copy Markdown
📝 Walkthrough

요약

이 PR은 예약 서비스의 타임존을 Asia/Seoul로 통일하고 배포 파이프라인을 업데이트합니다. Dockerfile과 application.yaml에서 애플리케이션 타임존을 설정하며, 배포 워크플로우에서 소스 브랜치를 dev로 변경하고 ECS 컨테이너에 데이터베이스, 캐시, 인증 환경변수를 추가합니다.

변경 사항

애플리케이션 타임존 및 배포 통합

레이어 / 파일(s) 요약
애플리케이션 타임존 설정
Dockerfile, src/main/resources/application.yaml
JVM 시스템 속성 -Duser.timezone=Asia/Seoul을 Docker ENTRYPOINT에 추가하고, Spring Jackson 설정에서 time-zone을 Asia/Seoul로 구성합니다.
배포 워크플로우 통합
.github/workflows/cd-prod.yml, .github/workflows/ci-prod.yml
CD 파이프라인의 소스 브랜치를 main에서 dev로 변경하고, ECS 작업 정의에 PostgreSQL(호스트/포트/DB/사용자/비밀번호), Redis(호스트/포트), INTERNAL_AUTH_SECRET, TZ=Asia/Seoul 환경변수를 추가하며, CI의 AWS 자격증명 설정을 푸시 이벤트로 제한합니다.

관련 PR

제안 레이블

enhancement

제안 리뷰어

  • Sehi55
  • ji-circle
  • jihxonx
  • Jinyoung-Kim96
  • qldo

리뷰 난이도

🎯 2 (Simple) | ⏱️ ~10 분

토끼의 축하 시

🐰 타임존 설정하고 배포 파이프라인 정리하니,
🌏 서울 시간으로 쏙쏙 맞아떨어지는구나!
PostgreSQL, Redis도 함께하니 완벽하고,
dev 브랜치로 매끄럽게 흘러가는 CD 파이프라인~
아름답게 통합되었어! 🎉

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive 제목이 변경 사항의 주요 내용을 포괄적으로 설명하지 못하고 있습니다. 타임존 설정 변경, CD 배포 워크플로우 조건 수정, 데이터베이스 및 Redis 환경변수 추가 등 여러 변경사항이 있지만, 제목은 'CD 설정 변경'으로만 표현되어 있어 구체성이 부족합니다. 제목을 더 구체적으로 변경하여 타임존 설정과 CI/CD 환경변수 구성 변경을 모두 포함하도록 하거나, 가장 중요한 변경사항을 명확히 반영하는 것을 권장합니다.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/76-타임존-설정-변경

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR adjusts the CD pipeline to deploy to ECS from the dev branch (instead of main), expands the ECS task-definition environment with database/Redis/internal-auth variables, and forces the application timezone to Asia/Seoul across the JVM, Jackson, and the container.

Changes:

  • Switch cd-prod.yml trigger branch from main to dev and inject Postgres/Redis/INTERNAL_AUTH_SECRET/TZ env vars into the ECS container definition.
  • Gate the AWS OIDC credentials step in ci-prod.yml to push events only (consistent with subsequent ECR steps).
  • Set timezone to Asia/Seoul via Dockerfile JVM flag and Spring Jackson config.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
.github/workflows/cd-prod.yml Trigger on dev branch and add DB/Redis/auth/TZ env vars to ECS task definition
.github/workflows/ci-prod.yml Restrict AWS credentials configuration step to push events
Dockerfile Add -Duser.timezone=Asia/Seoul to JVM entrypoint
src/main/resources/application.yaml Set Jackson time-zone to Asia/Seoul

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/cd-prod.yml:
- Around line 75-83: The workflow currently injects sensitive values
(JWT_SECRET, POSTGRES_PASSWORD, INTERNAL_AUTH_SECRET and similar) into the ECS
task definition as plain environment variables via the template arg usage, which
exposes them through DescribeTaskDefinition; change the template so these
secrets are not placed under containerDefinitions[].environment but under
containerDefinitions[].secrets with a valueFrom that references the Secrets
Manager or SSM Parameter Store ARN/secret (use the appropriate ARN for each
secret), and update any places that pass --arg for those secret values to
instead pass ARNs or references that populate containerDefinitions[].secrets
(preserve non-secret envs as environment entries).
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 34667113-56bf-49f7-acda-da320e3576cb

📥 Commits

Reviewing files that changed from the base of the PR and between a32d751 and 3e11601.

📒 Files selected for processing (4)
  • .github/workflows/cd-prod.yml
  • .github/workflows/ci-prod.yml
  • Dockerfile
  • src/main/resources/application.yaml

Comment thread .github/workflows/cd-prod.yml
@githyj-jang
githyj-jang merged commit d2ef4ac into dev May 19, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants