Compare commits

..

2 Commits

Author SHA1 Message Date
96704cc86f Merge branch 'dev' into main — 배포 실패 수정 2026-09-23 15:02:29 +09:00
b4608e5abf fix(ci): bind mount 디렉터리 사전 생성 — token_cache 미존재로 배포 전면 중단
docker-compose.yml 에 ./token_cache 볼륨을 추가했는데 배포 디렉터리에 없어
'Bind mount failed: /volume1/docker/autostock/token_cache does not exist' 로
DB Migration 단계부터 실패, Deploy 가 스킵돼 2026-09-23 11:30 이후 변경분이
서버에 반영되지 않았다(컨테이너는 옛 이미지로 계속 구동).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-23 15:02:27 +09:00

4
Jenkinsfile vendored
View File

@@ -53,6 +53,10 @@ print('All files OK')
echo "=== Syncing source to deploy directory ==="
mkdir -p ${DEPLOY_DIR}
# bind mount 대상 디렉터리 사전 생성 (없으면 docker 가 Bind mount failed 로 중단)
mkdir -p ${DEPLOY_DIR}/logs ${DEPLOY_DIR}/token_cache
chmod 777 ${DEPLOY_DIR}/token_cache 2>/dev/null || true
# .env 존재 확인
if [ ! -f "${ENV_FILE}" ]; then
echo "WARNING: ${ENV_FILE} not found. Creating template..."