Skip to content

Commit e9ffd8b

Browse files
committed
ci/cd
1 parent b6b01b6 commit e9ffd8b

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,4 @@ jobs:
9090
$IMAGE
9191
9292
echo "== PRUNE =="
93-
docker image prune -f
93+
docker image prune -f

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ jobs:
2323
run: ./gradlew ktlintCheck
2424

2525
- name: Run Tests
26-
run: ./gradlew test
26+
run: ./gradlew test

compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
mysql:
3-
image: 'mysql:latest'
3+
image: 'mysql:8.0'
44
environment:
55
- 'MYSQL_DATABASE=mydatabase'
66
- 'MYSQL_PASSWORD=secret'
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
spring.application.name=23-5-team2-server
22

33
# Database Connection
4-
spring.datasource.url=jdbc:mysql://localhost:3306/${DB_NAME:mydatabase}
4+
spring.datasource.url=jdbc:mysql:8.0://localhost:3306/${DB_NAME:mydatabase}
55
spring.datasource.username=${DB_USER:user}
66
spring.datasource.password=${DB_PASSWORD:secret}
77
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
@@ -10,5 +10,3 @@ spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
1010
spring.flyway.enabled=true
1111
# Important: Flyway needs to find your migration scripts here
1212
spring.flyway.locations=classpath:db/migration
13-
spring.flyway.default-schema=${DB_NAME:mydatabase}
14-
spring.datasource.hikari.schema=${DB_NAME:mydatabase}

0 commit comments

Comments
 (0)