Skip to content

refactor: CD 워크플로우 3차 개선#218

Merged
clxxrlove merged 2 commits intodevelopfrom
refactor/#215
Mar 26, 2026
Merged

refactor: CD 워크플로우 3차 개선#218
clxxrlove merged 2 commits intodevelopfrom
refactor/#215

Conversation

@clxxrlove
Copy link
Member

🔗 관련 이슈

📙 작업 내역

  • SPM 캐시 스킵, tuist cache 스킵, destination: "generic/platform=iOS" 추가

💬 추가 설명 or 리뷰 포인트 (선택)

  • 이게 로컬 테스트가 안되다 보니 자꾸 머지하면서 테스트하게 되는듯 ... 양해 바랍니다

@coderabbitai
Copy link

coderabbitai bot commented Mar 26, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: c3d42268-a30c-4846-bc26-c0885fa0057f

📥 Commits

Reviewing files that changed from the base of the PR and between a9e8db4 and 2f6adab.

📒 Files selected for processing (2)
  • .github/actions/setup-build-env/action.yml
  • fastlane/Fastfile

📝 Walkthrough

워크플로우 리팩토링 (#215)

개요

이 PR은 CI/CD 빌드 인프라 최적화 관련 작업입니다. SwiftUI/TCA 아키텍처 변경은 없으며, 빌드 프로세스의 캐싱 전략과 배포 설정을 개선합니다.

주요 변경사항

1. 빌드 환경 설정 액션 (.github/actions/setup-build-env/action.yml)

  • Tuist 캐시 워밍 조건 수정
    • 변경 전: SPM 캐시를 스킵하거나 미스할 때 Tuist 캐시 워밍 실행
    • 변경 후: SPM 캐시를 스킵하지 않으면서 AND 미스했을 때만 실행
    • 영향: 릴리스 빌드(skip-spm-cache: "true")에서 불필요한 의존성 캐시 워밍 제거로 빌드 시간 단축

2. Fastlane 배포 설정 (fastlane/Fastfile)

  • build_app 호출에 destination: "generic/platform=iOS" 파라미터 추가
  • 영향 범위: archive_for_upload, deploy_develop, deploy_main 레인
  • 목적: 시뮬레이터 아티팩트 번들 제외로 더 작고 최적화된 빌드 산출물 생성

기술적 영향

  • 성능 개선: 릴리스 빌드 시 캐시 워밍 스킵으로 GitHub Actions 실행 시간 단축
  • 빌드 결과물 최적화: 시뮬레이터 바이너리 제외로 AppStore Connect 업로드 빌드 크기 감소
  • 배포 안정성: 명시적 플랫폼 지정으로 크로스 컴파일 환경에서 더 명확한 빌드 타겟 보장

배포 워크플로우 현황

  • cd_develop.yml: 개발 브랜치 → TestFlight (TwixDebug) - SPM 캐시 스킵
  • cd_main.yml: 메인 브랜치 → App Store Connect (Twix) - SPM 캐시 스킵, Pulse 제외

참고사항

  • 작성자 노트: 로컬 테스트 환경 문제로 인한 진행 중 병합
  • 이 변경사항은 TCA 상태 관리나 기능 영역 경계에 영향을 주지 않습니다.

개요

이 변경 사항은 GitHub Actions 워크플로우 설정에서 Tuist 캐시 워밍 단계의 조건부 실행 로직을 수정하고, Fastlane 빌드 스크립트에서 iOS 빌드 명령어에 명시적 대상 플랫폼 파라미터를 추가합니다.

변경 사항

Cohort / File(s) 요약
GitHub Actions 워크플로우 설정
.github/actions/setup-build-env/action.yml
Tuist 캐시 워밍 단계의 실행 조건을 변경. 기존의 OR 로직(SPM 캐시 스킵 또는 미스)에서 AND 로직(SPM 캐시 스킵하지 않음 AND 미스)으로 수정하여 더 엄격한 조건을 적용.
Fastlane 빌드 설정
fastlane/Fastfile
세 개의 iOS 레인(archive_for_upload, deploy_develop, deploy_main)에서 build_app 호출에 destination: "generic/platform=iOS" 파라미터를 추가하여 대상 플랫폼을 명시적으로 지정.

코드 리뷰 예상 난이도

🎯 2 (단순) | ⏱️ ~10분

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch refactor/#215

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.

@clxxrlove
Copy link
Member Author

@coderabbitai summary

@coderabbitai
Copy link

coderabbitai bot commented Mar 26, 2026

✅ Actions performed

Summary regeneration triggered.

@clxxrlove clxxrlove changed the title Refactor/#215 refactor: CD 워크플로우 3차 개선 Mar 26, 2026
@clxxrlove clxxrlove merged commit 631c867 into develop Mar 26, 2026
6 checks passed
@clxxrlove clxxrlove deleted the refactor/#215 branch March 26, 2026 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant