Spring Boot 3.5.16, testy backendu na PostgreSQL (Testcontainers)
Deploy Polska Lokalnie / deploy (push) Successful in 29s

- Spring Boot 3.3.5 -> 3.5.16 (linia 3.3 bez poprawek bezpieczenstwa).
- Testy zamiast H2 uzywaja tymczasowego PostgreSQL 16 (Testcontainers),
  tej samej wersji co produkcja; ddl-auto update jak na produkcji.
  Testcontainers 1.21 (z Boot 3.5) jest wymagany - 1.19 z Boot 3.3 nie
  dziala z obecnym Docker Desktop, dlatego obie zmiany w jednym commicie.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-09-23 17:31:03 +02:00
parent ad1d573e89
commit 008223f311
2 changed files with 12 additions and 8 deletions
+4 -3
View File
@@ -7,7 +7,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.3.5</version>
<version>3.5.16</version>
<relativePath/>
</parent>
@@ -64,9 +64,10 @@
<artifactId>postgresql</artifactId>
<scope>runtime</scope>
</dependency>
<!-- Testy na prawdziwym PostgreSQL (tymczasowy kontener), tak jak produkcja - bez emulacji H2. -->
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<groupId>org.testcontainers</groupId>
<artifactId>postgresql</artifactId>
<scope>test</scope>
</dependency>
<dependency>