-
Notifications
You must be signed in to change notification settings - Fork 2
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
update: production.yaml #396
Conversation
📝 WalkthroughWalkthrough프로덕션 배포를 위한 워크플로우 파일이 크게 수정되었습니다. 새로운 환경 섹션이 추가되어 Changes
Poem
Warning Rate limit exceeded@siwonpada has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 16 minutes and 49 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Actionable comments posted: 0
🧹 Outside diff range and nitpick comments (3)
.github/workflows/production.yaml (3)
38-44
: 불필요한 공백 문자를 제거해주세요.44번 줄 끝에 불필요한 공백 문자가 있습니다.
🧰 Tools
🪛 yamllint
[error] 44-44: trailing spaces
(trailing-spaces)
Line range hint
79-82
: 배포 스크립트의 이미지 참조를 수정해야 합니다!현재 스크립트가 더 이상 존재하지 않는 ECR 변수들을 참조하고 있어 배포가 실패할 것입니다.
다음과 같이 수정해주세요:
- sed -i "s|image:.*|image: $ECR_REGISTRY\/$ECR_REPOSITORY:$IMAGE_TAG|g" infoteam/service/ziggle/next.prod.yaml + sed -i "s|image:.*|image: ${{ env.REGISTRY }}\/${{ env.REPOSITORY }}:${{ env.IMAGE_TAG }}|g" infoteam/service/ziggle/next.prod.yaml🧰 Tools
🪛 actionlint
31-31: shellcheck reported issue in this script: SC2129:style:1:1: Consider using { cmd1; cmd2; } >> file instead of individual redirects
(shellcheck)
Line range hint
84-88
: Git 커밋 메시지의 이미지 참조도 수정해야 합니다!Git 커밋 메시지에서도 더 이상 존재하지 않는 ECR 변수들을 참조하고 있습니다.
다음과 같이 수정해주세요:
- git commit -am "Update image $ECR_REPOSITORY:$IMAGE_TAG" + git commit -am "Update image ${{ env.REPOSITORY }}:${{ env.IMAGE_TAG }}"🧰 Tools
🪛 actionlint
31-31: shellcheck reported issue in this script: SC2129:style:1:1: Consider using { cmd1; cmd2; } >> file instead of individual redirects
(shellcheck)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (1)
.github/workflows/production.yaml
(2 hunks)
🧰 Additional context used
🪛 yamllint
.github/workflows/production.yaml
[error] 44-44: trailing spaces
(trailing-spaces)
🔇 Additional comments (3)
.github/workflows/production.yaml (3)
8-11
: 환경 변수가 적절히 구성되었습니다!
GitHub Container Registry를 위한 환경 변수들이 명확하게 정의되어 있습니다.
16-21
: 권한 설정이 적절합니다!
GitHub Container Registry 사용에 필요한 최소한의 권한만 부여되어 있습니다.
45-65
: Docker 구성이 최적화되어 있습니다!
캐시 설정과 메타데이터 추출이 잘 구성되어 있습니다.
Summary by CodeRabbit
REGISTRY
,REPOSITORY
,IMAGE_TAG
.