Skip to content

Commit

Permalink
Merge pull request #275 from TeamDATEROAD/develop
Browse files Browse the repository at this point in the history
[release] 1.0.0 release
  • Loading branch information
jihyunniiii authored Sep 25, 2024
2 parents 2350642 + 2dca194 commit b7a5fde
Show file tree
Hide file tree
Showing 490 changed files with 22,384 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
root = true

[*]
max_line_length = off

[*.{kt,kts}]
ktlint_function_naming_ignore_when_annotated_with=Composable
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @TeamDATEROAD/DATEROAD-ANDROID
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/issue_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: ISSUE_TEMPLATE
about: "기능, UI, 문서 개선 및 추가 요청을 위한 템플릿입니다 \U0001F680"
title: ''
labels: ''
assignees: ''

---

## What is this issue? 🛠

## Progress 🏃‍♀️
- [ ]
13 changes: 13 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## Related issue 🛠
- closed #이슈넘버

## Work Description ✏️
- 작업 내용

## Screenshot 📸
<img src="" width="360"/>

## Uncompleted Tasks 😅
- [ ] Task1

## To Reviewers 📢
100 changes: 100 additions & 0 deletions .github/workflows/android_cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
name: DATEROAD CD

on:
push:
branches:
- main

defaults:
run:
shell: bash
working-directory: .

jobs:
build:
name: CD
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Gradle cache
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'temurin'

- name: Change gradlew permissions
run: chmod +x ./gradlew

- name: Touch local properties
run: touch local.properties

- name: Decode google-services.json
env:
FIREBASE_SECRET: ${{ secrets.FIREBASE_SECRET }}
run: echo $FIREBASE_SECRET > app/google-services.json

- name: Access local properties
env:
HFM_BASE_URL: ${{ secrets.BASE_URL }}
IO_SENTRY_TOKEN: ${{ secrets.IO_SENTRY_DSN }}
KAKAO_NATIVE_APP_KEY_MANIFEST: ${{ secrets.KAKAO_NATIVE_APP_KEY }}
KAKAO_NATIVE_APP_KEY: ${{ secrets.KAKAO_NATIVE_APP_KEY }}
AMPLITUDE_API_KEY: ${{ secrets.AMPLITUDE_API_KEY }}
run: |
echo "dev.base.url=\"$BASE_URL\"" >> local.properties
echo "io.sentry.dsn=\"$IO_SENTRY_DSN\"" >> local.properties
echo "kakao.native.app.key.manifest=\"$KAKAO_NATIVE_APP_KEY_MANIFEST\"" >> local.properties
echo "kakao.native.app.key=\"$KAKAO_NATIVE_APP_KEY\"" >> local.properties
echo "amplitude.dev.api.key=\"AMPLITUDE_API_KEY\"" >> local.properties
- name: Access sentry properties
env:
DEFAULTS_ORG: ${{ secrets.DEFAULTS_ORG }}
DEFAULTS_PROJECT: ${{ secrets.DEFAULTS_PROJECT }}
run: |
echo "defaults.org=$DEFAULTS_ORG" >> sentry.properties
echo "defaults.project=$DEFAULTS_PROJECT" >> sentry.properties
- name: Build Release APK
run: |
./gradlew :app:assembleRelease
- name: Upload Release APK
uses: actions/upload-artifact@v3
with:
name: release
path: ./app/build/outputs/apk/release/app-release-unsigned.apk

- name: Discord Notify - Success
if: ${{ success() }}
uses: sarisia/actions-status-discord@v1
with:
title: ✅ Release Test가 완료되었습니다! 🔥
webhook: ${{ secrets.DISCORD_WEBHOOK_URL }}
color: B7FF1D
username: DATEROAD-ANDROID 🍫
content: |
Release Test가 완료되었습니다!
[❇️ APK를 다운로드해 보세요! ❇️](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})
- name: Discord Notify - Failure
if: ${{ failure() }}
uses: sarisia/actions-status-discord@v1
with:
title: ❌ Release Test Failed ❌
webhook: ${{ secrets.DISCORD_WEBHOOK_URL }}
color: FF0000
username: DATEROAD-ANDROID 🍫
content: 에러를 확인해 주세요 🫨
97 changes: 97 additions & 0 deletions .github/workflows/android_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
name: DATEROAD CI
on:
pull_request:
branches: [ develop, main ]

defaults:
run:
shell: bash
working-directory: .

jobs:
build:
name: CI
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Gradle cache
uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'temurin'

- name: Change gradlew permissions
run: chmod +x ./gradlew

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Touch local properties
run: touch local.properties

- name: Decode google-services.json
env:
FIREBASE_SECRET: ${{ secrets.FIREBASE_SECRET }}
run: echo $FIREBASE_SECRET > app/google-services.json

- name: Access local properties
env:
HFM_BASE_URL: ${{ secrets.BASE_URL }}
IO_SENTRY_TOKEN: ${{ secrets.IO_SENTRY_DSN }}
KAKAO_NATIVE_APP_KEY_MANIFEST: ${{ secrets.KAKAO_NATIVE_APP_KEY }}
KAKAO_NATIVE_APP_KEY: ${{ secrets.KAKAO_NATIVE_APP_KEY }}
AMPLITUDE_API_KEY: ${{ secrets.AMPLITUDE_API_KEY }}
run: |
echo "dev.base.url=\"$BASE_URL\"" >> local.properties
echo "io.sentry.dsn=\"$IO_SENTRY_DSN\"" >> local.properties
echo "kakao.native.app.key.manifest=\"$KAKAO_NATIVE_APP_KEY_MANIFEST\"" >> local.properties
echo "kakao.native.app.key=\"$KAKAO_NATIVE_APP_KEY\"" >> local.properties
echo "amplitude.dev.api.key=\"AMPLITUDE_API_KEY\"" >> local.properties
- name: Access sentry properties
env:
DEFAULTS_ORG: ${{ secrets.DEFAULTS_ORG }}
DEFAULTS_PROJECT: ${{ secrets.DEFAULTS_PROJECT }}
AUTH_TOKEN: ${{ secrets.AUTH_TOKEN }}
run: |
echo "defaults.org=$DEFAULTS_ORG" >> sentry.properties
echo "defaults.project=$DEFAULTS_PROJECT" >> sentry.properties
echo "auth.token=$AUTH_TOKEN" >> sentry.properties
- name: Lint Check
run: ./gradlew ktlintCheck -PcompileSdkVersion=34

- name: Build with Gradle
run: ./gradlew build -PcompileSdkVersion=34

- name: Discord Notify - Success
if: ${{ success() }}
uses: sarisia/actions-status-discord@v1
with:
title: ✅ PR Success ✅
webhook: ${{ secrets.DISCORD_WEBHOOK_URL }}
color: D3EB77
username: DATEROAD-ANDROID 🍫
content: PR이 완료되었습니다! 👩‍❤️‍👨

- name: Discord Notify - Failure
if: ${{ failure() }}
uses: sarisia/actions-status-discord@v1
with:
title: ❌ PR Failed ❌
webhook: ${{ secrets.DISCORD_WEBHOOK_URL }}
color: FF0000
username: DATEROAD-ANDROID 🍫
content: 에러를 확인해 주세요 🫨
Loading

0 comments on commit b7a5fde

Please sign in to comment.