Skip to content

Feat/add ci cd - #1

Draft
bess-cater wants to merge 10 commits into
mainfrom
feat/add-ci-cd
Draft

bess-cater wants to merge 10 commits into
mainfrom
feat/add-ci-cd

Conversation

@bess-cater

Copy link
Copy Markdown
Collaborator

개요

CI/CD 파이프라인 추가 + dev/prod flavor 세팅

추가/변경 내용

CI/CD (.github/)

파일 내용
.github/workflows/pr-check.yml PR마다 flutter analyze · flutter test (Flutter 버전은 .fvmrc)
.github/workflows/app-release.yml develop/main push 시 빌드 → TestFlight · Play 내부 테스트 업로드 (develop→dev, main→prod)
.github/workflows/shorebird-patch.yml Shorebird patch 수동 실행 (Actions 탭)
.github/actions/ios-signing/action.yml secret에서 인증서·프로파일 설치, ExportOptions.plist 생성
fastlane/Fastfile, Gemfile, Gemfile.lock TestFlight / Play 업로드만 담당
docs/ci-cd.md 파이프라인 설명, secret 목록

Flavor (dev / prod)

위치 내용
lib/main_dev.dart, lib/main_prod.dart flavor별 진입점 (지금은 둘 다 main.dart 실행, 서버 주소 정해지면 여기에 추가)
android/app/build.gradle.kts dev(com.ject.highfive.dev, "Highfive Dev"), prod(com.ject.highfive, "Highfive") flavor
android/app/src/main/AndroidManifest.xml 앱 이름을 flavor에서 받도록 변경
ios/Runner.xcodeproj/project.pbxproj Debug/Release/Profile-dev, -prod configuration 추가, dev bundle id com.ject.highfive.dev, Team Q4E6NKD9VN
ios/.../xcschemes/dev.xcscheme, prod.xcscheme flavor별 scheme
ios/.../project.pbxproj (Release-dev, Release-prod) 수동 서명: Apple Distribution + Highfive Dev AppStore / Highfive AppStore

실행 방법 (변경됨)

flavor가 생겨서 실행 시 지정 필요:

fvm flutter run --flavor dev -t lib/main_dev.dart
fvm flutter run --flavor prod -t lib/main_prod.dart

bess-cater and others added 9 commits November 2, 2026 19:13
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bess-cater
bess-cater requested a review from beomq November 2, 2026 11:17
@bess-cater bess-cater self-assigned this Nov 2, 2026
@coderabbitai

coderabbitai Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • 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

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.

@beomq

beomq commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator

리자님, CI/CD랑 flavor 세팅해 주셔서 감사해요! 저도 초기 세팅을 하다 보니 이 PR과 겹치는 부분이 생겨서, 이렇게 합치면 어떨지 의견 여쭤보려고 합니다.

상황

이렇게 고치려고 하는데 어떠세요?

  1. 폴더 구조·flavor·PR 검사는 초기 구조 세팅: apps/mobile·apps/web 모노레포, dev/prod flavor, 린트·CI, 작업 규칙 문서 #2 기준으로 갑니다. iOS 홈 화면 이름까지 dev/prod로 나뉘고, Dart에서 --flavor 값으로 API 주소·DEV 배너를 나눠 둔 상태라서요.
  2. 이 PR의 배포 부분(app-release, shorebird-patch, ios-signing, Fastlane, docs/ci-cd.md, 서명 파일 gitignore, iOS Release 수동 서명)은 그대로 살리고 apps/mobile 경로에 맞게 옮깁니다. 경로 필터와 working-directory 정도만 바뀌어요.
  3. pr-check.yml은 #2의 mobile.yml과 겹쳐서 하나로 합치려고 해요. 브랜치 보호에 걸 필수 체크 이름도 그때 같이 정하면 좋겠습니다.

여쭤보고 싶은 것

참고로 아직 shorebird.yaml이 없고 저장소 secret도 등록 전이라, 배포 워크플로는 이 두 가지가 준비된 뒤에 돌아갈 것 같아요.

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.

2 participants