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

CICD/ pull request develop to deploy #231

Open
wants to merge 475 commits into
base: deploy
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
475 commits
Select commit Hold shift + click to select a range
d2558d0
feat ArticleIntegratedTest
sjh101111 May 8, 2024
7ba27c6
Merge pull request #110 from Garodden/feat/articleIntegreatedTest
sjh101111 May 8, 2024
eac2b78
Test: Follow 단위테스트 완료
guzzang May 8, 2024
0e87c09
Fix: LoginInterceptor, LoginInterceptorUnitTest 수정
DuckOriDuck May 8, 2024
5398b2b
Feat: 중간커밋
lth01 May 9, 2024
6c2848e
Feat: WebSecurityConfig cors 정책 추가
DuckOriDuck May 9, 2024
f7c652a
Feat: 비밀번호 찾기 질문 조회 API 개발
lth01 May 9, 2024
fe9485c
Merge pull request #113 from Garodden/feature/api_passworquestion
lth01 May 9, 2024
3b0e7fd
Merge branch 'develop' into feature/front_user_api
lth01 May 9, 2024
4ddbee5
Feat: 유저 관련 API 명세 작업 완료
lth01 May 9, 2024
0c99c2f
Merge pull request #115 from Garodden/feature/front_user_api
lth01 May 9, 2024
2ccf8ea
feat 앨런 AI 요청응답 처리 로직
sjh101111 May 9, 2024
c513c11
Merge branch 'refs/heads/develop' into feat/resumeAllenAi
sjh101111 May 9, 2024
f767205
Merge pull request #117 from Garodden/feat/resumeAllenAi
sjh101111 May 9, 2024
ae33534
Fix/ 로그인, 메인페이지 ,회원가입 URL은 필터에 걸리지 않도록 수정
DuckOriDuck May 9, 2024
77c9720
Merge branch 'develop' into feature/#92_jwt_integration_test
DuckOriDuck May 9, 2024
a0dffe6
Merge pull request #119 from Garodden/feature/#92_jwt_integration_test
DuckOriDuck May 9, 2024
feead00
Feat: API 명세 작업 완료
lth01 May 9, 2024
11715a3
Merge pull request #121 from Garodden/feature/front_api
lth01 May 9, 2024
231ce33
test : follow 통합 테스트 진행
guzzang May 9, 2024
6ce044f
Merge remote-tracking branch 'origin/develop' into feature/follow_con…
guzzang May 9, 2024
19c9d19
resume 테스트 완료
cmleem May 9, 2024
82d0c7a
Merge pull request #122 from Garodden/feature/#111_resume
cmleem May 9, 2024
0bc3de1
feat Article 수정 시 이미지 로직 기능 변경
sjh101111 May 9, 2024
db89480
Merge pull request #124 from Garodden/feat/articleImageUpdate
sjh101111 May 9, 2024
905ceee
Fix/ login 로직 ㅛㅓ지ㅛㅡ, 컨트롤러에서 분리
DuckOriDuck May 9, 2024
f63d9c3
Fix/ DTO location fix
DuckOriDuck May 9, 2024
2ff3226
Fix/ DTO location fix
DuckOriDuck May 9, 2024
ddea247
Fix/ import fixed
DuckOriDuck May 9, 2024
573f3fe
itaehui 님이 변경한 내용
DuckOriDuck May 9, 2024
1933ef4
test : follow 단위 테스트 통합 테스트 완료
guzzang May 10, 2024
1721392
Feat: user API 테스트 페이지 개발
lth01 May 10, 2024
bc3f22f
Merge pull request #128 from Garodden/feature/front_user
lth01 May 10, 2024
91ea63b
Fix/ made login controller
DuckOriDuck May 10, 2024
4a2e88d
Fix/ merge
DuckOriDuck May 10, 2024
18318c9
Merge pull request #129 from Garodden/feature/_Login_test
DuckOriDuck May 10, 2024
4fd3221
Merge branch 'develop' into feature/follow_controller_service
guzzang May 10, 2024
52d546d
Merge pull request #126 from Garodden/feature/follow_controller_service
guzzang May 10, 2024
eb382ed
Update README.md
guzzang May 10, 2024
d5cfa67
Merge branch 'develop' into guzzang-patch-1
guzzang May 10, 2024
2732a0e
Merge pull request #131 from Garodden/guzzang-patch-1
guzzang May 10, 2024
96d3d78
Update README.md
guzzang May 10, 2024
e6ab77b
Merge pull request #132 from Garodden/guzzang-patch-2
guzzang May 10, 2024
435b026
Feat: User 프론트 백엔드 연동 작업
lth01 May 10, 2024
3e8db44
fea chat api 기능 구현
sjh101111 May 10, 2024
e4faddc
Update README.md
guzzang May 10, 2024
24c1b1c
Merge pull request #133 from Garodden/guzzang-patch-1
guzzang May 10, 2024
10a16e3
Merge pull request #134 from Garodden/feature/front_user
lth01 May 10, 2024
0d11d9c
Merge branch 'refs/heads/develop' into feat/chatApi
sjh101111 May 10, 2024
7c9bedd
fea chat api 기능 구현
sjh101111 May 10, 2024
fe90e6a
Merge pull request #135 from Garodden/feat/chatApi
sjh101111 May 10, 2024
a20e7a2
Update README.md
guzzang May 10, 2024
a209aa1
Merge pull request #136 from Garodden/guzzang-patch-1
guzzang May 10, 2024
89477b7
SwaggerConfig 설정
cmleem May 10, 2024
c2cc756
jwt 필터에서 swagger-ui 예외 처리
cmleem May 10, 2024
facb9f6
CommentApiController 통합 테스트 오류 수정
cmleem May 10, 2024
a3dc85e
Swagger UI 적용(Tag)
cmleem May 10, 2024
25e1aea
Comment, Resume Swagger UI 적용(Tag, Operation, Parameters, ApiResponse)
cmleem May 10, 2024
1bf6e12
Update README.md
guzzang May 10, 2024
bbec6a0
Merge pull request #138 from Garodden/guzzang-patch-1
guzzang May 10, 2024
53ec8b9
Merge pull request #137 from Garodden/feature/#125_swagger
cmleem May 10, 2024
ec2c855
fea chat api 기능 구현
sjh101111 May 10, 2024
56449af
Merge branch 'refs/heads/develop' into feat/Front
sjh101111 May 10, 2024
17e30e7
Feat: 로그인 테스트 및 수정 개발 진행
lth01 May 10, 2024
ba84a57
Merge pull request #139 from Garodden/feature/front_login_test
lth01 May 10, 2024
b505925
fea chat api 기능 구현
sjh101111 May 10, 2024
a5cc4a5
Merge branch 'refs/heads/develop' into feat/Front
sjh101111 May 10, 2024
c9f2a89
Update README.md
guzzang May 11, 2024
6124164
Merge pull request #140 from Garodden/guzzang-patch-1
guzzang May 11, 2024
316c5ba
Update README.md
guzzang May 11, 2024
b40ed3a
Merge pull request #141 from Garodden/guzzang-patch-1
guzzang May 11, 2024
3cb07a7
Update README.md
guzzang May 11, 2024
fe12951
Merge pull request #142 from Garodden/guzzang-patch-1
guzzang May 11, 2024
8bda8a6
Update README.md
guzzang May 12, 2024
d198b7f
Merge pull request #143 from Garodden/guzzang-patch-1
guzzang May 12, 2024
ad38fdf
Feat: User API 수정
lth01 May 12, 2024
03261c6
Merge pull request #145 from Garodden/hotfix/user
lth01 May 12, 2024
5311cea
feat front chat
sjh101111 May 12, 2024
475832c
Merge branch 'refs/heads/develop' into feat/Front
sjh101111 May 12, 2024
1955658
Feat: User API 수정
lth01 May 12, 2024
9cb4d83
Merge pull request #146 from Garodden/hotfix/user
lth01 May 12, 2024
93f49be
feat front chat
sjh101111 May 12, 2024
6baa702
Add: .gitignore API KEY를 담는 properties 파일 gitignore 설정
DuckOriDuck May 12, 2024
e5cd311
Feat: NaverNewsApiRequest, NaverNewsApiResponse, NaverNewsItemDto: 네이…
DuckOriDuck May 12, 2024
b63d389
Delete: application.yml 삭제
DuckOriDuck May 12, 2024
8102ea3
Feat: restTemlpate() 네이버 API에 요청 보내기 위한 restTemplate 메소드 빈 객체 등록
DuckOriDuck May 12, 2024
9e2a304
Feat: 임시적으로 naver API에 대한 요청은 JWT 인증 없이 사용가능하도록 설정
DuckOriDuck May 12, 2024
8e84ec7
Feat: NaverNewsApiService
DuckOriDuck May 12, 2024
35f7b10
Feat: NaverNewsController 클라이언트에게 요청을 받아 naver news를 NaverNewsService…
DuckOriDuck May 12, 2024
30816c5
Feat: 임시적으로 security에서 naver-news관련 요청 무시
DuckOriDuck May 12, 2024
59608ef
Fix: Setter 추가
DuckOriDuck May 12, 2024
5ddbe1c
Fix: fetchNewsFromNaverAPI에서 에러를 throw하도록 설정
DuckOriDuck May 12, 2024
5e0393e
Fix: NaverNewsService에서 throw한 에러를 처리하도록 설정
DuckOriDuck May 12, 2024
3fa5f7c
Feat: user page Front/Backend 연동 작업
lth01 May 13, 2024
d4929f2
Merge pull request #148 from Garodden/feature/front_userpage
lth01 May 13, 2024
99aa67c
Update README.md
guzzang May 13, 2024
e5a47b5
Merge pull request #149 from Garodden/guzzang-patch-1
guzzang May 13, 2024
ded2420
feat front chat
sjh101111 May 13, 2024
073ac43
feat front chat
sjh101111 May 13, 2024
6a1d96d
feat front chat연동
sjh101111 May 13, 2024
1e2bd25
Merge pull request #151 from Garodden/feat/Front
sjh101111 May 13, 2024
3e04f54
Fix: 프론트엔드단에서 query 파라미터를 보낼때 자동으로 utf-8 인코딩해서 보내줌 -> 백엔드단에서 인코딩 하지 않…
DuckOriDuck May 13, 2024
612d435
Feat: NewsPage.jsx -> 쿼리 파라미터 형식 수정한 대로 코드 수정
DuckOriDuck May 13, 2024
d2e0a01
Feat: API.js -> 네이버 뉴스 API에 보낼 리퀘스트 헤더 생성하고 get 요청
DuckOriDuck May 13, 2024
012d280
Update README.md
guzzang May 13, 2024
28491ff
Merge pull request #152 from Garodden/guzzang-patch-1
guzzang May 13, 2024
0e6cc38
feat resume 페이지 api 연동
sjh101111 May 13, 2024
d2d9844
Merge pull request #154 from Garodden/feat/#153-resumePageApi
sjh101111 May 13, 2024
f70113a
Merge pull request #155 from Garodden/feat/#153-resumePageApi
sjh101111 May 13, 2024
3e323cb
Revert "Feat/#153 resume page api"
sjh101111 May 13, 2024
f7955c7
Merge pull request #156 from Garodden/revert-154-feat/#153-resumePageApi
sjh101111 May 13, 2024
10aeb58
Feat: 아티클 front backend 연동 작업
lth01 May 13, 2024
15a56fc
Merge pull request #159 from Garodden/feature/front_article
lth01 May 13, 2024
d0d9b1b
Feat: 프론트엔드 구현
DuckOriDuck May 13, 2024
72d8846
Fix: 임시로 풀어뒀던 세큐리티 재설정
DuckOriDuck May 13, 2024
5929546
Merge branch 'develop' into feature/#147_naver_new_api
DuckOriDuck May 13, 2024
a86b3e2
Merge pull request #161 from Garodden/feature/#147_naver_new_api
DuckOriDuck May 13, 2024
de09705
Feat: 아티클 프론트 연동
lth01 May 14, 2024
6d611f1
Merge pull request #163 from Garodden/feature/front_article
lth01 May 14, 2024
5e23346
feat resume 페이지 api 연동
sjh101111 May 14, 2024
fdd847f
CloudFront Invalidation 추가
cmleem May 14, 2024
795269f
Merge branch 'refs/heads/develop' into feat/#157-commentApi-Front
sjh101111 May 14, 2024
2188b80
Merge pull request #166 from Garodden/165/github_workflow_FE
cmleem May 14, 2024
32c02d1
Merge pull request #167 from Garodden/feat/#157-commentApi-Front
sjh101111 May 14, 2024
797c3fb
Update README.md
guzzang May 14, 2024
df21c10
Merge pull request #169 from Garodden/guzzang-patch-1
guzzang May 14, 2024
59db7c3
feat resume 페이지 api 연동
sjh101111 May 14, 2024
d38c561
application.yml 생성 스크립트 추가
cmleem May 14, 2024
71ad604
Merge pull request #172 from Garodden/171/backendDeploy_modify
cmleem May 14, 2024
37480e0
Update backendDeploy.yml
cmleem May 14, 2024
004e1e4
Merge pull request #173 from Garodden/cmleem-patch-1
cmleem May 14, 2024
99aae9a
Fix: Userpage 경로 ㄱ수정
DuckOriDuck May 14, 2024
e77509d
Feat: Header FrontEnd 연동
lth01 May 14, 2024
aeb4c97
Fix: 백엔드 요청 형식 변경
DuckOriDuck May 14, 2024
e0cc609
Fix: 백엔드 정보 연동 완료
DuckOriDuck May 14, 2024
444095b
Merge branch 'develop' into feature/#162_userpage연동
DuckOriDuck May 14, 2024
46919ee
Merge pull request #174 from Garodden/feature/#162_userpage연동
DuckOriDuck May 14, 2024
3aa87f7
Merge pull request #175 from Garodden/feature/front_header
lth01 May 14, 2024
d10e916
feat resume 페이지 api 연동
sjh101111 May 14, 2024
58cefd4
Merge branch 'refs/heads/develop' into bugfix/#170-testCode
sjh101111 May 14, 2024
75054e3
Merge pull request #177 from Garodden/bugfix/#170-testCode
sjh101111 May 14, 2024
1a6d009
feat resume 페이지 api 연동
sjh101111 May 14, 2024
37f9682
Fixed: userNavigate problem
DuckOriDuck May 14, 2024
3405168
Merge pull request #178 from Garodden/hotfix/_userPage.jsx_error
DuckOriDuck May 14, 2024
f13533a
Feat: 뉴스 화면 css 수정
lth01 May 14, 2024
b2c4e0d
Merge pull request #181 from Garodden/feature/front_news
lth01 May 14, 2024
4546668
Update README.md
guzzang May 14, 2024
4a8c7df
Merge pull request #182 from Garodden/guzzang-patch-1
guzzang May 14, 2024
73fb242
Update README.md
guzzang May 14, 2024
b00c54f
Merge pull request #183 from Garodden/guzzang-patch-1
guzzang May 14, 2024
0bee699
Update README.md
guzzang May 14, 2024
bddd49a
Merge pull request #184 from Garodden/guzzang-patch-1
guzzang May 14, 2024
77cb167
feat myPage tab 정보가져오기 연동
sjh101111 May 15, 2024
e6fff3b
Merge branch 'refs/heads/develop' into feat/#168-mypage-articleAndResume
sjh101111 May 15, 2024
210c56f
Merge pull request #186 from Garodden/feat/#168-mypage-articleAndResume
sjh101111 May 15, 2024
f0f2df6
feat 페이지간 연결 작업 및 인증 과정 구현
sjh101111 May 15, 2024
6cdd776
Merge pull request #188 from Garodden/feat/#187-linkEachPageAtFront
sjh101111 May 15, 2024
94f7b77
Feat: 팔로우 API 수정 및 프론트 테스트 진행
lth01 May 15, 2024
f2b6e87
Update README.md
guzzang May 15, 2024
a83b4a6
Merge pull request #191 from Garodden/guzzang-patch-1
guzzang May 15, 2024
4c271b6
Merge pull request #192 from Garodden/feature/follow
lth01 May 15, 2024
8c4967b
feat mypage, userpage 기능 구현
sjh101111 May 15, 2024
686cca3
Update README.md
guzzang May 15, 2024
6d674d6
Merge pull request #193 from Garodden/guzzang-patch-1
guzzang May 15, 2024
edf55da
Merge branch 'refs/heads/develop' into feat/#189-userpage
sjh101111 May 15, 2024
5de653a
Merge pull request #194 from Garodden/feat/#189-userpage
sjh101111 May 15, 2024
63e2fd2
Update backendDeploy.yml
DuckOriDuck May 15, 2024
73863dd
Merge pull request #195 from Garodden/CICD-patch-1
DuckOriDuck May 15, 2024
caf497b
feat mypage, userpage 기능 구현
sjh101111 May 15, 2024
ba093de
Merge pull request #198 from Garodden/bugfix/#197-getFollowsOfUserAnd…
sjh101111 May 15, 2024
be42e7e
feat mypage, userpage 기능 구현
sjh101111 May 15, 2024
a38e7b7
Merge branch 'refs/heads/develop' into feat/#196-searchApiAndFront
sjh101111 May 15, 2024
7013255
Update README.md
guzzang May 15, 2024
2f18a3b
Merge pull request #199 from Garodden/guzzang-patch-1
guzzang May 15, 2024
a310ff7
Update README.md
guzzang May 15, 2024
c160358
Merge pull request #200 from Garodden/guzzang-patch-1
guzzang May 15, 2024
8bc53e3
Add: deploy application properties
DuckOriDuck May 15, 2024
b5f00ac
Feat: comment, follow/follower 유저 이미지로드하도록 수정
lth01 May 15, 2024
b3a2f7e
Merge pull request #201 from Garodden/feature/deploy_application_prop…
DuckOriDuck May 15, 2024
90cd975
Merge remote-tracking branch 'main/release' into develop
DuckOriDuck May 15, 2024
b255cbb
feat Header검색기능 구현
sjh101111 May 15, 2024
f439069
Revert "Merge remote-tracking branch 'main/release' into develop"
DuckOriDuck May 15, 2024
6e87e27
Merge branch 'refs/heads/develop' into feat/#196-searchApiAndFront
sjh101111 May 15, 2024
054285f
Merge pull request #207 from Garodden/feat/#196-searchApiAndFront
sjh101111 May 15, 2024
fa90cbf
Add: deploy application properties
DuckOriDuck May 15, 2024
a1ebc1a
Merge pull request #209 from Garodden/HotFix/server_port_fix
DuckOriDuck May 15, 2024
2b8afa2
Merge branch 'develop' into feature/follow
lth01 May 15, 2024
27cb962
Merge pull request #203 from Garodden/feature/follow
lth01 May 15, 2024
89f2a44
delete
DuckOriDuck May 15, 2024
5419c5e
fix: exclude application-API-KEY.properties from gitignore
DuckOriDuck May 15, 2024
9b7948d
Feat: 헤더 검색 로직 수정
lth01 May 15, 2024
231d35c
feat: add property files for deployment
DuckOriDuck May 15, 2024
a6e16b2
Merge pull request #215 from Garodden/fix/_applicationproperties_delete
DuckOriDuck May 15, 2024
2f24fa9
Feat: 불필요 console.log 삭제
lth01 May 15, 2024
2bc2cfa
Merge pull request #216 from Garodden/feature/header
lth01 May 15, 2024
ae3e926
Feat: hotfix 컴파일 에러
lth01 May 15, 2024
ef8cca3
Merge pull request #226 from Garodden/hotfix/compileerror
lth01 May 15, 2024
1d8021a
Update README.md
sjh101111 May 15, 2024
5dbd91c
Merge pull request #229 from Garodden/sjh101111-patch-1
sjh101111 May 15, 2024
ea58089
feat/ Update README.md-기능명세 업데이트
sjh101111 May 15, 2024
149d02d
Merge pull request #230 from Garodden/sjh101111-patch-2
sjh101111 May 15, 2024
00f91be
Update README.md
guzzang May 15, 2024
af41c8e
Merge pull request #233 from Garodden/guzzang-patch-2
guzzang May 15, 2024
79cee39
feat/README 초안 완성
sjh101111 May 15, 2024
74090d6
Merge pull request #234 from Garodden/sjh101111-patch-3
sjh101111 May 15, 2024
f54b1b4
comment dto 리팩토링
cmleem May 16, 2024
6548e28
Merge pull request #235 from Garodden/171/backendDeploy_modify
cmleem May 16, 2024
5134016
comment dto 리팩토링
cmleem May 16, 2024
bbfb723
Merge pull request #236 from Garodden/171/backendDeploy_modify
cmleem May 16, 2024
b4e9eb0
Update README.md
guzzang May 16, 2024
f08f3e3
Merge pull request #237 from Garodden/guzzang-patch-2
guzzang May 16, 2024
9d33ae3
Update README.md
guzzang May 16, 2024
55fa105
Merge pull request #238 from Garodden/guzzang-patch-2
guzzang May 16, 2024
afb860b
Update README.md
guzzang May 16, 2024
55c49b2
Merge pull request #239 from Garodden/guzzang-patch-2
guzzang May 16, 2024
9190500
feat/readme 이름 추가
sjh101111 May 16, 2024
2cc0a84
Merge pull request #240 from Garodden/sjh101111-patch-4
sjh101111 May 16, 2024
71bd18b
Feat: 깃 배포 위한 수정
lth01 May 16, 2024
53abf97
Merge pull request #241 from Garodden/feature/CICD
lth01 May 16, 2024
71d7ea8
Update backendDeploy.yml
lth01 May 16, 2024
5a7c536
Merge pull request #242 from Garodden/lth01-patch-3
lth01 May 16, 2024
7be737b
Update frontDeploy.yml
lth01 May 16, 2024
824253d
Merge pull request #243 from Garodden/lth01-patch-4
lth01 May 16, 2024
d7ac9f6
Update frontDeploy.yml
lth01 May 16, 2024
3e2e0c2
Merge pull request #244 from Garodden/lth01-patch-6
lth01 May 16, 2024
4e6e5d2
Feat: ssl 인증서 파일 추가
lth01 May 16, 2024
77b6d7f
Merge pull request #245 from Garodden/feature/CICD
DuckOriDuck May 16, 2024
dd51375
feat/Update README.md-시연 영상 추가(주요 기능 위주)
sjh101111 May 16, 2024
13778e0
Merge pull request #246 from Garodden/sjh101111-patch-5
sjh101111 May 16, 2024
20e3924
Feat: 경로 설정 변경
lth01 May 16, 2024
5ace946
Merge pull request #247 from Garodden/feature/CICD
DuckOriDuck May 16, 2024
a3bc974
Feat: 경로 수정
lth01 May 16, 2024
3b1b8ff
Merge pull request #248 from Garodden/feature/CICD
DuckOriDuck May 16, 2024
0d9c19e
Feat: p12파일 비밀번호 재설정
lth01 May 16, 2024
ebe923b
Merge pull request #249 from Garodden/feature/CICD
DuckOriDuck May 16, 2024
a45d78c
Update backendDeploy.yml
DuckOriDuck May 16, 2024
f0e0d55
Merge pull request #250 from Garodden/Garodden-patch-1
DuckOriDuck May 16, 2024
8f39d1a
Update backendDeploy.yml
DuckOriDuck May 16, 2024
290853a
Merge pull request #251 from Garodden/Garodden-patch-2
DuckOriDuck May 16, 2024
e439a49
Update backendDeploy.yml
DuckOriDuck May 16, 2024
82c8f03
Merge pull request #252 from Garodden/Garodden-patch-3
DuckOriDuck May 16, 2024
63ebef7
Update backendDeploy.yml
DuckOriDuck May 16, 2024
b86f29a
Merge pull request #253 from Garodden/Garodden-patch-4
DuckOriDuck May 16, 2024
60ffa64
Update backendDeploy.yml
DuckOriDuck May 16, 2024
974dc1c
Merge pull request #254 from Garodden/Garodden-patch-5
DuckOriDuck May 16, 2024
933afed
Feat: 라스트 설정
lth01 May 16, 2024
d12d8ba
Merge pull request #255 from Garodden/feature/last
DuckOriDuck May 16, 2024
af54cec
WebSecurityConfig 오타수정
lth01 May 16, 2024
95d723d
Merge pull request #256 from Garodden/feature/last
DuckOriDuck May 16, 2024
366d950
Update README.md
DuckOriDuck Jun 5, 2024
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
130 changes: 130 additions & 0 deletions .github/workflows/backendDeploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
name: github-action-workflow

on:
push:
branches: [ "develop" ]

env:
S3_BUCKET_NAME: thlee-content
AWS_REGION: ap-northeast-2
CODEDEPLOY_NAME: github-actions
CODEDEPLOY_GROUP: thlee-github-actions-group

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Github checkout
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'

- name: Change application.yml to deploy version
run: |
cd ./src/main/resources
mv ./application-deploy.yml ./application.yml
cat application.yml

- name: Make application-secret.yml
env:
JWT_TOKEN_SECRET: ${{ secrets.JWT_TOKEN_SECRET }}
MYSQL_URL: ${{secrets.AWS_RDS_URL}}
MYSQL_USERNAME: ${{secrets.AWS_RDS_USERNAME}}
MYSQL_PASSWORD: ${{secrets.AWS_RDS_PASSWORD}}
NAVER_CLIENT: ${{secrets.NAVER_CLIENT}}
NAVER_KEY: ${{secrets.NAVER_KEY}}
P12_KEY_PASSWORD: ${{secrets.P12_KEY_PASSWORD}}
run: |
cd ./src/main/resources
echo -e \
"
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: $MYSQL_URL
username: $MYSQL_USERNAME
password: $MYSQL_PASSWORD
jpa:
properties:
hibernate:
show_sql: true
format_sql: true
dialect: org.hibernate.dialect.MySQL8Dialect
hibernate:
ddl-auto: none
servlet:
multipart:
enabled: true
max-file-size: 10MB
max-request-size: 10MB
profiles:
include: API-KEY
jwt:
secret: $JWT_TOKEN_SECRET

naver-client: $NAVER_CLIENT
naver-key: $NAVER_KEY

server:
port: 443
ssl:
key-store: file:/home/ec2-user/action/src/main/resources/keystore.p12
key-store-type: PKCS12
key-store-password: $P12_KEY_PASSWORD
" > application-security.yml



- name: Make application-temp.properties
env:
NAVER_CLIENT: ${{secrets.NAVER_CLIENT}}
NAVER_KEY: ${{secrets.NAVER_KEY}}
run: |
cd ./src/main/resources
echo -e \
"
naver-client=$NAVER_CLIENT
naver-key=$NAVER_KEY
" > application-temp.properties

- name: Change application-temp.properties to deploy version
run: |
cd ./src/main/resources
mv ./application-temp.properties ./application-API-KEY.properties
cat application-API-KEY.properties

- name: Change application-security.yml to deploy version
run: |
cd ./src/main/resources
mv ./application-security.yml ./application.yml
cat application.yml

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

- name: Setup Gradle
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0

- name: Build with Gradle Wrapper
run: ./gradlew -x test build

- name: Make zip file
run: zip -r ./$GITHUB_SHA.zip .
shell: bash

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ env.AWS_REGION }}

- name: Upload to S3
run: aws s3 cp --region ap-northeast-2 ./$GITHUB_SHA.zip s3://thlee-content/$GITHUB_SHA.zip

- name: Code Deploy
run: aws deploy create-deployment --application-name $CODEDEPLOY_NAME --deployment-config-name CodeDeployDefault.AllAtOnce --deployment-group-name $CODEDEPLOY_GROUP --s3-location bucket=$S3_BUCKET_NAME,bundleType=zip,key=$GITHUB_SHA.zip
55 changes: 55 additions & 0 deletions .github/workflows/frontDeploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Front Auto Deploy after push

on:
push:
branches:
- develop
env:
S3_BUCKET_NAME: thlee-content
AWS_REGION: ap-northeast-2
WORKING-DIRECTORY: ./src/front

jobs:
deploy:
name: Build, Deploy to S3 bucket
runs-on: [ubuntu-latest]

strategy:
matrix:
node-version: [20.11.x]

steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Npm install
run: npm install
working-directory: ${{ env.WORKING-DIRECTORY }}

- name: Build
run: npm run build
working-directory: ${{ env.WORKING-DIRECTORY }}

- name: Transfer to S3 for serving static
uses: jakejarvis/s3-sync-action@master
with:
args: --acl public-read --follow-symlinks --delete
env:
AWS_S3_BUCKET: ${{ env.S3_BUCKET_NAME }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: ${{ env.AWS_REGION }}
SOURCE_DIR: "./src/front/dist"

- name: Invalidate CloudFront
uses: chetan/invalidate-cloudfront-action@master
env:
PATHS: '/*'
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: 'ap-northeast-2'
DISTRIBUTION: ${{ secrets.AWS_CLOUDFRONT_ID }}
52 changes: 52 additions & 0 deletions .github/workflows/testBeforePR.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@







name: Test Before PR

on:
pull_request:
branches: [ master, develop, "feature/**" ] # master branch에 PR을 보낼 때 실행

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'temurin'

# Gradle wrapper 파일 실행 권한주기
- name: Grant execute permission for gradlew
run: chmod +x gradlew

# Gradle test를 실행한다
- name: Test with Gradle
run: ./gradlew --info test

- name: Compress all report files
if: ${{ failure() }}
run: |
echo "Compressing all report files..."
TIMESTAMP=$(date +%Y%m%d_%H%M%S)
mkdir report_files
REPORT_DIRS=$(find . -type d -path '*/build/reports/tests/test')
for dir in $REPORT_DIRS; do
module_path=$(echo $dir | awk -F'/build/' '{print $1}' | cut -c 3-)
cp -r $dir report_files/$module_path/$(basename $(dirname $dir))
done
tar czvf report_files_$TIMESTAMP.tar.gz report_files

- name: Upload Error Report Files To Artifacts
if: ${{ failure() }}
uses: actions/upload-artifact@v4
with:
name: report_files
path: report_files_*.tar.gz
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ bin/
!**/src/test/**/bin/

### IntelliJ IDEA ###
application.yml

.idea
*.iws
*.iml
Expand All @@ -29,6 +31,7 @@ out/
!**/src/main/**/out/
!**/src/test/**/out/


### NetBeans ###
/nbproject/private/
/nbbuild/
Expand Down
Loading
Loading