This commit is contained in:
2026-04-28 02:31:41 +09:30
parent 3a9687fac4
commit 1682fda5e7
7 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -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
View File
@@ -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:**
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
View File
@@ -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