From 960f763ec3e530d32982e05a882a67ea402e06a8 Mon Sep 17 00:00:00 2001 From: WhitePiano Date: Sun, 21 Jan 2024 14:09:05 +0900 Subject: [PATCH 01/19] =?UTF-8?q?conf(CODEOWNERS):=20=EC=BD=94=EB=93=9C?= =?UTF-8?q?=EC=98=A4=EB=84=88=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/CODEOWNERS | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..3e2e32c --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @goldentrash @zbqmgldjfh From a819c0eebb235bb60709d347e5668bda46babdff Mon Sep 17 00:00:00 2001 From: WhitePiano Date: Sun, 21 Jan 2024 14:09:27 +0900 Subject: [PATCH 02/19] =?UTF-8?q?conf(PULL=5FREQUEST=5FTEMPLATE):=20PR=20?= =?UTF-8?q?=ED=83=AC=ED=94=8C=EB=A6=BF=20=EB=93=B1=EB=A1=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/PULL_REQUEST_TEMPLATE.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..684aa6f --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,21 @@ +# 개요 + +~~ 기능 구현 (close #00) + +## Todo + +- [ ] ~~ 테스트 작성 +- [ ] ~~ 모듈 구현 + +## 논의가 필요한 사항 + +~~ 모듈 구현 간에 ~~ 보다 더 좋은 방법이 있을까요? + +--- + +### 등록 전 확인 + +- [ ] 모든 test가 pass했나요? +- [ ] 모든 code가 well-formatted인가요? +- [ ] commit message는 직관적이었을까요? +- [ ] 삭제해야 할, 주석처리 된 코드는 없을까요? From 2b5f0d4e8d6bd6985cdd208ee43bc2b8031205e2 Mon Sep 17 00:00:00 2001 From: WhitePiano Date: Sun, 21 Jan 2024 14:09:51 +0900 Subject: [PATCH 03/19] =?UTF-8?q?conf(ISSUE=5FTEMPLATE):=20ISSUE=20?= =?UTF-8?q?=ED=83=AC=ED=94=8C=EB=A6=BF=20=EB=93=B1=EB=A1=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/ISSUE_TEMPLATE/1-FEAT.md | 17 +++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 1 + 2 files changed, 18 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/1-FEAT.md create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/ISSUE_TEMPLATE/1-FEAT.md b/.github/ISSUE_TEMPLATE/1-FEAT.md new file mode 100644 index 0000000..7cdb8b0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/1-FEAT.md @@ -0,0 +1,17 @@ +--- +name: Feature Request +description: 새로운 기능 구현 +title: "[Feat]: ~~" +labels: "🚀 기능 구현 🚀" +assignees: '' + +--- + +# 개요 + +~~ 기능 구현 + +## Todo + +- [ ] ~~ 기능 +- [ ] ~~ 기능 diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..3ba13e0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: false From b4dd47ad59a1c628f828381c631f90e6d3286773 Mon Sep 17 00:00:00 2001 From: WhitePiano Date: Sun, 21 Jan 2024 14:45:32 +0900 Subject: [PATCH 04/19] =?UTF-8?q?conf(Continuous=20Intergration.yml):=20IS?= =?UTF-8?q?SUE=20=ED=83=AC=ED=94=8C=EB=A6=BF=20=EB=93=B1=EB=A1=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/Continuous Integration.yml | 30 ++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/Continuous Integration.yml diff --git a/.github/workflows/Continuous Integration.yml b/.github/workflows/Continuous Integration.yml new file mode 100644 index 0000000..d4f19eb --- /dev/null +++ b/.github/workflows/Continuous Integration.yml @@ -0,0 +1,30 @@ +name: Continuous Integration + +on: + pull_request: + branches: + - 'develop' + +jobs: + Test: + runs-on: ubuntu-22.04 + + steps: + - name: Set up sources + uses: actions/checkout@v4 + + - name: Set up JDK 17 + uses: actions/setup-java@v4 + with: + java-version: 17 + distribution: oracle + cache: gradle + + - name: Setup Gradle + uses: gradle/gradle-build-action@v2 + + - name: Execute Gradle build + run: ./gradlew build + + - name: Test + run: ./gradlew test From 438511ed0361773e3169745881d69d5e881a9c07 Mon Sep 17 00:00:00 2001 From: WhitePiano Date: Sun, 21 Jan 2024 18:00:12 +0900 Subject: [PATCH 05/19] =?UTF-8?q?fix:=20gradle=20build=EA=B0=80=20?= =?UTF-8?q?=EB=8F=99=EC=9E=91=ED=95=98=EB=8F=84=EB=A1=9D=20`=EC=9E=84?= =?UTF-8?q?=EC=8B=9C`=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle.kts | 8 ++++---- .../kotlin/gdsc/plantory/common/config/FirebaseConfig.kt | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 7afc595..32c9afd 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -53,10 +53,10 @@ dependencies { testImplementation("org.testcontainers:mysql:1.17.6") testImplementation("io.rest-assured:rest-assured") - // QueryDsl - implementation("com.querydsl:querydsl-jpa:5.0.0") - kapt("com.querydsl:querydsl-apt:5.0.0:jpa") - kapt("org.springframework.boot:spring-boot-configuration-processor") +// // QueryDsl +// implementation("com.querydsl:querydsl-jpa:5.0.0") +// kapt("com.querydsl:querydsl-apt:5.0.0:jpa") +// kapt("org.springframework.boot:spring-boot-configuration-processor") // firebase implementation("com.google.firebase:firebase-admin:9.2.0") diff --git a/src/main/kotlin/gdsc/plantory/common/config/FirebaseConfig.kt b/src/main/kotlin/gdsc/plantory/common/config/FirebaseConfig.kt index 961e67f..d0e7ff6 100644 --- a/src/main/kotlin/gdsc/plantory/common/config/FirebaseConfig.kt +++ b/src/main/kotlin/gdsc/plantory/common/config/FirebaseConfig.kt @@ -10,7 +10,7 @@ import org.springframework.context.annotation.Configuration import org.springframework.core.io.ClassPathResource import java.util.Optional -@Configuration +// @Configuration class FirebaseConfig( @Value("\${fcm.key.path}") private val fcmPrivateKeyPath: String, From 28c73de82686d1bee5beb103ebddac8d36ac7b22 Mon Sep 17 00:00:00 2001 From: WhitePiano Date: Sun, 21 Jan 2024 20:48:59 +0900 Subject: [PATCH 06/19] =?UTF-8?q?fix:=20gradle=20build=EA=B0=80=20?= =?UTF-8?q?=EC=84=B1=EA=B3=B5=ED=95=98=EB=8F=84=EB=A1=9D=20=EA=B6=8C?= =?UTF-8?q?=ED=95=9C=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/Continuous Integration.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Continuous Integration.yml b/.github/workflows/Continuous Integration.yml index d4f19eb..dfd045c 100644 --- a/.github/workflows/Continuous Integration.yml +++ b/.github/workflows/Continuous Integration.yml @@ -20,11 +20,11 @@ jobs: distribution: oracle cache: gradle + - name: Set execute permission + run: chmod +x ./gradlew + - name: Setup Gradle uses: gradle/gradle-build-action@v2 - name: Execute Gradle build run: ./gradlew build - - - name: Test - run: ./gradlew test From 146ae72043c84a8ab5293e6cdbf867c505bbaf39 Mon Sep 17 00:00:00 2001 From: WhitePiano Date: Sun, 21 Jan 2024 21:25:04 +0900 Subject: [PATCH 07/19] =?UTF-8?q?fix:=20CI=20=EA=B3=BC=EC=A0=95=EC=97=90?= =?UTF-8?q?=EC=84=9C=20submodule=EC=9D=84=20=EA=B0=80=EC=A0=B8=EC=98=A4?= =?UTF-8?q?=EB=8F=84=EB=A1=9D=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/Continuous Integration.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Continuous Integration.yml b/.github/workflows/Continuous Integration.yml index dfd045c..e9ce6bf 100644 --- a/.github/workflows/Continuous Integration.yml +++ b/.github/workflows/Continuous Integration.yml @@ -12,6 +12,8 @@ jobs: steps: - name: Set up sources uses: actions/checkout@v4 + with: + submodules: true - name: Set up JDK 17 uses: actions/setup-java@v4 @@ -20,9 +22,6 @@ jobs: distribution: oracle cache: gradle - - name: Set execute permission - run: chmod +x ./gradlew - - name: Setup Gradle uses: gradle/gradle-build-action@v2 From 4b1ab994476f073c0f3be76e539b47f2e8b498f0 Mon Sep 17 00:00:00 2001 From: WhitePiano Date: Mon, 22 Jan 2024 12:24:36 +0900 Subject: [PATCH 08/19] =?UTF-8?q?fix:=20CI=20=EA=B3=BC=EC=A0=95=EC=97=90?= =?UTF-8?q?=20PAT=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/Continuous Integration.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/Continuous Integration.yml b/.github/workflows/Continuous Integration.yml index e9ce6bf..09b2985 100644 --- a/.github/workflows/Continuous Integration.yml +++ b/.github/workflows/Continuous Integration.yml @@ -13,6 +13,7 @@ jobs: - name: Set up sources uses: actions/checkout@v4 with: + token: ${{ secrets.GH_TOKEN }} submodules: true - name: Set up JDK 17 From e7fa427797d2d8226f1cd7690df305270bc58cd3 Mon Sep 17 00:00:00 2001 From: WhitePiano Date: Mon, 22 Jan 2024 13:27:37 +0900 Subject: [PATCH 09/19] =?UTF-8?q?fix:=20CI=20=EA=B3=BC=EC=A0=95=EC=97=90?= =?UTF-8?q?=20DB=20ENV=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/Continuous Integration.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/Continuous Integration.yml b/.github/workflows/Continuous Integration.yml index 09b2985..451c31b 100644 --- a/.github/workflows/Continuous Integration.yml +++ b/.github/workflows/Continuous Integration.yml @@ -9,6 +9,11 @@ jobs: Test: runs-on: ubuntu-22.04 + env: + DB_URL: ${{ secrets.DB_URL }} + DB_USER: ${{ secrets.DB_USR }} + DB_PASSWORD: ${{ secrets.DB_PWD }} + steps: - name: Set up sources uses: actions/checkout@v4 From 2b3ed8951cfa5eb336b5c7b7afc97255feb6021e Mon Sep 17 00:00:00 2001 From: WhitePiano Date: Mon, 22 Jan 2024 17:39:11 +0900 Subject: [PATCH 10/19] =?UTF-8?q?fix:=20jpa=20driver=20=EB=AA=85=EC=8B=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 7e29226..bd9789f 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -5,6 +5,7 @@ spring: properties: hibernate: format_sql: true + dialect: org.hibernate.dialect.MySQL8Dialect defer-datasource-initialization: false show-sql: false open-in-view: false @@ -12,6 +13,7 @@ spring: password: ${DB_PASSWORD} username: ${DB_USER} url: ${DB_URL} + driver-class-name: com.mysql.cj.jdbc.Driver local: image: From 795fec39236cea04c13e058709c94d7828d5add9 Mon Sep 17 00:00:00 2001 From: WhitePiano Date: Mon, 22 Jan 2024 18:53:50 +0900 Subject: [PATCH 11/19] =?UTF-8?q?fix:=20jpa=20db=20=EB=AA=85=EC=8B=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index bd9789f..c391faa 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1,11 +1,12 @@ spring: jpa: + database: mysql + database-platform: org.hibernate.dialect.MySQL8Dialect hibernate: ddl-auto: create properties: hibernate: format_sql: true - dialect: org.hibernate.dialect.MySQL8Dialect defer-datasource-initialization: false show-sql: false open-in-view: false From aa3712c92da796798b1ba84c36a30ff3fa76e4ef Mon Sep 17 00:00:00 2001 From: WhitePiano Date: Mon, 22 Jan 2024 21:26:00 +0900 Subject: [PATCH 12/19] =?UTF-8?q?fix:=20application=20properties=20?= =?UTF-8?q?=ED=86=B5=EC=9D=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.yml | 6 +++--- src/main/resources/config | 2 +- src/test/resources/application.yml | 18 +++++++++--------- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index c391faa..4dfb374 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1,7 +1,7 @@ spring: jpa: database: mysql - database-platform: org.hibernate.dialect.MySQL8Dialect + database-platform: org.hibernate.dialect.MySQLDialect hibernate: ddl-auto: create properties: @@ -11,9 +11,9 @@ spring: show-sql: false open-in-view: false datasource: - password: ${DB_PASSWORD} - username: ${DB_USER} url: ${DB_URL} + username: ${DB_USER} + password: ${DB_PASSWORD} driver-class-name: com.mysql.cj.jdbc.Driver local: diff --git a/src/main/resources/config b/src/main/resources/config index dff9592..7897edf 160000 --- a/src/main/resources/config +++ b/src/main/resources/config @@ -1 +1 @@ -Subproject commit dff95924a7a7500eb56c05ee9959434d6cde9726 +Subproject commit 7897edf6aa6e3a328799b060bb61f744967da5fa diff --git a/src/test/resources/application.yml b/src/test/resources/application.yml index b851355..63c6397 100644 --- a/src/test/resources/application.yml +++ b/src/test/resources/application.yml @@ -1,19 +1,19 @@ spring: - datasource: - url: jdbc:tc:mysql:8:///plantory?TC_REUSABLE=true - username: plantory - password: plantory1234 - driver-class-name: org.testcontainers.jdbc.ContainerDatabaseDriver - p6spy: - enable-logging: true jpa: + database: mysql + database-platform: org.hibernate.dialect.MySQLDialect hibernate: ddl-auto: create - open-in-view: false - show-sql: true properties: hibernate: format_sql: true + show-sql: true + open-in-view: false + datasource: + url: jdbc:tc:mysql:8:///plantory?TC_REUSABLE=true + username: plantory + password: plantory1234 + driver-class-name: org.testcontainers.jdbc.ContainerDatabaseDriver local: image: From aeb50d0759e7f0e09396532c3ca86ab2dd4a20a4 Mon Sep 17 00:00:00 2001 From: WhitePiano Date: Mon, 22 Jan 2024 21:30:53 +0900 Subject: [PATCH 13/19] =?UTF-8?q?fix:=20firebaseconfig=20=EC=9E=AC?= =?UTF-8?q?=ED=99=9C=EC=84=B1=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/kotlin/gdsc/plantory/common/config/FirebaseConfig.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/gdsc/plantory/common/config/FirebaseConfig.kt b/src/main/kotlin/gdsc/plantory/common/config/FirebaseConfig.kt index d0e7ff6..961e67f 100644 --- a/src/main/kotlin/gdsc/plantory/common/config/FirebaseConfig.kt +++ b/src/main/kotlin/gdsc/plantory/common/config/FirebaseConfig.kt @@ -10,7 +10,7 @@ import org.springframework.context.annotation.Configuration import org.springframework.core.io.ClassPathResource import java.util.Optional -// @Configuration +@Configuration class FirebaseConfig( @Value("\${fcm.key.path}") private val fcmPrivateKeyPath: String, From d667807b4cfffb9120f342b6d55ad9a0a94f93ea Mon Sep 17 00:00:00 2001 From: WhitePiano Date: Mon, 22 Jan 2024 21:35:07 +0900 Subject: [PATCH 14/19] fix: update submodule --- src/main/resources/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/config b/src/main/resources/config index 7897edf..dff9592 160000 --- a/src/main/resources/config +++ b/src/main/resources/config @@ -1 +1 @@ -Subproject commit 7897edf6aa6e3a328799b060bb61f744967da5fa +Subproject commit dff95924a7a7500eb56c05ee9959434d6cde9726 From a5e1b6b1e401884f00105228202f587a8cba6ac5 Mon Sep 17 00:00:00 2001 From: WhitePiano Date: Mon, 22 Jan 2024 21:44:13 +0900 Subject: [PATCH 15/19] =?UTF-8?q?fix:=20kapt=20=EB=B0=8F=20boot=20?= =?UTF-8?q?=EB=B2=84=EC=A0=84=20=EB=A7=9E=EC=B6=B0=EC=A3=BC=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle.kts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 32c9afd..75ca3ad 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,7 +3,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { id("org.springframework.boot") version "3.2.1" id("io.spring.dependency-management") version "1.1.4" - kotlin("kapt") version "1.9.21" + kotlin("kapt") version "1.9.20" kotlin("jvm") version "1.9.21" kotlin("plugin.spring") version "1.9.21" kotlin("plugin.jpa") version "1.9.21" @@ -21,9 +21,9 @@ allOpen { } noArg { - annotation("javax.persistence.Entity") - annotation("javax.persistence.MappedSuperclass") - annotation("javax.persistence.Embeddable") + annotation("jakarta.persistence.Entity") + annotation("jakarta.persistence.MappedSuperclass") + annotation("jakarta.persistence.Embeddable") } java { @@ -53,10 +53,10 @@ dependencies { testImplementation("org.testcontainers:mysql:1.17.6") testImplementation("io.rest-assured:rest-assured") -// // QueryDsl -// implementation("com.querydsl:querydsl-jpa:5.0.0") -// kapt("com.querydsl:querydsl-apt:5.0.0:jpa") -// kapt("org.springframework.boot:spring-boot-configuration-processor") + // QueryDsl + implementation("com.querydsl:querydsl-jpa:5.0.0") + kapt("com.querydsl:querydsl-apt:5.0.0:jakarta") + kapt("org.springframework.boot:spring-boot-configuration-processor") // firebase implementation("com.google.firebase:firebase-admin:9.2.0") From 2ba16944a4ca8439967f3c91d34eea1585b29aed Mon Sep 17 00:00:00 2001 From: WhitePiano Date: Tue, 23 Jan 2024 15:27:55 +0900 Subject: [PATCH 16/19] =?UTF-8?q?fix:=20github=20action=20jvm=20distributi?= =?UTF-8?q?on=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/Continuous Integration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Continuous Integration.yml b/.github/workflows/Continuous Integration.yml index 451c31b..2fb5605 100644 --- a/.github/workflows/Continuous Integration.yml +++ b/.github/workflows/Continuous Integration.yml @@ -25,7 +25,7 @@ jobs: uses: actions/setup-java@v4 with: java-version: 17 - distribution: oracle + distribution: corretto cache: gradle - name: Setup Gradle From d8ebce2d852f389f5197061237750e1c68106ff1 Mon Sep 17 00:00:00 2001 From: WhitePiano Date: Tue, 23 Jan 2024 16:44:40 +0900 Subject: [PATCH 17/19] =?UTF-8?q?refactor:=20CI=20=EB=B9=8C=EB=93=9C?= =?UTF-8?q?=EB=A5=BC=20=EC=86=8C=EB=9E=80=EC=8A=A4=EB=9F=BD=EA=B2=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/Continuous Integration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Continuous Integration.yml b/.github/workflows/Continuous Integration.yml index 2fb5605..acf0987 100644 --- a/.github/workflows/Continuous Integration.yml +++ b/.github/workflows/Continuous Integration.yml @@ -32,4 +32,4 @@ jobs: uses: gradle/gradle-build-action@v2 - name: Execute Gradle build - run: ./gradlew build + run: ./gradlew build -d From 66e78ed8e89e3cd2123dc9c8bd86973b0cf7b2c3 Mon Sep 17 00:00:00 2001 From: WhitePiano Date: Tue, 23 Jan 2024 18:34:21 +0900 Subject: [PATCH 18/19] =?UTF-8?q?fix:=20mySQL=208.3.0=EA=B3=BC=20testconta?= =?UTF-8?q?iner=20=EC=84=A4=EC=A0=95=20=EC=B6=A9=EB=8F=8C=20=ED=95=B4?= =?UTF-8?q?=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/mysql-default-conf/my.cnf | 49 ++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 src/main/resources/mysql-default-conf/my.cnf diff --git a/src/main/resources/mysql-default-conf/my.cnf b/src/main/resources/mysql-default-conf/my.cnf new file mode 100644 index 0000000..ee758e8 --- /dev/null +++ b/src/main/resources/mysql-default-conf/my.cnf @@ -0,0 +1,49 @@ +[mysqld] +user = mysql +datadir = /var/lib/mysql +port = 3306 +#socket = /tmp/mysql.sock +skip-external-locking +key_buffer_size = 16K +max_allowed_packet = 1M +table_open_cache = 4 +sort_buffer_size = 64K +read_buffer_size = 256K +read_rnd_buffer_size = 256K +net_buffer_length = 2K +host_cache_size=0 +skip-name-resolve + +# Don't listen on a TCP/IP port at all. This can be a security enhancement, +# if all processes that need to connect to mysqld run on the same host. +# All interaction with mysqld must be made via Unix sockets or named pipes. +# Note that using this option without enabling named pipes on Windows +# (using the "enable-named-pipe" option) will render mysqld useless! +# +#skip-networking +#server-id = 1 + +# Uncomment the following if you want to log updates +#log-bin=mysql-bin + +# binary logging format - mixed recommended +#binlog_format=mixed + +# Causes updates to non-transactional engines using statement format to be +# written directly to binary log. Before using this option make sure that +# there are no dependencies between transactional and non-transactional +# tables such as in the statement INSERT INTO t_myisam SELECT * FROM +# t_innodb; otherwise, slaves may diverge from the master. +#binlog_direct_non_transactional_updates=TRUE + +# Uncomment the following if you are using InnoDB tables +innodb_data_file_path = ibdata1:10M:autoextend +# You can set .._buffer_pool_size up to 50 - 80 % +# of RAM but beware of setting memory usage too high +innodb_buffer_pool_size = 16M +#innodb_additional_mem_pool_size = 2M +# Set .._log_file_size to 25 % of buffer pool size +innodb_log_file_size = 5M +innodb_log_buffer_size = 8M +innodb_flush_log_at_trx_commit = 1 +innodb_lock_wait_timeout = 50 From d89036a76de5f34c7676aa0013cf4b4c65dbe3c8 Mon Sep 17 00:00:00 2001 From: WhitePiano Date: Tue, 23 Jan 2024 18:46:25 +0900 Subject: [PATCH 19/19] =?UTF-8?q?refactor:=20CI=EA=B0=80=20=EA=B0=84?= =?UTF-8?q?=EA=B2=B0=ED=95=98=EA=B2=8C=20logging=ED=95=98=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/Continuous Integration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Continuous Integration.yml b/.github/workflows/Continuous Integration.yml index acf0987..2fb5605 100644 --- a/.github/workflows/Continuous Integration.yml +++ b/.github/workflows/Continuous Integration.yml @@ -32,4 +32,4 @@ jobs: uses: gradle/gradle-build-action@v2 - name: Execute Gradle build - run: ./gradlew build -d + run: ./gradlew build