Skip to content

fix: 배포 스크립트 OPENAI_API_KEY 전달 방식 정리, timeout 상향, shebang 추가 - #461

Merged
changmin41 merged 1 commit into
developfrom
fix/deploy-env-timeout-tweaks
Aug 26, 2026
Merged

changmin41 merged 1 commit into
developfrom
fix/deploy-env-timeout-tweaks

Conversation

@changmin41

Copy link
Copy Markdown
Collaborator

Summary

  • OPENAI_API_KEY를 ssh-action envs / docker run -e로 중복 전달하지 않고 EC2 .env(--env-file)에만 의존하도록 정리
  • timeout: 60s, command_timeout: 15m으로 상향 (기존 기본값 30s/10m)
  • 스크립트 최상단에 shebang(#!/bin/bash), set -e 명시 추가

참고

Test plan

  • 머지 후 배포 워크플로우 실행 → 세션 조기 종료 재현 여부 확인
  • OPENAI_API_KEY가 .env만으로 정상 주입되는지 컨테이너 기동 후 확인

- OPENAI_API_KEY는 EC2 .env 파일에 이미 있으므로 ssh-action envs/docker run
  -e로 중복 전달하지 않고 --env-file에만 의존
- SSH 세션 조기 종료 조사를 위해 timeout/command_timeout을 넉넉하게 상향
- 스크립트 최상단에 shebang(#!/bin/bash), set -e 명시적으로 추가
@coderabbitai

coderabbitai Bot commented Aug 26, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: b2d46363-5894-4c4a-94cc-40b37bf0ebe4


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.

@changmin41
changmin41 merged commit 9027e81 into develop Aug 26, 2026
2 checks passed
@predevho
predevho deleted the fix/deploy-env-timeout-tweaks branch August 27, 2026 06:28
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.

1 participant