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

refactor: BE label trigger 설정 #148

Merged
merged 54 commits into from
Jul 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
e9664c6
refactor: BE label trigger 설정
jjongwa Jul 26, 2023
c97542f
style: yml 네이밍 변경
jjongwa Jul 26, 2023
b59ca0a
refactor: Secret 추가
jjongwa Jul 26, 2023
0842554
refactor: yml secret으로 변경
jjongwa Jul 26, 2023
e2a5f64
refactor: yml 설정 변경
jjongwa Jul 26, 2023
85ba4c6
refactor: Secret 설정 변경
jjongwa Jul 26, 2023
9d79af9
refactor: use 추가
jjongwa Jul 26, 2023
3c58fbf
refactor: Trips 폴더를 trips로 네이밍 변경
ashleysyheo Jul 26, 2023
c5f91eb
Update backend-CI-test.yml
jjongwa Jul 26, 2023
d54a8d9
Merge pull request #151 from woowacourse-teams/feature/#150
ashleysyheo Jul 26, 2023
c79d770
Update backend-CI-test.yml
jjongwa Jul 26, 2023
a521c7e
Update backend-CI-test.yml
jjongwa Jul 26, 2023
8fe2670
Update backend-CI-test.yml
jjongwa Jul 26, 2023
00a4ab5
Update backend-CI-test.yml
jjongwa Jul 26, 2023
640a670
Update backend-CI-test.yml
jjongwa Jul 26, 2023
7a9ac52
Update backend-CI-test.yml
jjongwa Jul 26, 2023
f9587c5
Update backend-CI-test.yml
jjongwa Jul 26, 2023
9bd20ed
Update backend-CI-test.yml
jjongwa Jul 26, 2023
d9800d2
Update backend-CI-test.yml
jjongwa Jul 26, 2023
60a68bc
Update backend-CI-test.yml
jjongwa Jul 26, 2023
dabd269
Update backend-CI-test.yml
jjongwa Jul 26, 2023
1dfd385
Update backend-CI-test.yml
jjongwa Jul 26, 2023
afcb5a8
Update backend-CI-test.yml
jjongwa Jul 26, 2023
618799c
Update backend-CI-test.yml
jjongwa Jul 26, 2023
4070ffa
Update backend-CI-test.yml
jjongwa Jul 26, 2023
0fb3110
Update backend-CI-test.yml
jjongwa Jul 26, 2023
141b094
Update backend-CI-test.yml
jjongwa Jul 26, 2023
65fd483
Update backend-CI-test.yml
jjongwa Jul 26, 2023
c6e4a18
Update backend-CI-test.yml
jjongwa Jul 26, 2023
122a855
Update backend-CI-test.yml
jjongwa Jul 26, 2023
8cdff85
Update backend-CI-test.yml
jjongwa Jul 26, 2023
c2b459c
Update backend-CI-test.yml
jjongwa Jul 26, 2023
2ce8e7a
Update backend-CI-test.yml
jjongwa Jul 26, 2023
66ec213
Update backend-CI-test.yml
jjongwa Jul 26, 2023
bc792dc
Update backend-CI-test.yml
jjongwa Jul 26, 2023
a721256
Update backend-CI-test.yml
jjongwa Jul 26, 2023
849ee61
Update build.gradle
jjongwa Jul 26, 2023
55c729c
Update backend-CI-test.yml
jjongwa Jul 26, 2023
7da7edf
Update build.gradle
jjongwa Jul 26, 2023
8b6fc3e
test
jjongwa Jul 26, 2023
2b977bd
Merge remote-tracking branch 'origin/refactor/#147-gitAction' into re…
jjongwa Jul 26, 2023
bc24bc2
test
jjongwa Jul 26, 2023
d79d726
Update backend-CI-test.yml
jjongwa Jul 26, 2023
fb3147b
Update build.gradle
jjongwa Jul 26, 2023
5c90546
Update backend-CI-test.yml
jjongwa Jul 26, 2023
09f5c86
Update backend-CI-test.yml
jjongwa Jul 26, 2023
dfabaa6
Update backend-CI-test.yml
jjongwa Jul 26, 2023
6c3bb07
Update backend-CI-test.yml
jjongwa Jul 26, 2023
770cc0f
Update backend-CI-test.yml
jjongwa Jul 26, 2023
0e20729
refactor: application.yml 통합
jjongwa Jul 26, 2023
0a9ad13
Merge remote-tracking branch 'origin/refactor/#147-gitAction' into re…
jjongwa Jul 26, 2023
8da93e4
Update backend-CI-test.yml
jjongwa Jul 26, 2023
baf8292
Update backend-CI-test.yml
jjongwa Jul 26, 2023
c43e48c
Update backend-CI-test.yml
jjongwa Jul 26, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,45 +13,37 @@ permissions:

jobs:
build:
if: contains(github.event.pull_request.labels.*.name, 'BE')
runs-on: ubuntu-22.04
permissions:
pull-requests: write

steps:
- uses: actions/checkout@v3
- name: 레포지토리 체크아웃
uses: actions/checkout@v3

- name: dev 전용 application.yml을 Secret에서 복사해옵니다.
run: echo "${{ secrets.APPLICATION_YML }}" | base64 --decode > ./src/main/resources/application.yml

- name: Set up JDK 17
- name: JDK 17을 설치합니다.
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'corretto'

- name: cache gradle
uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-

- name: chmod gradlew

- name: gradlew 권한을 부여합니다.
run: chmod +x gradlew

- name: Build with Gradle
- name: Gradle을 통해 빌드합니다.
run: ./gradlew build

- name: Run Coverage
run: ./gradlew test

- name: run jacocoTestCoverage
- name: jacocoTestCoverage를 실행하고 리포트를 출력합니다.
id: jacoco
uses: madrapps/[email protected]
with:
title: 📝 Jacoco Test Coverage
paths: ${{ github.workspace }}/**/build/reports/jacoco/test/jacocoTestReport.xml
token: ${{ secrets.GITHUB_TOKEN }}
min-coverage-overall: 85
min-coverage-changed-files: 85
min-coverage-overall: 80
min-coverage-changed-files: 80
update-comment: true
20 changes: 10 additions & 10 deletions backend/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ spring:
oauth2:
provider:
google:
client-id: { googleClientId }
client-secret: { googleClientSecret }
redirect-uri: { googleRedirectUri }
token-uri: https://oauth2.googleapis.com/token
user-info: https://www.googleapis.com/oauth2/v2/userinfo
client-id: ${ GOOGLE_CLIENT_ID }
client-secret: ${ GOOGLE_CLIENT_SECRET }
redirect-uri: ${ GOOGLE_REDIRECT_URI }
token-uri: ${ GOOGLE_TOKEN_URI }
user-info: ${ GOOGLE_USER_INFO }
kakao:
client-id: { kakaoClientId }
client-secret: { kakaoClientSecret }
redirect-uri: { kakaoRedirectUri }
token-uri: https://kauth.kakao.com/oauth/token
user-info: https://kapi.kakao.com/v2/user/me
client-id: ${ KAKAO_CLIENT_ID }
client-secret: ${ KAKAO_CLIENT_SECRET }
redirect-uri: ${ KAKAO_REDIRECT_URI }
token-uri: ${ KAKAO_TOKEN_URI }
user-info: ${ KAKAO_USER_INFO }

logging:
level:
Expand Down