Skip to content

Commit 5a04cce

Browse files
chore: upgrade flyway, upgrade postgres (#391)
* chore: upgrade flyway, upgrade postgres * chore: Bump platform version to 1.3.0-PR547-7ae42ac-GHRUN21672119195 (automated commit by gha run id 21672333115) --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 135982c commit 5a04cce

File tree

5 files changed

+17
-6
lines changed

5 files changed

+17
-6
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ARG GITLAB_MAVEN_REGISTRY_URL
44
WORKDIR /app
55
COPY . /app
66

7-
RUN ./gradlew clean -x test build
7+
RUN ./gradlew clean -x test build -PlocalRepo=/app/.m2/repository
88

99
FROM eclipse-temurin:21-jre AS backend
1010
COPY --from=build /app/cf-application/build/libs/*-all.jar /app.jar

build.gradle.kts

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,17 @@ subprojects {
2727
}
2828

2929
repositories {
30-
mavenLocal()
30+
val repoPath = project.findProperty("localRepo").toString()
31+
val repoFile = file(repoPath)
32+
if (repoFile.exists() && repoFile.isDirectory) {
33+
maven {
34+
url = repoFile.toURI()
35+
}
36+
println("Using validated local repo: ${repoFile.absolutePath}")
37+
} else {
38+
logger.warn("Custom repo path '$repoPath' is invalid. Falling back to default.")
39+
mavenLocal()
40+
}
3141
mavenCentral()
3242
maven {
3343
name = "Central Portal Snapshots"
@@ -61,7 +71,8 @@ subprojects {
6171
extra["springBootVersion"] = "3.3.3"
6272
extra["springCloudVersion"] = "2023.0.0"
6373
extra["jMoleculesVersion"] = "2023.1.0"
64-
extra["cfLobPlatformVersion"] = "1.3.0-PR509-dfde6a6-GHRUN21662557709"
74+
extra["flyway.version"] = "10.20.1"
75+
extra["cfLobPlatformVersion"] = "1.3.0-PR547-7ae42ac-GHRUN21672119195"
6576

6677
dependencies {
6778
compileOnly("org.projectlombok:lombok:1.18.32")

docker-compose-kafka-ssl.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
22

33
postgres:
4-
image: postgres:16.3
4+
image: postgres:17
55
environment:
66
- POSTGRES_USER=postgres
77
- POSTGRES_PASSWORD=postgres

docker-compose.db-only.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
22

33
postgres:
4-
image: postgres:16.3
4+
image: postgres:17
55
environment:
66
- POSTGRES_USER=postgres
77
- POSTGRES_PASSWORD=postgres

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ services:
1212

1313
postgres:
1414
restart: unless-stopped
15-
image: postgres:16.3
15+
image: postgres:17
1616
environment:
1717
- POSTGRES_USER=postgres
1818
- POSTGRES_PASSWORD=postgres

0 commit comments

Comments
 (0)