Skip to content

✨ [FEAT] Bitrise CI/CD 환경 구축#139

Open
SuHyeon00 wants to merge 18 commits intodevelopfrom
feature/bitrise-setting
Open

✨ [FEAT] Bitrise CI/CD 환경 구축#139
SuHyeon00 wants to merge 18 commits intodevelopfrom
feature/bitrise-setting

Conversation

@SuHyeon00
Copy link
Copy Markdown
Contributor

📝 작업 내용

  • Bitrise 빌드 파이프라인 워크플로우 구축
  • 앞으로 작업 후 PM님께 빌드본 공유드릴 때 에디슨 계정으로 bitrise 들어가셔서 Start Build로 빌드본 공유드릴 브랜치 선택하시고 워크플로우는 build-qa로 선택 하여 워크플로우 실행시키면 됩니다!

📸 스크린샷 (선택)

스크린샷 2026-02-08 23 43 58 스크린샷 2026-02-08 23 45 48 스크린샷 2026-02-08 23 46 59

💬 리뷰 요구사항(선택)

리뷰어가 특별히 봐주었으면 하는 부분이 있다면 작성해주세요

ex) 메서드 XXX의 이름을 더 잘 짓고 싶은데 혹시 좋은 명칭이 있을까요?

@SuHyeon00 SuHyeon00 self-assigned this Feb 25, 2026
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @SuHyeon00, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

이 PR은 Android 프로젝트에 Bitrise CI/CD 환경을 성공적으로 구축하여 개발 워크플로우를 크게 개선합니다. QA 및 릴리스 빌드를 위한 자동화된 파이프라인을 제공하며, 빌드 과정에서 필요한 설정 파일과 환경 변수를 동적으로 처리합니다. 또한, Google 로그인 과정에서 발생하는 오류를 Firebase Crashlytics를 통해 더 효과적으로 추적하고 디버깅할 수 있도록 로깅 기능을 강화했습니다.

Highlights

  • Bitrise CI/CD 환경 구축: Android 애플리케이션의 빌드 및 배포 프로세스를 자동화하기 위한 Bitrise CI/CD 환경이 구축되었습니다.
  • 워크플로우 정의: QA 및 릴리스 빌드를 지원하는 build-qabuild-release 두 가지 주요 워크플로우가 정의되었습니다.
  • 동적 설정 파일 처리: 빌드 유형에 따라 google-services.json 파일을 동적으로 설정하는 스크립트가 추가되었습니다.
  • 환경 변수 주입: 환경 변수(BASE_URL, BRANCH_KEY)를 설정하고 local.properties 파일에 기록하는 로직이 구현되었습니다.
  • Google 로그인 오류 로깅 강화: Google 로그인 실패 시 Firebase Crashlytics를 통해 상세한 오류 정보를 기록하도록 GoogleLoginHelper.kt 파일이 업데이트되었습니다.
  • 경고 로깅 추가: 알 수 없는 자격 증명 유형 또는 불일치 시 경고 메시지를 로깅하도록 GoogleLoginHelper.kt 파일이 개선되었습니다.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • app/src/main/java/com/umc/edison/presentation/login/GoogleLoginHelper.kt
    • Firebase Crashlytics 관련 import 문이 추가되었습니다.
    • Google 로그인 중 GetCredentialException 발생 시, Crashlytics에 google_signin_phase, google_signin_error_type, google_signin_error_message 등의 커스텀 키를 설정하여 오류를 기록하도록 변경되었습니다.
    • 알 수 없는 자격 증명 유형(CustomCredential 타입 불일치 또는 기타 알 수 없는 유형)에 대한 경고 로깅(AppLogger.w)이 추가되었습니다.
  • bitrise.yml
    • Bitrise CI/CD 워크플로우를 정의하는 새로운 설정 파일이 추가되었습니다.
    • build-qa 및 build-release라는 두 가지 주요 워크플로우가 포함되어 있습니다.
    • 각 워크플로우는 SSH 키 활성화, Git 클론, Android 도구 설치, Gradle 캐시 복원 단계를 가집니다.
    • google-services.json 파일을 빌드 유형(debug, qa, release)에 따라 동적으로 생성하는 스크립트가 추가되었습니다.
    • 환경 변수(ENVIRONMENT, BUILD_TYPE, BASE_URL, BRANCH_KEY)를 설정하고 local.properties 파일에 기록하는 스크립트가 포함되었습니다.
    • Gradle을 사용하여 APK를 빌드하고, 필요한 경우 APK에 서명하는 단계가 정의되었습니다.
    • 빌드 완료 후 Bitrise.io에 APK를 배포하고, 빌드 성공/실패 여부에 따라 Discord로 알림을 보내는 스크립트가 추가되었습니다.
Activity
  • 이 Pull Request에 대한 특정 활동(댓글, 리뷰 등)은 현재까지 확인되지 않았습니다.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This PR aims to set up a Bitrise CI/CD environment by adding the bitrise.yml file and improves error logging for Google login. A medium-severity vulnerability was identified where the new logging mechanism records raw exception messages, potentially exposing sensitive information. It is recommended to replace this with generic error messages. Furthermore, improvements are suggested for the bitrise.yml file, including refactoring duplicate code in workflow scripts, fixing a small bug in the Discord notification feature, and clarifying the default behavior of the build-qa workflow.

Comment thread app/src/main/java/com/umc/edison/presentation/login/GoogleLoginHelper.kt Outdated
Comment thread bitrise.yml
Comment thread bitrise.yml Outdated
Comment thread bitrise.yml
Comment thread bitrise.yml
Comment thread bitrise.yml
@UMC-Edison UMC-Edison deleted a comment from cursor Bot Feb 25, 2026
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