Skip to content

Commit

Permalink
fix(ci): add flyway plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
lwih committed May 31, 2024
1 parent 2dc24db commit 55359c6
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ variables:
value: "postgres:15.7-alpine"
description: "Image de la base de données"
PROJECT_VERSION:
value: "1.3.0"
value: "1.4.0"
description: "Version du projet à déployer"
SERVER_ENV_INT:
value: "int-rapportnav-appli01"
Expand Down
10 changes: 6 additions & 4 deletions backend/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import java.lang.System.getenv

group = "fr.gouv.dgampa"
version = "1.3.0"
version = "1.4.0"
description = "RapportNav"

val kotlinVersion by extra("1.9.24")
val serializationVersion by extra("1.6.2")
val springVersion by extra("3.3.0")
val testcontainersVersion by extra("1.19.3")
val flywayVersion by extra("10.13.0")

plugins {
`java-library`
Expand All @@ -19,6 +20,7 @@ plugins {
id("org.springframework.boot") version "3.3.0"
id("io.spring.dependency-management") version "1.1.4"
id("org.owasp.dependencycheck") version "8.4.0"
id("org.flywaydb.flyway") version "10.13.0"
}

springBoot {
Expand Down Expand Up @@ -49,7 +51,7 @@ dependencyManagement {

dependencies {
developmentOnly("org.springframework.boot:spring-boot-devtools")
runtimeOnly("org.postgresql:postgresql:42.7.2")
runtimeOnly("org.postgresql:postgresql:42.7.3")
implementation("org.springframework.boot:spring-boot-starter-data-jpa:$springVersion")
implementation("org.springframework.boot:spring-boot-starter-data-rest:$springVersion")
implementation("org.springframework.boot:spring-boot-starter-web:$springVersion")
Expand All @@ -61,8 +63,8 @@ dependencies {
implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
implementation("org.jetbrains.kotlin:kotlin-reflect")
implementation("org.jetbrains.kotlin:kotlin-stdlib")
implementation("org.flywaydb:flyway-core:10.13.0")
implementation("org.flywaydb:flyway-database-postgresql:10.13.0")
implementation("org.flywaydb:flyway-core:$flywayVersion")
implementation("org.flywaydb:flyway-database-postgresql:$flywayVersion")
implementation("org.n52.jackson:jackson-datatype-jts:1.2.10") {
exclude(group = "org.locationtech.jts", module = "jts-core")
}
Expand Down
4 changes: 2 additions & 2 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "frontend",
"version": "1.3.0",
"version": "1.4.0",
"private": true,
"type": "module",
"engines": {
Expand Down

0 comments on commit 55359c6

Please sign in to comment.