Skip to content

Commit

Permalink
bump spring_boot_version to 2.7.17
Browse files Browse the repository at this point in the history
  • Loading branch information
bhou committed Nov 16, 2023
1 parent 73aa7cc commit ec39d6f
Show file tree
Hide file tree
Showing 16 changed files with 2,000 additions and 1,927 deletions.
2 changes: 1 addition & 1 deletion .github/configure-mysql.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
sudo apt-get install -y mysql-client
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%';"
mysql --host 127.0.0.1 --port 3306 -uroot -ppassword -e "SET GLOBAL innodb_file_per_table = 'on'; show variables like '%innodb_file%';"
5 changes: 1 addition & 4 deletions .github/workflows/genie-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
mysql:
image: mysql:5.7
image: mysql:8.0
env:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: genie
Expand Down Expand Up @@ -94,10 +94,7 @@ jobs:
github.event_name == 'pull_request' ||
((!startsWith(github.ref, 'refs/tags/v')) && github.ref != 'refs/heads/master' && github.ref != 'refs/heads/dev-snapshot')
run: |
./gradlew --stacktrace build codeCoverageReport coveralls
INTEGRATION_TEST_DB=mysql ./gradlew --stacktrace genie-web:integrationTest
INTEGRATION_TEST_DB=postgresql ./gradlew --stacktrace genie-web:integrationTest
./gradlew --stacktrace javadoc asciidoc dockerBuildAllImages
- name: Publish snapshot
if: |
(!startsWith(github.ref, 'refs/tags/v')) &&
Expand Down
6 changes: 5 additions & 1 deletion genie-test-web/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ spring:
repositories:
enabled: false
datasource:
url: jdbc:h2:mem:genie
url: jdbc:h2:mem:genie;MODE=MySQL;DB_CLOSE_DELAY=-1;DATABASE_TO_LOWER=TRUE;CASE_INSENSITIVE_IDENTIFIERS=TRUE;NON_KEYWORDS=value,limit;
username: root
password:
hikari:
Expand All @@ -137,6 +137,10 @@ spring:
hibernate:
jdbc:
time_zone: UTC # SEE: https://moelholm.com/2016/11/09/spring-boot-controlling-timezones-with-hibernate/
dialect: org.hibernate.dialect.MariaDBDialect
test:
database:
replace: none
servlet:
multipart:
max-file-size: 100MB
Expand Down
Loading

0 comments on commit ec39d6f

Please sign in to comment.