Skip to content

Commit e0c6266

Browse files
bhou2bhou
andauthored
bump spring_boot_version to 2.7.+ (#1193)
Co-authored-by: bhou <[email protected]>
1 parent 73aa7cc commit e0c6266

18 files changed

+1988
-1926
lines changed

.github/configure-mysql.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22
sudo apt-get install -y mysql-client
3-
mysql --host 127.0.0.1 --port 3306 -uroot -ppassword -e "SET GLOBAL innodb_file_format = barracuda; SET GLOBAL innodb_file_per_table = 'on'; SET GLOBAL innodb_file_per_table = 'on'; SET GLOBAL innodb_large_prefix = 'on'; show variables like '%innodb_file%';"
3+
mysql --host 127.0.0.1 --port 3306 -uroot -ppassword -e "SET GLOBAL innodb_file_per_table = 'on'; show variables like '%innodb_file%';"

.github/workflows/genie-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
services:
1515
postgres:
16-
image: postgres:9.6
16+
image: postgres:10
1717
env:
1818
POSTGRES_DB: genie
1919
POSTGRES_USER: postgres
@@ -22,7 +22,7 @@ jobs:
2222
- 5432:5432
2323
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
2424
mysql:
25-
image: mysql:5.7
25+
image: mysql:8.0
2626
env:
2727
MYSQL_ROOT_PASSWORD: password
2828
MYSQL_DATABASE: genie

genie-test-web/src/main/resources/application.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ spring:
111111
repositories:
112112
enabled: false
113113
datasource:
114-
url: jdbc:h2:mem:genie
114+
url: jdbc:h2:mem:genie;MODE=MySQL;DB_CLOSE_DELAY=-1;DATABASE_TO_LOWER=TRUE;CASE_INSENSITIVE_IDENTIFIERS=TRUE;NON_KEYWORDS=value,limit;
115115
username: root
116116
password:
117117
hikari:
@@ -137,6 +137,10 @@ spring:
137137
hibernate:
138138
jdbc:
139139
time_zone: UTC # SEE: https://moelholm.com/2016/11/09/spring-boot-controlling-timezones-with-hibernate/
140+
dialect: org.hibernate.dialect.MariaDBDialect
141+
test:
142+
database:
143+
replace: none
140144
servlet:
141145
multipart:
142146
max-file-size: 100MB

0 commit comments

Comments
 (0)