-
Notifications
You must be signed in to change notification settings - Fork 0
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
[chore] : JDK version migration 11 to 17 #372
Conversation
var current = Instant.now(); | ||
var formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss.SSSSSSX") | ||
.withZone(ZoneId.of("UTC")); | ||
this.instant = Instant.parse(formatter.format(current)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
변경이유
DB에서 TIMESTAMP(6) 로 저장하고있는데, Instant.now() 가 9-digit 날짜를 생성해서 DB데이터에 들어갔다가 나온 데이터 <-> 검증데이터
간의 테스트가 깨지는 이슈가 있었고, RequestTimeUtil이 6-digit 시간을 반환하도록 수정했습니다.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DB쪽 timestamp precision 올리는 건 어렵나?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
될거같은데, 한번 flyway랑 @Entity
쪽 수정해서 CI 돌려보겠슴니다
- name: Cache Gradle packages | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.gradle/caches | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | ||
restore-keys: ${{ runner.os }}-gradle |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
setup-java에서 gradle cache 있었던 거 같은데 다른가 이거랑?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이게 다른 .yml에서 한번이상 cache하면 재사용되는데, 우리처럼 시간 오래지나서 cache한게 없으면 실패되더라고
이거 ciaks 독립적으로 재사용하려면 넣어줘야할거같아
var current = Instant.now(); | ||
var formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss.SSSSSSX") | ||
.withZone(ZoneId.of("UTC")); | ||
this.instant = Instant.parse(formatter.format(current)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DB쪽 timestamp precision 올리는 건 어렵나?
e86852e
to
0f24a91
Compare
Quality Gate passedIssues Measures |
어떤 기능을 개발했나요?
JDK version을 11 에서 17로 올렸습니다.
어떻게 해결했나요?
jre-slim-11
을jdk-slim-17
로 변경이슈 넘버
참고자료