Skip to content

fix(infra): 운영 배포 Secret SCP 경로 수정 - #212

Merged
1Seob merged 1 commit into
developfrom
fix/infra-prod-scp-source
Jul 28, 2026
Merged

fix(infra): 운영 배포 Secret SCP 경로 수정#212
1Seob merged 1 commit into
developfrom
fix/infra-prod-scp-source

Conversation

@1Seob

@1Seob 1Seob commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

📝 요약(Summary)

  • 운영 Secret 파일 업로드 단계에서 발생한 tar: empty archive 오류를 수정했습니다.
  • drone-scp의 숨김 디렉토리 및 wildcard 해석에 의존하지 않도록 source 경로를 변경했습니다.

주요 변경사항

  • SCP source
    • 숨김 디렉토리 .deploy-secrets를 일반 deploy-secrets 디렉토리로 변경
    • source: ./.deploy-secrets/*source: ./deploy-secrets로 변경
    • wildcard 대신 디렉토리 자체를 SCP source로 지정
  • 경로 일관성
    • Secret 파일 생성 경로 변경
    • EC2의 Secret 복원 경로 변경
    • 러너의 임시 Secret 정리 경로 변경
    • 기존 파일 권한과 비재귀 정리 방식 유지

검증

  • 운영 배포 워크플로 YAML 파싱 성공
  • SCP source가 ./deploy-secrets 디렉토리를 직접 가리키는지 확인
  • 숨김 Secret 경로 및 Secret 업로드 wildcard 사용 0건 확인
  • Secret 선언·생성·복원 목록 50개 일치 확인
  • 모든 셸 스크립트 bash -n 문법 검사 통과
  • git diff --check 통과
  • Java 애플리케이션 코드는 변경하지 않아 Gradle 테스트 미실행

🔗 Related Issue

  • Closes:

💬 공유사항

✅ PR Checklist

PR이 다음 요구 사항을 충족하는지 확인하세요.

  • PR 제목을 커밋 메시지 컨벤션에 맞게 작성했습니다.

숨김 디렉토리와 wildcard 조합을 일반 deploy-secrets 디렉토리 source로 변경해 drone-scp의 empty archive 오류 해결
@1Seob
1Seob merged commit 01aed3b into develop Jul 28, 2026
1 check passed
@1Seob
1Seob deleted the fix/infra-prod-scp-source branch July 28, 2026 19:00
@1Seob 1Seob mentioned this pull request Jul 28, 2026
1 task
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