Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
작업 개요
CI
이 캐싱은 gradle setup에 대한 것으로 기존의
gradle/actions/setup-gradle
액션과 같은 기능을 합니다.build로 나온 jar파일을 추후 CD에서 사용하기 위해 캐싱하는 액션입니다.
CD
CI에서 캐싱된 jar파일을 restore하는 액션입니다.
docker build시에도 image layers 캐싱을 적용합니다.
.P.S github actions의 캐시사이즈는 10GB라고합니다.
.P.S github actions의 캐시는 7일 동안 접근되지 않으면 자동 삭제된다고 합니다.
전달 사항
Build: #BBB-142 CI/CD 수정 #60
Build: #BBB-142 CI/CD 수정 #63
Build: #BBB-142 CD 수정 #64
Build: #BBB-142 CD 캐싱 적용 완료 #65
참고 자료
[how to reuse gradle cache in GitHub workflow]
[Github Action에서 Docker Image Layers 캐싱하기]
[How to use Docker layer caching in GitHub Actions]