change ci cd pipeline
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
dmitriy.churmeev
2026-03-13 13:13:11 +03:00
parent 19142cf391
commit 8c11b695d6
2 changed files with 16 additions and 10 deletions

View File

@@ -22,7 +22,13 @@ repositories {
} }
dependencies { dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web' implementation ('org.springframework.boot:spring-boot-starter-web') {
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-tomcat'
}
implementation 'org.springframework.boot:spring-boot-starter-undertow'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'com.fasterxml.jackson.module:jackson-module-kotlin' implementation 'com.fasterxml.jackson.module:jackson-module-kotlin'
implementation 'org.jetbrains.kotlin:kotlin-reflect' implementation 'org.jetbrains.kotlin:kotlin-reflect'
implementation("org.springframework.boot:spring-boot-starter-actuator:3.5.7") implementation("org.springframework.boot:spring-boot-starter-actuator:3.5.7")

View File

@@ -4,31 +4,31 @@ spring:
application: application:
name: app name: app
# ??????????? ??????????? ? ???? ?????? security:
user:
name: admin
password: pass
# Datasource
datasource: datasource:
url: jdbc:postgresql://postgres.my-spring-app-6b948f469d-gdw6q.svc.cluster.local:5432/app_db url: jdbc:postgresql://postgres.my-spring-app-6b948f469d-gdw6q.svc.cluster.local:5432/app_db
username: postgres username: postgres
password: postgres password: postgres
driver-class-name: org.postgresql.Driver driver-class-name: org.postgresql.Driver
# ????????? JPA # JPA
jpa: jpa:
hibernate: hibernate:
# ????????????? ???????/????????? ????? ???? ?????? (????? ?? ???????????? ? ?????) ddl-auto: validate
ddl-auto: validate # ????????: none, validate, update, create, create-drop
# ???????? ??????????? SQL-???????? (???????????)
show-sql: true show-sql: true
# ?????????????? SQL ? ?????
properties: properties:
hibernate: hibernate:
format_sql: true format_sql: true
database: postgresql database: postgresql
database-platform: org.hibernate.dialect.PostgreSQLDialect database-platform: org.hibernate.dialect.PostgreSQLDialect
# ????????? Flyway # Flyway
flyway: flyway:
enabled: true enabled: true
# ???? ? ????????? (?? ?????????: classpath:db/migration)
locations: classpath:db/migration locations: classpath:db/migration
# ????????? ???????? ??? ?????? ??????????
baseline-on-migrate: true baseline-on-migrate: true