Skip to content

chore: 배포 파이프라인 추가 (TestFlight·Play 업로드, Shorebird, release 서명) - #3

Merged
bess-cater merged 1 commit into
mainfrom
feat/add-release-pipeline
Nov 17, 2026
Merged

bess-cater merged 1 commit into
mainfrom
feat/add-release-pipeline

Conversation

@bess-cater

Copy link
Copy Markdown
Collaborator

변경

배포 파이프라인 추가. PR 검사(mobile.yml, web.yml)는 이미 있으므로 배포 쪽만 더했다.

  • App Release (.github/workflows/app-release.yml): develop/main push(apps/mobile/** 변경 시) → Shorebird release 빌드 → Fastlane으로 업로드만 (재빌드 X)
    • develop → dev(com.ject.highfive.dev) → TestFlight · Play 내부 테스트
    • main → prod(com.ject.highfive) → TestFlight · Play 내부 테스트. 스토어 출시는 콘솔에서 수동 승인
    • Flutter 버전은 .fvmrc를 --flutter-version으로 넘김, 진입점은 기존 lib/main.dart 하나(--flavor로 환경 결정)
  • Shorebird Patch (.github/workflows/shorebird-patch.yml): Actions 탭에서 수동 실행, Dart만 바뀐 긴급 수정 → staging 트랙
  • iOS 서명 (.github/actions/ios-signing/action.yml): secret의 인증서·프로파일을 CI 임시 keychain에 설치, ExportOptions.plist 생성
  • Fastlane (apps/mobile/fastlane/Fastfile, Gemfile, Gemfile.lock): TestFlight / Play internal 업로드
  • Shorebird 설정: apps/mobile/shorebird.yaml(flavor별 app_id, 비밀 아님), pubspec.yaml assets에 추가, AndroidManifest.xml에 INTERNET 권한(release 앱이 patch 받을 때 필요)
  • Android release 서명 (build.gradle.kts): CI가 만든 android/key.properties(PKCS12)로 서명. 파일이 없으면(로컬) 기존처럼 debug 키
  • iOS release 서명 (project.pbxproj): Release-dev, Release-prod만 manual signing, Team Q4E6NKD9VN, 프로파일 Highfive Dev AppStore / Highfive AppStore. Debug·Profile은 그대로
  • 문서: docs/ci-cd.md(파이프라인, secret 목록, 처음 한 번 수동 작업, patch 절차), AGENTS.md 표에 링크 한 줄
  • .gitignore: 서명 파일(*.p12, *.mobileprovision, *.jks, *.p8, key.properties, 비밀번호.txt 등) 제외

Jira: 해당 없음

검증

  • apps/mobile: dart format · flutter analyze · check_imports · flutter test(28개) 전부 통과
  • fvm flutter build apk --flavor dev --release 성공 (key.properties 없을 때 debug 키로 떨어지는지 확인)
  • xcodebuild -showBuildSettings: Release-dev / Release-prod의 bundle id·Team·Manual·프로파일 확인, Debug-dev는 기존 값 유지
  • shorebird doctor 통과 (INTERNET 권한, shorebird.yaml asset)
  • workflow YAML · Fastfile 문법 확인
  • 미검증: 실제 CI 실행, iOS 서명 빌드, 스토어 업로드 — secret 설정 후 확인

UI 캡처

해당 없음

호환성·주의

  • ⚠️ secret 미설정: merge하면 App Release가 돌고 secret이 없어서 실패(❌)한다. 업로드되는 건 없음. secret 목록은 docs/ci-cd.md 1절 (Repository secrets, 파일 경로가 아니라 파일 내용)
  • 네이티브·의존성 공통 변경: pubspec.yaml(asset), AndroidManifest.xml(INTERNET), build.gradle.kts(release 서명), iOS Release 설정 — 사전 공유함
  • Team ID: Release는 Q4E6NKD9VN(배포 인증서 팀). Debug·Profile은 아직 H7BDPST7YA — 맞는지 확인 필요
  • 처음 한 번 수동: Play Console에 첫 AAB 직접 업로드, App Store Connect에 두 앱 레코드 생성

리뷰 순서

  1. .github/workflows/app-release.yml → .github/workflows/shorebird-patch.yml
  2. .github/actions/ios-signing/action.yml → apps/mobile/fastlane/Fastfile
  3. apps/mobile/android/app/build.gradle.kts → apps/mobile/ios/Runner.xcodeproj/project.pbxproj → apps/mobile/pubspec.yaml · AndroidManifest.xml · shorebird.yaml
  4. docs/ci-cd.md

새 문구

해당 없음

작성자 체크 (docs/pr-checklist.md A절)

  • A1 형식: 브랜치·커밋·PR 제목 규칙, PR 하나 = Task 하나 — Jira 번호 없음
  • A2 자동 검증: 앱 format·analyze·check_imports·test / 웹 format·lint·typecheck·test·build·build:dev 전부 통과 (앱·웹 파일이 바뀐 PR이면 CI도 같은 검사) — 웹 변경 없음
  • A3 구조: 파일이 규칙 위치에 있고, features→app·다른 기능 내부 import 없음, 미래용 코드 없음
  • A4 명령: 해당 없음
  • A5 화면 상태: 해당 없음
  • A6 토큰: 해당 없음
  • A7 재사용: 해당 없음
  • A8 문구: 해당 없음
  • A9 데이터: 토큰·개인정보가 로그·URL·분석·prefs에 없음. env·routes 한 곳 — 서명 값은 전부 GitHub secret
  • A10 테스트: 해당 없음 (Dart 코드 변경 없음)
  • A11 생성 파일·lock 같이 커밋 (해당 시) — Gemfile.lock
  • A12 수동 확인: release APK 빌드만 확인, CI 실행은 secret 설정 후
  • A13 사전 공유 (공통 변경 시)

리뷰어 체크 (docs/pr-checklist.md B절)

  • B1 진입점 → B2 상태·요청 → B3 실패 방어 → B4 테스트 순으로 읽음
  • B5 일관성: 기존 비슷한 화면과 여백·빈 화면·문구 톤이 같음
  • B6 범위: 관계없는 변경이 섞이지 않음
  • 코멘트는 [must]/[nit] 접두사와 근거 절 번호

@bess-cater
bess-cater requested a review from beomq November 8, 2026 23:55
@coderabbitai

coderabbitai Bot commented Nov 8, 2026

Copy link
Copy Markdown

Important

  • Trigger review

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

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 201d7efc-55be-4307-8807-bc950d13a595
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Tip

🎯 Customize your risk assessments

Guide how CodeRabbit assesses merge risk and security architecture risk. Highlight sensitive changes and explain your security boundaries using Merge Risk Instructions and Security Risk Instructions in your review settings. Security architecture risk assessments require the Advanced plan or above.

✅ Automatic approvals, with your rules

Let CodeRabbit approve pull requests once required threads are resolved, pre-merge checks pass, and your risk limits are met. Enable Automatic approvals in review settings, with overrides for teams or file paths.

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

@bess-cater
bess-cater merged commit 77be517 into main Nov 17, 2026
2 checks passed
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