Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโ€™ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature/#10] : CI/CD setting #13

Merged
merged 9 commits into from
Aug 12, 2024
Merged

Conversation

sohyun127
Copy link
Collaborator

@sohyun127 sohyun127 commented Aug 10, 2024

โœ… ๐—–๐—ต๐—ฒ๐—ฐ๐—ธ-๐—Ÿ๐—ถ๐˜€๐˜

  • mergeํ•  ๋ธŒ๋žœ์น˜์˜ ์œ„์น˜๋ฅผ ํ™•์ธํ•ด ์ฃผ์„ธ์š”(mainโŒ/developโญ•)
  • ๋ฆฌ๋ทฐ๊ฐ€ ํ•„์š”ํ•œ ๊ฒฝ์šฐ ๋ฆฌ๋ทฐ์–ด๋ฅผ ์ง€์ •ํ•ด ์ฃผ์„ธ์š”
  • P1 ๋‹จ๊ณ„์˜ ๋ฆฌ๋ทฐ๋Š” ํ•„์ˆ˜๋กœ ๋ฐ˜์˜ํ•ฉ๋‹ˆ๋‹ค.
  • Approve๋œ PR์€ assigner๊ฐ€ ๋จธ์ง€ํ•˜๊ณ , ์ˆ˜์ • ์š”์ฒญ์ด ์˜จ ๊ฒฝ์šฐ ์ˆ˜์ • ํ›„ ๋‹ค์‹œ push๋ฅผ ํ•ฉ๋‹ˆ๋‹ค.

๐Ÿ“Œ ๐—œ๐˜€๐˜€๐˜‚๐—ฒ๐˜€

๐Ÿ“Ž๐—ช๐—ผ๐—ฟ๐—ธ ๐——๐—ฒ๐˜€๐—ฐ๐—ฟ๐—ถ๐—ฝ๐˜๐—ถ๐—ผ๐—ป

  • CI setting
  • CD setting
  • auto assign
  • key store ํ†ตํ•ฉ ๊ด€๋ฆฌ
  • test token ์‚ญ์ œ
  • jlleitschuh ktlint ์‚ญ์ œ

๐Ÿ“ท ๐—ฆ๐—ฐ๐—ฟ๐—ฒ๐—ฒ๐—ป๐˜€๐—ต๐—ผ๐˜

image

CD Slack ์•Œ๋ฆผ CI Slack ์•Œ๋ฆผ
image image

๐Ÿ’ฌ ๐—ง๐—ผ ๐—ฅ๐—ฒ๐˜ƒ๐—ถ๐—ฒ๐˜„๐—ฒ๐—ฟ๐˜€

  • devleop pr : build ํ™•์ธ (apk๋„ ํ™•์ธํ•˜๊ณ  ์‹ถ์œผ๋ฉด ๋งํ•ด์ฃผ์„ธ์š”!)
  • main pr : ๋ฆด๋ฆฌ์ฆˆ ํ…Œ์ŠคํŠธ์šฉ CD -> debug apk ํŒŒ์ผ ์ถ”์ถœ ํ›„ slack general ์ฑ„๋„์— ์•Œ๋ฆผ
  • main push : ๋ฆด๋ฆฌ์ฆˆ CD -> release apk ํŒŒ์ผ ์ถ”์ถœ ํ›„ slack general ์ฑ„๋„์— ์•Œ๋ฆผ ๋ฐ release ๋…ธํŠธ ์ž๋™ํ™”
  • key store ํŒŒ์ผ๋“ค์€ slcak ํ™•์ธ ํ•˜์‹œ๊ณ  ํ”„๋กœ์ ํŠธ์— ๋„ฃ์–ด์ฃผ์„ธ์š”
  • ํ˜„์žฌ CI/CD๋ฅผ slack๊ณผ ์—ฐ๋™ํ•ด๋‘” ์ƒํƒœ์—ฌ์„œ PR ์•Œ๋ฆผ์„ ๋„๋ ค๊ณ  ํ•˜๋Š”๋ฐ ์–ด๋– ์‹ ๊ฐ€์š”?

@sohyun127 sohyun127 requested a review from a team August 10, 2024 09:46
@sohyun127 sohyun127 self-assigned this Aug 10, 2024
@sohyun127 sohyun127 requested review from Eonji-sw and chanubc and removed request for a team August 10, 2024 09:46
Copy link
Collaborator

@chanubc chanubc left a comment

Choose a reason for hiding this comment

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

qaํ• ๋•Œ ์ƒ๊ฐํ•˜๋ฉด main๋จธ์ง€๋ ๋•Œ cd์ ์šฉ์‹œํ‚ค๋Š” ๊ฒƒ๋ณด๋‹ค develop์—๋„ ์ ์šฉ์‹œํ‚ค๋Š” ๊ฑด ์–ด๋– ์‹ ๊ฐ€์š”?

release, debug ๋ถ„๋ฆฌํ•œ๊ฑฐ ์ตœ๊ณ ๋„ค์š” ๊ณ ์ƒํ•˜์…จ์Šต๋‹ˆ๋‹ค!

run: ./gradlew assembleRelease --stacktrace

- name: Upload Release Build to APK
uses: actions/upload-artifact@v4
Copy link
Collaborator

Choose a reason for hiding this comment

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

p3: main์— ๋จธ์ง€๋ ๋•Œ๋งŒ cd ์ ์šฉ์‹œํ‚ค๋‚˜์š”?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

main์— pr์˜ฌ๋ผ์˜ฌ๋•Œ๋„ ์ƒ์„ฑ๋ฉ๋‹ˆ๋‹ค! main์— pr์˜ฌ๋ ค์„œ qa์ง„ํ–‰ํ•˜๊ณ  ๋ณ€๊ฒฝํ•ด์•ผํ•  ์‚ฌํ•ญ์žˆ์œผ๋ฉด pr ํด๋กœ์ฆˆํ•˜๊ณ  ๋‹ค์‹œ ์˜ฌ๋ฆฌ๋Š” ๋ฐฉ์‹์„ ์ƒ๊ฐํ–ˆ์—ˆ์Šต๋‹ˆ๋‹ค!

develop์€ ์ €ํฌ ํ™•์ธ์šฉ์œผ๋กœ apk๊ฐ€ ๋งค pr๋งˆ๋‹ค ํ•„์š”ํ• ์ง€ ๊ณ ๋ฏผํ•ด๋ณด๋ฉด ์ข‹์„ ๊ฒƒ ๊ฐ™์•„์š”!

Copy link
Collaborator

Choose a reason for hiding this comment

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

๊ทธ ๋ฐฉ์‹์ด๋ฉด ์ „ ์ข‹์Šต๋‹ˆ๋‹ค!

Copy link
Member

@Eonji-sw Eonji-sw left a comment

Choose a reason for hiding this comment

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

๊น”๋”ํ•˜๊ฒŒ ์—„์ฒญ ์ž˜ํ•˜์…จ๋„ค์š”!!! ๊ณ ์ƒํ•˜์…จ์–ด์šฉ

@sohyun127 sohyun127 merged commit 4f46e78 into develop Aug 12, 2024
1 check passed
@sohyun127 sohyun127 deleted the feature/#10-ci-cd-setting branch August 14, 2024 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[SETTING] : set CI/CD
3 participants