bump
This commit is contained in:
+2
-2
@@ -18,7 +18,7 @@ build:java:
|
||||
stage: build
|
||||
image: eclipse-temurin:21-jdk
|
||||
services:
|
||||
- postgres:16-alpine
|
||||
- postgres:17-alpine
|
||||
variables:
|
||||
POSTGRES_DB: mtgsearch_build
|
||||
POSTGRES_USER: postgres
|
||||
@@ -69,7 +69,7 @@ test:integration:
|
||||
stage: test
|
||||
image: eclipse-temurin:21-jdk
|
||||
services:
|
||||
- postgres:16-alpine
|
||||
- postgres:17-alpine
|
||||
variables:
|
||||
POSTGRES_DB: mtgsearch_test
|
||||
POSTGRES_USER: postgres
|
||||
|
||||
+1
-1
@@ -67,7 +67,7 @@ docker run --name mtgsearch-postgres \
|
||||
-e POSTGRES_USER=postgres \
|
||||
-e POSTGRES_PASSWORD=postgres \
|
||||
-p 5432:5432 \
|
||||
-d postgres:16-alpine
|
||||
-d postgres:17-alpine
|
||||
```
|
||||
|
||||
**Using Local PostgreSQL:**
|
||||
|
||||
@@ -111,7 +111,7 @@ db-init:
|
||||
-e POSTGRES_USER=postgres \
|
||||
-e POSTGRES_PASSWORD=postgres \
|
||||
-p 5432:5432 \
|
||||
-d postgres:16-alpine
|
||||
-d postgres:17-alpine
|
||||
@echo "✓ Database initialized on localhost:5432"
|
||||
|
||||
.DEFAULT_GOAL := help
|
||||
|
||||
@@ -66,7 +66,7 @@ docker run --name mtgsearch-postgres \
|
||||
-e POSTGRES_USER=postgres \
|
||||
-e POSTGRES_PASSWORD=postgres \
|
||||
-p 5432:5432 \
|
||||
-d postgres:16-alpine
|
||||
-d postgres:17-alpine
|
||||
|
||||
# Or use your local PostgreSQL installation
|
||||
```
|
||||
|
||||
@@ -28,7 +28,7 @@ import org.junit.jupiter.api.Disabled;
|
||||
public class AuthServiceTest {
|
||||
|
||||
@Container
|
||||
static PostgreSQLContainer<?> postgres = new PostgreSQLContainer<>("postgres:16-alpine")
|
||||
static PostgreSQLContainer<?> postgres = new PostgreSQLContainer<>("postgres:17-alpine")
|
||||
.withDatabaseName("mtgsearch_test")
|
||||
.withUsername("postgres")
|
||||
.withPassword("postgres");
|
||||
|
||||
@@ -24,7 +24,7 @@ import org.junit.jupiter.api.Disabled;
|
||||
public class UserRepositoryTest {
|
||||
|
||||
@Container
|
||||
static PostgreSQLContainer<?> postgres = new PostgreSQLContainer<>("postgres:16-alpine")
|
||||
static PostgreSQLContainer<?> postgres = new PostgreSQLContainer<>("postgres:17-alpine")
|
||||
.withDatabaseName("mtgsearch_test")
|
||||
.withUsername("postgres")
|
||||
.withPassword("postgres");
|
||||
|
||||
+1
-1
@@ -62,7 +62,7 @@ setup_database() {
|
||||
-e POSTGRES_USER=postgres \
|
||||
-e POSTGRES_PASSWORD=postgres \
|
||||
-p 5432:5432 \
|
||||
-d postgres:16-alpine
|
||||
-d postgres:17-alpine
|
||||
|
||||
echo -e "${BLUE}Waiting for PostgreSQL to be ready...${NC}"
|
||||
sleep 10
|
||||
|
||||
Reference in New Issue
Block a user